Fission FSN
Loading...
Searching...
No Matches
gfCMapTestMode.h
Go to the documentation of this file.
1/********************************************************************
2*
3* File: gfCMapTestMode.h
4*
5* Purpose: Cheat-mode test aid for maps with level progress: each tap on an open state advances
6* it one step, the last step completes it, and tapping a finished state resets it.
7* This exercises partial progress looks and neighbour unlocks without playing any levels.
8*
9*********************************************************************/
10
11#ifndef gfCMapTestModehdr
12#define gfCMapTestModehdr
13
14#include <fsCore/fsStr.h>
15
17{
18public:
19
20 static fsBool enabledGet();
21
22 // Flips the mode and returns the notice to show the player.
23 static fsStr toggle();
24
25 // Advances an open level and saves. False when the mode is off or the level is not open yet.
26 static fsBool levelTap(const fsStr& pLevel);
27};
28
29#endif
Definition fsStr.h:23
Definition gfCMapTestMode.h:17
static fsStr toggle()
Definition gfCMapTestMode.cpp:16
static fsBool levelTap(const fsStr &pLevel)
Definition gfCMapTestMode.cpp:24
static fsBool enabledGet()
Definition gfCMapTestMode.cpp:11
bool fsBool
Definition fsBaseTypes.h:26