1#ifndef GAME_EDITOR_MAPITEMS_LAYER_GROUP_H
2#define GAME_EDITOR_MAPITEMS_LAYER_GROUP_H
39 void Mapping(
float *pPoints)
const;
41 void GetSize(
float *pWidth,
float *pHeight)
const;
57 void AddLayer(
const std::shared_ptr<CLayer> &pLayer);
62 pLayer->ModifyImageIndex(Func);
68 pLayer->ModifyEnvelopeIndex(Func);
74 pLayer->ModifySoundIndex(Func);
Definition: layer_group.h:10
CLayerGroup()
Definition: layer_group.cpp:6
void AddLayer(const std::shared_ptr< CLayer > &pLayer)
Definition: layer_group.cpp:108
void DuplicateLayer(int Index)
Definition: layer_group.cpp:122
char m_aName[12]
Definition: layer_group.h:28
void Clear()
Definition: layer_group.h:52
void Convert(CUIRect *pRect) const
Definition: layer_group.cpp:30
int SwapLayers(int Index0, int Index1)
Definition: layer_group.cpp:146
void GetSize(float *pWidth, float *pHeight) const
Definition: layer_group.cpp:133
bool m_GameGroup
Definition: layer_group.h:29
class CEditorMap * m_pMap
Definition: layer_group.h:12
int m_OffsetY
Definition: layer_group.h:17
void ModifyEnvelopeIndex(FIndexModifyFunction Func)
Definition: layer_group.h:65
int m_ClipX
Definition: layer_group.h:23
~CLayerGroup()
Definition: layer_group.cpp:25
void ModifyImageIndex(FIndexModifyFunction Func)
Definition: layer_group.h:59
bool m_Visible
Definition: layer_group.h:30
bool m_Collapse
Definition: layer_group.h:31
void MapScreen() const
Definition: layer_group.cpp:52
int m_OffsetX
Definition: layer_group.h:16
void Render()
Definition: layer_group.cpp:59
int m_UseClipping
Definition: layer_group.h:22
std::vector< std::shared_ptr< CLayer > > m_vpLayers
Definition: layer_group.h:14
void ModifySoundIndex(FIndexModifyFunction Func)
Definition: layer_group.h:71
int m_ClipH
Definition: layer_group.h:26
void DeleteLayer(int Index)
Definition: layer_group.cpp:114
bool IsEmpty() const
Definition: layer_group.h:47
int m_ParallaxX
Definition: layer_group.h:19
int m_ClipY
Definition: layer_group.h:24
int m_ParallaxY
Definition: layer_group.h:20
void Mapping(float *pPoints) const
Definition: layer_group.cpp:36
int m_ClipW
Definition: layer_group.h:25
std::function< void(int *pIndex)> FIndexModifyFunction
Definition: editor.h:52