Fission FSN
Loading...
Searching...
No Matches
gfCLevelSequencerMapLevelComponent.h
Go to the documentation of this file.
1/********************************************************************
2*
3* File: fsCLevelSequencerMapLevelComponent.h
4*
5* Purpose: Map navigation level sequence level
6*
7*********************************************************************/
8
9#ifndef fsCLevelSequencerMapLevelComponenthdr
10#define fsCLevelSequencerMapLevelComponenthdr
11
13
14class fsCEntity;
15struct fsPoint;
16
17
19{
21
22public:
23
24 static const fsStr mLevPrefix;
25
26 static fsStr iconFileNameGet(const fsStr& pLevelname, const fsStr& pFolder);
27 static fsStr newIconFileNameGet(const fsStr& pLevelname);
28 static fsStr iconFileNameGet(const fsStr& pLevelname);
29
30 void rollOverSet(fsBool pOver);
31
32 fsS32 widthGet() const;
33
34 void levelIconAlphaSet(fsF32 pVal);
35
36 void activeGlowUpdate(fsS32 pTime);
37
38 void infoSet(fsBool pCurrLev);
39
40 fsBool visitedGet() { return mVisited; }
41 void visibilitySet(fsBool pVisibility);
42 void posSet(const fsPoint& pPos);
43 void levelIconEntityCreate(fsCEntity* pParent, const fsStr& pLayoutFile, fsBool pCurrLev);
44
45 gfCLevelSequencerMapLevelComponent(const fsStr& pLevelPath, const fsStr& pLevelFolder);
47
48protected:
49
50 fsStr levelNameGetDo() const override;
51
52private:
53
54 void levelNameSet();
55 void starRatingSet();
56 void bonusBonusSet();
57 void starInit(const fsStr& pName, fsBool pVisible);
58
59 fsBool mVisited;
60 fsCEntity* mLevelIconEntity;
61};
62
63#endif
Definition fsCEntity.h:39
Definition fsStr.h:23
gfCLevelSequencerLevelComponent(const fsStr &pLevelPath, const fsStr &pLevelFolder)
Definition gfCLevelSequencerLevelComponent.cpp:45
fsS32 widthGet() const
Definition gfCLevelSequencerMapLevelComponent.cpp:38
void infoSet(fsBool pCurrLev)
Definition gfCLevelSequencerMapLevelComponent.cpp:199
friend class gfIAutoTestLevelUserInputComponent
Definition gfCLevelSequencerMapLevelComponent.h:20
virtual ~gfCLevelSequencerMapLevelComponent()
Definition gfCLevelSequencerMapLevelComponent.cpp:294
void activeGlowUpdate(fsS32 pTime)
Definition gfCLevelSequencerMapLevelComponent.cpp:43
fsBool visitedGet()
Definition gfCLevelSequencerMapLevelComponent.h:40
void rollOverSet(fsBool pOver)
Definition gfCLevelSequencerMapLevelComponent.cpp:31
void visibilitySet(fsBool pVisibility)
Definition gfCLevelSequencerMapLevelComponent.cpp:54
void posSet(const fsPoint &pPos)
Definition gfCLevelSequencerMapLevelComponent.cpp:59
gfCLevelSequencerMapLevelComponent(const fsStr &pLevelPath, const fsStr &pLevelFolder)
Definition gfCLevelSequencerMapLevelComponent.cpp:283
static fsStr iconFileNameGet(const fsStr &pLevelname, const fsStr &pFolder)
Definition gfCLevelSequencerMapLevelComponent.cpp:107
void levelIconAlphaSet(fsF32 pVal)
Definition gfCLevelSequencerMapLevelComponent.cpp:71
void levelIconEntityCreate(fsCEntity *pParent, const fsStr &pLayoutFile, fsBool pCurrLev)
Definition gfCLevelSequencerMapLevelComponent.cpp:91
static const fsStr mLevPrefix
Definition gfCLevelSequencerMapLevelComponent.h:24
static fsStr newIconFileNameGet(const fsStr &pLevelname)
Definition gfCLevelSequencerMapLevelComponent.cpp:145
fsStr levelNameGetDo() const override
Definition gfCLevelSequencerMapLevelComponent.cpp:83
bool fsBool
Definition fsBaseTypes.h:26
int fsS32
Definition fsBaseTypes.h:20
float fsF32
Definition fsBaseTypes.h:28
Definition fsPoint.h:17