Fission FSN
Loading...
Searching...
No Matches
gfCHogLevelComponent.h
Go to the documentation of this file.
1/********************************************************************
2*
3* File: fsCHogLevel.h
4*
5* Purpose: Create and control game entities.
6*
7*********************************************************************/
8
9#ifndef gfCHogLevelhdr
10#define gfCHogLevelhdr
11
12#include <vector>
13
14#include <fsCore/fsStr.h>
15#include <fsCore/fsPoint.h>
16
17#include "../gfIHogLevel.h"
20
22class fsRect;
23
24
26{
27 friend class fsCComponentFactory;
28
29public:
30
31 static const fsCUniqueId mTypeId;
32
34
35protected:
36
37 static fsIComponent* create(fsCEntity* pParent);
38
39 void lastLevelSkipDo() override;
40 fsBool devCheatKeyTestDo(fsS32 pTypedChar) override;
41
43 ~gfCHogLevelComponent() override;
44
45private:
46
47 enum eDebugRenderEffect
48 {
49 eDEBUG_RENDER_EFFECT_NONE,
50 eDEBUG_RENDER_EFFECT_MAGNIFY,
51 eDEBUG_RENDER_EFFECT_TORCH
52 };
53
54 void renderEffectApply(eDebugRenderEffect pEffect);
55 void debugRenderEffectCycle();
56
57 eDebugRenderEffect mDebugRenderEffect;
58 fsS32 mDebugRenderEffectCycleIndex;
59};
60#endif
Definition fsCEntity.h:39
Definition fsCUniqueId.h:21
fsIComponent(fsCEntity *pParent)
Definition fsIComponent.cpp:86
Definition fsRect.h:16
static const fsCUniqueId mTypeId
Definition gfCHogLevelComponent.h:31
void renderEffectRefresh()
Definition gfCHogLevelComponent.cpp:151
friend class fsCComponentFactory
Definition gfCHogLevelComponent.h:27
fsBool devCheatKeyTestDo(fsS32 pTypedChar) override
Definition gfCHogLevelComponent.cpp:70
void lastLevelSkipDo() override
Definition gfCHogLevelComponent.cpp:65
static fsIComponent * create(fsCEntity *pParent)
Definition gfCHogLevelComponent.cpp:156
~gfCHogLevelComponent() override
Definition gfCHogLevelComponent.cpp:169
gfCHogLevelComponent(fsCEntity *pParent)
Definition gfCHogLevelComponent.cpp:162
Definition gfCSubSceneComponent.h:22
gfIHogLevel(fsCEntity *pParent)
Definition gfIHogLevel.cpp:1374
bool fsBool
Definition fsBaseTypes.h:26
int fsS32
Definition fsBaseTypes.h:20