Fission FSN
Loading...
Searching...
No Matches
gfCHOGHint.h
Go to the documentation of this file.
1/********************************************************************
2*
3* File: fsCHOGHint.h
4*
5* Purpose: Wrap up all the hint behaviour
6*
7*********************************************************************/
8
9#ifndef gfCHOGHinthdr
10#define gfCHOGHinthdr
11
12#include <algorithm>
13#include <vector>
14
15#include <fsCore/fsBaseTypes.h>
16#include <fsCore/src/fsNRnd.h>
17
19
21
23#include "src/fsCEntity.h"
24
25
27{
28public:
29
30 fsBool hinted() const;
31
32 fsBool activate(fsCEntity* pStartEnt, fsCEntity* pEndEnt);
33 fsBool activate(const std::vector<fsCEntity*>& pCandidates);
34
35 gfCHOGHint(fsCGameGui* pParent);
37
38protected:
39
40private:
41
42 // Any minigame component that is a gfIMinigameHintable, whatever its family.
43 fsBool hintOnMinigames() const;
44
45 fsBool hintOnSubSceneNavigationComponents() const;
46 fsBool hintOnWordSearch() const;
47
48 void zoomedLevelReset() const;
49
50 void hintEffectActivate(fsCEntity* pTargetEntity) const;
51
52 fsBool previoustlyHinted(fsCEntity* pEnt) const;
53
54 std::vector<fsCEntity*> mPreviouslyHintedEnts;
55
56 fsCGameGui* mParent;
57};
58
59#endif
Definition fsCEntity.h:39
Definition gfCGameGui.h:23
fsBool activate(fsCEntity *pStartEnt, fsCEntity *pEndEnt)
Definition gfCHOGHint.cpp:158
~gfCHOGHint()
Definition gfCHOGHint.cpp:236
gfCHOGHint(fsCGameGui *pParent)
Definition gfCHOGHint.cpp:231
fsBool hinted() const
Definition gfCHOGHint.cpp:48
bool fsBool
Definition fsBaseTypes.h:26