|
Fission FSN
|
#include <gfCParkLevelComponent.h>

Public Member Functions | |
| void | levelCreate (const fsStr &pLevelName, fsBool pResume) |
| fsS32 | dayRemainingMsGet () const |
| fsS32 | dayIndexGet () const |
| fsBool | finalDayGet () const |
| const gfCParkDaySim * | simGet () const |
| gfCParkDaySim * | simGet () |
| void | dayAdvance () |
| void | progressSave () const |
| void | progressPersist () |
| void | slotPurchasedRecord (const fsStr &pSlotName, fsS32 pServiceTimeMs, fsS32 pMaxQueueLength, const fsStr &pBuildingImage, fsS32 pVisitorQuota=0, fsS32 pVisitorAppeal=0) |
| void | staffHiredRecord (const fsStr &pStaffType, fsS32 pWage) |
| void | decorationPlacedRecord (const fsStr &pImage, fsS32 pDrawWidth, fsS32 pFootprintColumns, fsS32 pFootprintRows, fsS32 pLocalX, fsS32 pLocalY, fsS32 pVisitorAppeal=0, fsS32 pVisitorComfort=0) |
| fsBool | serviceBuildingPlace (fsNTileMap::fsCView *pView, const fsStr &pImage, const fsStr &pServiceType, fsS32 pServiceTimeMs, fsS32 pMaxQueueLength, fsS32 pVisitorQuota, fsS32 pVisitorAppeal, fsS32 pDrawWidth, fsS32 pFootprintColumns, fsS32 pFootprintRows, fsS32 pLocalX, fsS32 pLocalY) |
| fsBool | runtimeSlotPositionGet (const fsStr &pSlotName, fsVec2d &pOut) const |
| fsBool | runtimeSlotGetByIndex (fsS32 pIndex, fsStr &pNameOut, fsVec2d &pPositionOut) const |
| fsBool | parkPlacementValid (fsNTileMap::fsCView *pView, fsS32 pLocalX, fsS32 pLocalY, fsS32 pFootprintColumns, fsS32 pFootprintRows) const |
| fsBool | cellForestGet (fsNTileMap::fsCView *pView, fsS32 pCol, fsS32 pRow) const |
| fsBool | cellWalkableGet (fsNTileMap::fsCView *pView, fsS32 pCol, fsS32 pRow) const |
| fsPoint | cellFromLocal (fsNTileMap::fsCView *pView, const fsVec2d &pLocal) const |
| fsVec2d | cellCentreLocal (fsNTileMap::fsCView *pView, fsS32 pCol, fsS32 pRow) const |
| std::vector< fsPoint > | pathFindCells (fsNTileMap::fsCView *pView, const fsPoint &pFrom, const fsPoint &pTo) const |
| fsPoint | nearestWalkableCell (fsNTileMap::fsCView *pView, const fsPoint &pCell) const |
| fsPoint | nearestReachableCell (fsNTileMap::fsCView *pView, const fsPoint &pFrom, const fsPoint &pDesired) const |
| fsS32 | forestClearCostGet () const |
| fsBool | forestClearAt (fsNTileMap::fsCView *pView, fsS32 pCol, fsS32 pRow) |
| fsS32 | dailyWagesGet () const |
| fsS32 | lastDayWagesGet () const |
| fsS32 | parkReputationGet () const |
| fsBool | repairArmedGet () const |
| void | repairArmedSet (fsBool pArmed) |
| void | staffDeployedRecord (const fsStr &pSlotName) |
| void | staffRecalledRecord (const fsStr &pSlotName) |
| virtual | ~gfCParkLevelComponent () |
| 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 | |
| static fsCEntity * | decorationPresentationPlace (fsNTileMap::fsCView *pView, const fsStr &pImage, fsS32 pDrawWidth, fsS32 pLocalX, fsS32 pLocalY) |
| static fsCEntity * | serviceBuildingPresentationPlace (fsNTileMap::fsCView *pView, const fsStr &pSlotName, const fsStr &pImage, fsS32 pDrawWidth, fsS32 pLocalX, fsS32 pLocalY) |
Static Public Attributes | |
| static const fsCUniqueId | mTypeId |
| static const fsS32 | mNumDays = 5 |
Protected Member Functions | |
| void | updateDo (fsS32 pDeltaMs) override |
| void | listenersRegisterDo () override |
| void | listenersDeregisterDo () override |
| fsBool | messageProcessDo (const fsCUniqueId &pMessageType, const fsIMessageDispatcher::sMessageParameters &pParam) override |
| gfCParkLevelComponent (fsCEntity *const pParent) | |
| Protected Member Functions inherited from fsIComponent | |
| virtual void | resetDo () |
| virtual void | renderDo () |
| virtual void | matrixApplyDo () |
| virtual void | postLoadDo () |
| virtual void | deserialiseDo () |
| virtual void | serialiseDo () |
| virtual void | initialiseFromVariableTableDo (const fsCVariableTable &pVars) |
| virtual void | initialiseDo () |
| virtual void | finaliseDo () |
| virtual | ~fsIComponent () |
| fsIComponent (fsCEntity *pParent) | |
Static Protected Member Functions | |
| static fsIComponent *const | create (fsCEntity *const pParent) |
Friends | |
| class | fsCComponentFactory |
Additional Inherited Members |
|
virtual |
|
protected |
| fsVec2d gfCParkLevelComponent::cellCentreLocal | ( | fsNTileMap::fsCView * | pView, |
| fsS32 | pCol, | ||
| fsS32 | pRow ) const |
| fsBool gfCParkLevelComponent::cellForestGet | ( | fsNTileMap::fsCView * | pView, |
| fsS32 | pCol, | ||
| fsS32 | pRow ) const |
| fsPoint gfCParkLevelComponent::cellFromLocal | ( | fsNTileMap::fsCView * | pView, |
| const fsVec2d & | pLocal ) const |
| fsBool gfCParkLevelComponent::cellWalkableGet | ( | fsNTileMap::fsCView * | pView, |
| fsS32 | pCol, | ||
| fsS32 | pRow ) const |
|
staticprotected |
| fsS32 gfCParkLevelComponent::dailyWagesGet | ( | ) | const |
| void gfCParkLevelComponent::dayAdvance | ( | ) |
|
inline |
|
inline |
| void gfCParkLevelComponent::decorationPlacedRecord | ( | const fsStr & | pImage, |
| fsS32 | pDrawWidth, | ||
| fsS32 | pFootprintColumns, | ||
| fsS32 | pFootprintRows, | ||
| fsS32 | pLocalX, | ||
| fsS32 | pLocalY, | ||
| fsS32 | pVisitorAppeal = 0, | ||
| fsS32 | pVisitorComfort = 0 ) |
|
static |
|
inline |
| fsBool gfCParkLevelComponent::forestClearAt | ( | fsNTileMap::fsCView * | pView, |
| fsS32 | pCol, | ||
| fsS32 | pRow ) |
| fsS32 gfCParkLevelComponent::forestClearCostGet | ( | ) | const |
|
inline |
|
overrideprotectedvirtual |
Implements fsIMessageListener.
|
overrideprotectedvirtual |
Implements fsIMessageListener.
|
overrideprotectedvirtual |
Implements fsIMessageListener.
| fsPoint gfCParkLevelComponent::nearestReachableCell | ( | fsNTileMap::fsCView * | pView, |
| const fsPoint & | pFrom, | ||
| const fsPoint & | pDesired ) const |
| fsPoint gfCParkLevelComponent::nearestWalkableCell | ( | fsNTileMap::fsCView * | pView, |
| const fsPoint & | pCell ) const |
| fsBool gfCParkLevelComponent::parkPlacementValid | ( | fsNTileMap::fsCView * | pView, |
| fsS32 | pLocalX, | ||
| fsS32 | pLocalY, | ||
| fsS32 | pFootprintColumns, | ||
| fsS32 | pFootprintRows ) const |
|
inline |
| std::vector< fsPoint > gfCParkLevelComponent::pathFindCells | ( | fsNTileMap::fsCView * | pView, |
| const fsPoint & | pFrom, | ||
| const fsPoint & | pTo ) const |
| void gfCParkLevelComponent::progressPersist | ( | ) |
| void gfCParkLevelComponent::progressSave | ( | ) | const |
|
inline |
|
inline |
| fsBool gfCParkLevelComponent::runtimeSlotGetByIndex | ( | fsS32 | pIndex, |
| fsStr & | pNameOut, | ||
| fsVec2d & | pPositionOut ) const |
| fsBool gfCParkLevelComponent::runtimeSlotPositionGet | ( | const fsStr & | pSlotName, |
| fsVec2d & | pOut ) const |
| fsBool gfCParkLevelComponent::serviceBuildingPlace | ( | fsNTileMap::fsCView * | pView, |
| const fsStr & | pImage, | ||
| const fsStr & | pServiceType, | ||
| fsS32 | pServiceTimeMs, | ||
| fsS32 | pMaxQueueLength, | ||
| fsS32 | pVisitorQuota, | ||
| fsS32 | pVisitorAppeal, | ||
| fsS32 | pDrawWidth, | ||
| fsS32 | pFootprintColumns, | ||
| fsS32 | pFootprintRows, | ||
| fsS32 | pLocalX, | ||
| fsS32 | pLocalY ) |
|
static |
|
inline |
|
inline |
| void gfCParkLevelComponent::slotPurchasedRecord | ( | const fsStr & | pSlotName, |
| fsS32 | pServiceTimeMs, | ||
| fsS32 | pMaxQueueLength, | ||
| const fsStr & | pBuildingImage, | ||
| fsS32 | pVisitorQuota = 0, | ||
| fsS32 | pVisitorAppeal = 0 ) |
| void gfCParkLevelComponent::staffDeployedRecord | ( | const fsStr & | pSlotName | ) |
| void gfCParkLevelComponent::staffRecalledRecord | ( | const fsStr & | pSlotName | ) |
|
overrideprotectedvirtual |
Reimplemented from fsIComponent.
|
friend |
|
static |
|
static |