Fission FSN
Loading...
Searching...
No Matches
gfCAchievementsScreen.h
Go to the documentation of this file.
1/********************************************************************
2*
3* File: gfCAchievementsScreen.h
4*
5* Purpose: Screen to show off all the achievements unlocked by
6* the player
7*
8*********************************************************************/
9
10#ifndef gfCAchievementsScreenhdr
11#define gfCAchievementsScreenhdr
12
13#include <vector>
14
16#include <fsCore/fsSColour.h>
17
19{
20 friend class fsCComponentFactory;
21
22public:
23
24 static const fsCUniqueId mTypeId;
25
26 fsBool onButtonClicked(fsCButtonComponent* pButtonComp) override;
27
29
30
31protected:
32
33 static fsIComponent* create(fsCEntity* pParent);
34
37
38 void initialiseFromVariableTableDo(const fsCVariableTable& pVars) override;
39
40 virtual void achievementsCreateDo() {}
41
42 virtual void achievementsVisibilitySetDo();
43
44 void achievementsCreate();
45
49
50private:
51
52 void rollOverCandidatesDeregister();
53 void rollOverCandidatesRegister();
54};
55
56#endif
Definition fsCButtonComponent.h:26
Definition fsCEntity.h:39
Definition fsCUniqueId.h:21
Definition fsCVariableTable.h:27
fsIComponent(fsCEntity *pParent)
Definition fsIComponent.cpp:86
fsIGuiComponent(fsCEntity *pParent)
Definition fsIGuiComponent.cpp:726
Definition fsSColour.h:20
Definition fsStr.h:23
fsBool onButtonClicked(fsCButtonComponent *pButtonComp) override
Definition gfCAchievementsScreen.cpp:18
virtual void achievementsCreateDo()
Definition gfCAchievementsScreen.h:40
friend class fsCComponentFactory
Definition gfCAchievementsScreen.h:20
~gfCAchievementsScreen()
Definition gfCAchievementsScreen.cpp:129
void achievementsCreate()
Definition gfCAchievementsScreen.cpp:66
fsStr mAchievementKey
Definition gfCAchievementsScreen.h:46
void achievementsVisibilitySet()
Definition gfCAchievementsScreen.cpp:29
fsS32 mCurrAchievement
Definition gfCAchievementsScreen.h:47
gfCAchievementsScreen(fsCEntity *pParent)
Definition gfCAchievementsScreen.cpp:121
fsSColour mUncollectedColour
Definition gfCAchievementsScreen.h:48
static fsIComponent * create(fsCEntity *pParent)
Definition gfCAchievementsScreen.cpp:116
void initialiseFromVariableTableDo(const fsCVariableTable &pVars) override
Definition gfCAchievementsScreen.cpp:99
virtual void achievementsVisibilitySetDo()
Definition gfCAchievementsScreen.cpp:35
static const fsCUniqueId mTypeId
Definition gfCAchievementsScreen.h:24
bool fsBool
Definition fsBaseTypes.h:26
int fsS32
Definition fsBaseTypes.h:20