Fission FSN
Loading...
Searching...
No Matches
gfICutterComponent Class Referenceabstract

#include <gfICutterComponent.h>

Inheritance diagram for gfICutterComponent:

Public Member Functions

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>
fsCEntityappSceneFirstEntityWithComponentOfFamilyType () const
fsCEntityappSceneEntityNamed (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 ()
fsCEntityparentGet () const
fsCEntitygrandparentGet () const

Static Public Member Functions

static fsStr sourceImageFilenameGet (const fsStr &pLevelFolder, const fsStr &pLayerNameSansPrefix)

Static Public Attributes

static const fsCUniqueId mTypeId

Protected Member Functions

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)
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::vector< gfIStencil * > mStencils
std::vector< fsCEntity * > mMinigameEnts
std::shared_ptr< fsCBrushmSourceImage
fsS32 mPieceWidth
fsS32 mPieceHeight
fsS32 mCols
fsS32 mRows
fsPoint mGridOrigin
fsCEntitymSceneRoot
fsCEntitymMinigameLogic

Constructor & Destructor Documentation

◆ gfICutterComponent()

gfICutterComponent::gfICutterComponent ( fsCEntity * pParent)
protected

◆ ~gfICutterComponent()

gfICutterComponent::~gfICutterComponent ( )
protectedvirtual

Member Function Documentation

◆ cut()

void gfICutterComponent::cut ( fsBool pFirstTime)
virtual

◆ deserialiseDo()

void gfICutterComponent::deserialiseDo ( )
overrideprotectedvirtual

Reimplemented from fsIComponent.

◆ doCut()

virtual void gfICutterComponent::doCut ( fsCEntity * pEnt,
gfIStencil * pStencil,
fsBool pFirstTime )
protectedpure virtual

◆ doSetup()

virtual void gfICutterComponent::doSetup ( const fsCVariableTable & pStyle,
const fsStr & pLevelName )
inlineprotectedvirtual

◆ minigameEntitiesCreate()

void gfICutterComponent::minigameEntitiesCreate ( const fsCVariableTable & pStyle,
const fsStr & pLevelName,
fsCEntity * pParent,
const fsStr & pAutoMiniGameSourceArt,
gfIMinigameLogic * pMingameLogic )
virtual

Reimplemented in gfCRotateCutterComponent.

◆ minigamePieceNameGet()

virtual fsStr gfICutterComponent::minigamePieceNameGet ( ) const
protectedpure virtual

◆ originLayerOffsetReconcile()

fsPoint gfICutterComponent::originLayerOffsetReconcile ( fsCEntity * pPieceParent)
protected

◆ pieceNameGet()

fsStr gfICutterComponent::pieceNameGet ( fsS32 pRow,
fsS32 pCol ) const
protected

◆ serialiseDo()

void gfICutterComponent::serialiseDo ( )
overrideprotectedvirtual

Reimplemented from fsIComponent.

◆ setup()

void gfICutterComponent::setup ( const fsCVariableTable & pStyle,
const fsStr & pLevelName,
const fsStr & pAutoMiniGameSourceArt )
protected

◆ sourceImageFilenameGet()

fsStr gfICutterComponent::sourceImageFilenameGet ( const fsStr & pLevelFolder,
const fsStr & pLayerNameSansPrefix )
static

◆ stencilRestore()

virtual gfIStencil *const gfICutterComponent::stencilRestore ( )
protectedpure virtual

◆ stencilsCreate()

virtual void gfICutterComponent::stencilsCreate ( )
inlinevirtual

Member Data Documentation

◆ mCols

fsS32 gfICutterComponent::mCols
protected

◆ mGridOrigin

fsPoint gfICutterComponent::mGridOrigin
protected

◆ mMinigameEnts

std::vector<fsCEntity*> gfICutterComponent::mMinigameEnts
protected

◆ mMinigameLogic

fsCEntity* gfICutterComponent::mMinigameLogic
protected

◆ mPieceHeight

fsS32 gfICutterComponent::mPieceHeight
protected

◆ mPieceWidth

fsS32 gfICutterComponent::mPieceWidth
protected

◆ mRows

fsS32 gfICutterComponent::mRows
protected

◆ mSceneRoot

fsCEntity* gfICutterComponent::mSceneRoot
protected

◆ mSourceImage

std::shared_ptr<fsCBrush> gfICutterComponent::mSourceImage
protected

◆ mStencils

std::vector<gfIStencil*> gfICutterComponent::mStencils
protected

◆ mTypeId

const fsCUniqueId gfICutterComponent::mTypeId
static

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