1#ifndef GAME_EDITOR_AUTO_MAP_H
2#define GAME_EDITOR_AUTO_MAP_H
62 void Load(
const char *pTileName);
63 void ProceedLocalized(
class CLayerTiles *pLayer,
int ConfigId,
int Seed = 0,
int X = 0,
int Y = 0,
int Width = -1,
int Height = -1);
64 void Proceed(
class CLayerTiles *pLayer,
int ConfigId,
int Seed = 0,
int SeedOffsetX = 0,
int SeedOffsetY = 0);
std::vector< CConfiguration > m_vConfigs
Definition: auto_map.h:72
bool IsLoaded() const
Definition: auto_map.h:69
bool m_FileLoaded
Definition: auto_map.h:73
void ProceedLocalized(class CLayerTiles *pLayer, int ConfigId, int Seed=0, int X=0, int Y=0, int Width=-1, int Height=-1)
Definition: auto_map.cpp:400
int ConfigNamesNum() const
Definition: auto_map.h:66
void Proceed(class CLayerTiles *pLayer, int ConfigId, int Seed=0, int SeedOffsetX=0, int SeedOffsetY=0)
Definition: auto_map.cpp:454
const char * GetConfigName(int Index)
Definition: auto_map.cpp:392
CAutoMapper(CEditor *pEditor)
Definition: auto_map.cpp:43
void Load(const char *pTileName)
Definition: auto_map.cpp:48
Definition: component.h:9
Definition: layer_tiles.h:35
Definition: auto_map.h:50
int m_EndX
Definition: auto_map.h:55
std::vector< CRun > m_vRuns
Definition: auto_map.h:51
char m_aName[128]
Definition: auto_map.h:52
int m_StartX
Definition: auto_map.h:53
int m_EndY
Definition: auto_map.h:56
int m_StartY
Definition: auto_map.h:54
Definition: auto_map.h:11
bool m_TestFlag
Definition: auto_map.h:14
int m_Id
Definition: auto_map.h:12
int m_Flag
Definition: auto_map.h:13
Definition: auto_map.h:33
float m_RandomProbability
Definition: auto_map.h:37
std::vector< CPosRule > m_vRules
Definition: auto_map.h:35
bool m_DefaultRule
Definition: auto_map.h:38
int m_Id
Definition: auto_map.h:34
int m_Flag
Definition: auto_map.h:36
bool m_SkipFull
Definition: auto_map.h:40
bool m_SkipEmpty
Definition: auto_map.h:39
Definition: auto_map.h:18
int m_X
Definition: auto_map.h:19
int m_Value
Definition: auto_map.h:21
int m_Y
Definition: auto_map.h:20
@ INDEX
Definition: auto_map.h:27
@ NORULE
Definition: auto_map.h:26
@ NOTINDEX
Definition: auto_map.h:28
std::vector< CIndexInfo > m_vIndexList
Definition: auto_map.h:22
Definition: auto_map.h:44
bool m_AutomapCopy
Definition: auto_map.h:46
std::vector< CIndexRule > m_vIndexRules
Definition: auto_map.h:45