Fission FSN
Loading...
Searching...
No Matches
gfISimpleCutterComponent Class Reference

#include <gfISimpleCutterComponent.h>

Inheritance diagram for gfISimpleCutterComponent:

Static Public Attributes

static const fsCUniqueId mTypeId
Static Public Attributes inherited from gfICutterComponent
static const fsCUniqueId mTypeId

Protected Member Functions

 gfISimpleCutterComponent (fsCEntity *pParent)
 ~gfISimpleCutterComponent () override
void simpleCutterSetup (const fsCVariableTable &pStyle, const fsStr &pLevelName)
Protected Member Functions inherited from gfICutterComponent
void deserialiseDo () override
void serialiseDo () override
virtual void doCut (fsCEntity *pEnt, gfIStencil *pStencil, fsBool pFirstTime)=0
virtual fsStr minigamePieceNameGet () const =0
virtual gfIStencil *const stencilRestore ()=0
 gfICutterComponent (fsCEntity *pParent)
virtual ~gfICutterComponent ()
virtual void doSetup (const fsCVariableTable &pStyle, const fsStr &pLevelName)
void setup (const fsCVariableTable &pStyle, const fsStr &pLevelName, const fsStr &pAutoMiniGameSourceArt)
fsPoint originLayerOffsetReconcile (fsCEntity *pPieceParent)
void layerPositionBakeIntoGrid (fsCEntity *pLayerEntity)
fsStr pieceNameGet (fsS32 pRow, fsS32 pCol) const
Protected Member Functions inherited from fsIComponent
virtual void resetDo ()
virtual void updateDo (fsS32 pDeltaMs)
virtual void renderDo ()
virtual void matrixApplyDo ()
virtual void postLoadDo ()
virtual void initialiseFromVariableTableDo (const fsCVariableTable &pVars)
virtual void initialiseDo ()
virtual void finaliseDo ()
virtual ~fsIComponent ()
 fsIComponent (fsCEntity *pParent)

Protected Attributes

std::shared_ptr< fsCBrush > mStencilTexture
Protected Attributes inherited from gfICutterComponent
std::vector< gfIStencil * > mStencils
std::vector< fsCEntity * > mMinigameEnts
std::shared_ptr< fsCBrush > mSourceImage
fsS32 mPieceWidth
fsS32 mPieceHeight
fsS32 mCols
fsS32 mRows
fsPoint mGridOrigin
fsBool mLayerPositionBaked
fsCEntity * mSceneRoot
fsCEntity * mMinigameLogic

Additional Inherited Members

Public Member Functions inherited from gfICutterComponent
virtual void cut (fsBool pFirstTime)
virtual void stencilsCreate ()
virtual void minigameEntitiesCreate (const fsCVariableTable &pStyle, const fsStr &pLevelName, fsCEntity *pParent, const fsStr &pAutoMiniGameSourceArt, gfIMinigameLogic *pMingameLogic)
Public Member Functions inherited from fsIComponent
template<typename TInterface>
std::vector< fsCEntity * > appSceneEntitiesWithComponentOfFamilyType () const
template<typename TInterface>
fsCEntity * appSceneFirstEntityWithComponentOfFamilyType () const
fsCEntity * appSceneEntityNamed (const fsStr &pName) const
void reset ()
void update (fsS32 pDeltaMs)
void render ()
void matrixApply ()
void postLoad ()
void deserialise ()
void serialise ()
void initialiseFromVariableTable (const fsCVariableTable &pVars)
void initialise ()
void finalise ()
fsCEntity * parentGet () const
fsCEntity * grandparentGet () const
Static Public Member Functions inherited from gfICutterComponent
static fsStr sourceImageFilenameGet (const fsStr &pLevelFolder, const fsStr &pLayerNameSansPrefix)

Constructor & Destructor Documentation

◆ gfISimpleCutterComponent()

gfISimpleCutterComponent::gfISimpleCutterComponent ( fsCEntity * pParent)
protected

◆ ~gfISimpleCutterComponent()

gfISimpleCutterComponent::~gfISimpleCutterComponent ( )
overrideprotected

Member Function Documentation

◆ simpleCutterSetup()

void gfISimpleCutterComponent::simpleCutterSetup ( const fsCVariableTable & pStyle,
const fsStr & pLevelName )
protected

Member Data Documentation

◆ mStencilTexture

std::shared_ptr<fsCBrush> gfISimpleCutterComponent::mStencilTexture
protected

◆ mTypeId

const fsCUniqueId gfISimpleCutterComponent::mTypeId
static

The documentation for this class was generated from the following files: