Fission FSN
Loading...
Searching...
No Matches
gfCParkRunningOrder.h
Go to the documentation of this file.
1/********************************************************************
2*
3* File: gfCParkRunningOrder.h
4*
5* Purpose: Running order for gfTimeCore. Unlike gfHogCore's level
6* sequence, the park is a single ongoing location - this
7* just satisfies fsIRunningOrder's contract with a
8* one-entry sequence.
9*
10* runningOrder.txt lists bare level names (matching real
11* content, e.g. "pinecreekhillspark") - the constructor
12* expands each to the full <mParkScenesFolder>/<name>/<name>.txt
13* path fsILevelBasedAppCoreMain expects, mirroring
14* gfCHogRunningOrder::fullyPathLevelName()/
15* sequenceUpdateToFullPath() minus the map-destination-
16* prefix/multi-level handling this genre doesn't need.
17*
18* Deliberately does NOT use fsILevelBasedAppCoreMain::
19* scenesFolderGet() (hardcoded "scenes/") - the shared rust
20* asset-export tool treats any top-level folder literally
21* named "scenes" as HOG's exclusive multi-layer composite
22* scene format and refuses to export anything else inside
23* it (no plain-TMX fallback exists). mParkScenesFolder is
24* "parkscenes/": lowercase so it still contains "scenes/"
25* as a substring (fsILevelBasedAppCoreMain::nextLocationInitialise()
26* gates levelSettingsLoad() on exactly that substring
27* check), but isn't the exact folder name "scenes" the
28* rust tool special-cases, so it gets walked and exported
29* like any other content folder. Don't rename this to
30* anything not containing "scenes/" (breaks the C++ gate)
31* or literally "scenes" (breaks export again).
32*
33*********************************************************************/
34
35#ifndef gfCParkRunningOrderhdr
36#define gfCParkRunningOrderhdr
37
38#include <vector>
39
40#include <fsCore/fsBaseTypes.h>
42
43class fsCResourceName;
44
45
47{
48public:
49
51
52 gfCParkRunningOrder(const fsCResourceName& pFilename);
54
55protected:
56
57 void replaceDo(const std::vector<fsStr>& pNewOrder) override;
58 void gameContinueDo() override;
59
60private:
61};
62
63#endif
Definition fsCResourceName.h:32
fsIRunningOrder(const fsCResourceName &pFilename, fsBool pMapNavigationUsed=false)
Definition fsIRunningOrder.cpp:190
Definition fsStr.h:23
static const fsStr mParkScenesFolder
Definition gfCParkRunningOrder.h:50
void replaceDo(const std::vector< fsStr > &pNewOrder) override
Definition gfCParkRunningOrder.cpp:13
gfCParkRunningOrder(const fsCResourceName &pFilename)
Definition gfCParkRunningOrder.cpp:23
~gfCParkRunningOrder()
Definition gfCParkRunningOrder.cpp:34
void gameContinueDo() override
Definition gfCParkRunningOrder.cpp:18