10#ifndef gfICutterComponenthdr
11#define gfICutterComponenthdr
84 static const fsStr mStencilChunkMarker;
85 static const fsStr mStencilMarker;
Definition fsCEntity.h:39
Definition fsCUniqueId.h:21
Definition fsCVariableTable.h:27
fsIComponent(fsCEntity *pParent)
Definition fsIComponent.cpp:86
fsS32 mRows
Definition gfICutterComponent.h:75
virtual void minigameEntitiesCreate(const fsCVariableTable &pStyle, const fsStr &pLevelName, fsCEntity *pParent, const fsStr &pAutoMiniGameSourceArt, gfIMinigameLogic *pMingameLogic)
Definition gfICutterComponent.cpp:79
std::vector< fsCEntity * > mMinigameEnts
Definition gfICutterComponent.h:67
fsS32 mPieceWidth
Definition gfICutterComponent.h:71
virtual void stencilsCreate()
Definition gfICutterComponent.h:37
virtual fsStr minigamePieceNameGet() const =0
void deserialiseDo() override
Definition gfICutterComponent.cpp:69
virtual ~gfICutterComponent()
Definition gfICutterComponent.cpp:229
fsPoint originLayerOffsetReconcile(fsCEntity *pPieceParent)
Definition gfICutterComponent.cpp:191
fsPoint mGridOrigin
Definition gfICutterComponent.h:77
void setup(const fsCVariableTable &pStyle, const fsStr &pLevelName, const fsStr &pAutoMiniGameSourceArt)
Definition gfICutterComponent.cpp:164
virtual void cut(fsBool pFirstTime)
Definition gfICutterComponent.cpp:32
virtual void doCut(fsCEntity *pEnt, gfIStencil *pStencil, fsBool pFirstTime)=0
fsCEntity * mSceneRoot
Definition gfICutterComponent.h:79
static fsStr sourceImageFilenameGet(const fsStr &pLevelFolder, const fsStr &pLayerNameSansPrefix)
Definition gfICutterComponent.cpp:126
gfICutterComponent(fsCEntity *pParent)
Definition gfICutterComponent.cpp:217
fsStr pieceNameGet(fsS32 pRow, fsS32 pCol) const
Definition gfICutterComponent.cpp:211
virtual gfIStencil *const stencilRestore()=0
fsS32 mCols
Definition gfICutterComponent.h:74
fsS32 mPieceHeight
Definition gfICutterComponent.h:72
std::vector< gfIStencil * > mStencils
Definition gfICutterComponent.h:66
std::shared_ptr< fsCBrush > mSourceImage
Definition gfICutterComponent.h:69
void serialiseDo() override
Definition gfICutterComponent.cpp:52
fsCEntity * mMinigameLogic
Definition gfICutterComponent.h:80
virtual void doSetup(const fsCVariableTable &pStyle, const fsStr &pLevelName)
Definition gfICutterComponent.h:56
static const fsCUniqueId mTypeId
Definition gfICutterComponent.h:31
Definition gfIMinigameLogic.h:16
Definition gfIStencil.h:22
bool fsBool
Definition fsBaseTypes.h:26
int fsS32
Definition fsBaseTypes.h:20