Fission FSN
Loading...
Searching...
No Matches
gfCLevelSequencerComponent.h
Go to the documentation of this file.
1/********************************************************************
2*
3* File: gfCLevelSequencerComponent.h
4*
5* Purpose: Base level sequencer - simple level component
6*
7*********************************************************************/
8
9#ifndef gfCLevelSequencerComponenthdr
10#define gfCLevelSequencerComponenthdr
11
12#include <vector>
13
16
19
20
22{
23public:
24
25 static const fsCUniqueId mTypeId;
26
29
30protected:
31
32 fsCFileListEntry fileListEntryCreate(fsStr const& pFullPathFilename);
33
34 virtual fsBool levelCriteriaMet(const fsCFileListEntry& pFileListEntry) const;
35
36 fsBool sanityCheck(std::vector<gfCLevelSequencerLevelComponent*> pSortedLevels, fsBool pClearUpLostLevels);
38
39 void levelsOrder();
40
41 void levelsLoad(const fsFileList& pLevelList);
42 virtual gfCLevelSequencerLevelComponent* const levelSequencerLevelCreate(const fsStr& pPath, const fsStr& pName);
43
45
46 std::vector<gfCLevelSequencerLevelComponent*> mLevels;
47
48private:
49};
50
51#endif
Definition fsCFileListEntry.h:20
Definition fsCUniqueId.h:21
Definition fsCVariableTable.h:27
Definition fsStr.h:23
fsFileList levelFolderListGet(fsStr pRootFolder)
Definition gfCLevelSequencerComponent.cpp:145
virtual fsBool levelCriteriaMet(const fsCFileListEntry &pFileListEntry) const
Definition gfCLevelSequencerComponent.cpp:120
fsCFileListEntry fileListEntryCreate(fsStr const &pFullPathFilename)
Definition gfCLevelSequencerComponent.cpp:132
virtual ~gfCLevelSequencerComponent()
Definition gfCLevelSequencerComponent.cpp:171
gfCLevelSequencerComponent()
Definition gfCLevelSequencerComponent.cpp:167
fsBool sanityCheck(std::vector< gfCLevelSequencerLevelComponent * > pSortedLevels, fsBool pClearUpLostLevels)
Definition gfCLevelSequencerComponent.cpp:75
void levelsLoad(const fsFileList &pLevelList)
Definition gfCLevelSequencerComponent.cpp:112
static const fsCUniqueId mTypeId
Definition gfCLevelSequencerComponent.h:25
void levelsOrder()
Definition gfCLevelSequencerComponent.cpp:29
gfCLevelSequencerLevelComponent * levelFind(const fsStr &pLevelName)
Definition gfCLevelSequencerComponent.cpp:17
std::vector< gfCLevelSequencerLevelComponent * > mLevels
Definition gfCLevelSequencerComponent.h:46
virtual gfCLevelSequencerLevelComponent *const levelSequencerLevelCreate(const fsStr &pPath, const fsStr &pName)
Definition gfCLevelSequencerComponent.cpp:106
Definition gfCLevelSequencerLevelComponent.h:19
std::vector< fsCFileListEntry > fsFileList
Definition fsIFileListBuilder.h:22
bool fsBool
Definition fsBaseTypes.h:26