Fission FSN
Loading...
Searching...
No Matches
gfCTotalScore.h
Go to the documentation of this file.
1/********************************************************************
2*
3* File: fsCTotalScore.h
4*
5* Purpose: Debug tip to add up scores so we know what the total
6* is
7*
8*********************************************************************/
9
10#ifndef fsCTotalScorehdr
11#define fsCTotalScorehdr
12
13#include <map>
14
15#include <fsCore/fsBaseTypes.h>
16
18
19
21{
22public:
23
24 fsS32 classifiedSilhouetteCountGet(fsStr pClassification) const;
25
26 fsS32 totalScoreGet() const { return mTotalHOGScore + mTotalMIGScore + mTotalHOGBonus; }
27 fsS32 totalHOGScoreGet() const { return mTotalHOGScore; }
28 fsS32 totalMIGScoreGet() const { return mTotalMIGScore; }
29 fsS32 totalHOGBonuScoreGet() const { return mTotalHOGBonus; }
30 fsS32 bonuItemCountGet() const { return mBonusItemCount; }
31 fsS32 silhouetteItemCountGet() const { return mSilhouetteCount; }
32
34
35 virtual ~fsCTotalScore();
37
38protected:
39
40 gfCLevelSequencerLevelComponent* const levelSequencerLevelCreate(const fsStr& pPath, const fsStr& pName) override;
41
42
43private:
44
45 void silhouetteItemsCollate(std::map<fsStr, fsS32>& pLevelClassification);
46
47 std::map<fsStr, fsS32> mClassifiedSilhouettes;
48
49 fsS32 mSilhouetteCount;
50 fsS32 mBonusItemCount;
51
52 fsS32 mTotalHOGScore;
53 fsS32 mTotalMIGScore;
54 fsS32 mTotalHOGBonus;
55};
56
57#endif
fsS32 totalHOGBonuScoreGet() const
Definition gfCTotalScore.h:29
fsS32 bonuItemCountGet() const
Definition gfCTotalScore.h:30
fsS32 classifiedSilhouetteCountGet(fsStr pClassification) const
Definition gfCTotalScore.cpp:16
fsS32 totalMIGScoreGet() const
Definition gfCTotalScore.h:28
fsS32 silhouetteItemCountGet() const
Definition gfCTotalScore.h:31
fsCTotalScore()
Definition gfCTotalScore.cpp:60
fsS32 totalScoreGet() const
Definition gfCTotalScore.h:26
fsS32 totalHOGScoreGet() const
Definition gfCTotalScore.h:27
virtual ~fsCTotalScore()
Definition gfCTotalScore.cpp:73
gfCLevelSequencerLevelComponent *const levelSequencerLevelCreate(const fsStr &pPath, const fsStr &pName) override
Definition gfCTotalScore.cpp:11
void potentialTotalScoreCalculate()
Definition gfCTotalScore.cpp:37
Definition fsStr.h:23
gfCLevelSequencerComponent()
Definition gfCLevelSequencerComponent.cpp:167
Definition gfCLevelSequencerLevelComponent.h:19
int fsS32
Definition fsBaseTypes.h:20