Fission
FSN
Loading...
Searching...
No Matches
gameModules
gfCatalogue
src
gfCCatalogueParserVarTable.h
Go to the documentation of this file.
1
/********************************************************************
2
*
3
* File: gfCCatalogueParserVarTable.h
4
*
5
* Purpose: Parse the catalogue data file
6
*
7
*********************************************************************/
8
9
#ifndef gfCCatalogueParserVarTablehdr
10
#define gfCCatalogueParserVarTablehdr
11
12
#include "
../gfICatalogueParser.h
"
13
14
class
gfICatalogueEntry
;
15
class
gfCCatalogueCatalogue
;
16
class
fsCVariableTable
;
17
18
19
class
gfCCatalogueParserVarTable
:
public
gfICatalogueParser
20
{
21
public
:
22
23
gfCCatalogueCatalogue
*
const
catalogueLoad
(
const
fsStr
& pFileName)
override
;
24
25
gfCCatalogueParserVarTable
();
26
virtual
~gfCCatalogueParserVarTable
();
27
28
protected
:
29
30
31
void
categoryLoad
(
gfCCatalogueCatalogue
* pCatalogue,
const
fsStr
& pParentCategory,
const
fsStr
& pFileName);
32
33
private
:
34
35
struct
SSettings
36
{
37
fsStr
mIconFileBase;
38
fsStr
mImageFileBase;
39
fsStr
mDefaultAction;
40
};
41
42
void
entriesCreate(
gfCCatalogueCatalogue
* pCatalogue,
const
fsStr
& pParentCategory,
43
fsCVariableTable
* pVarTable,
const
SSettings& pSettings);
44
static
fsBool
itemCreate(
gfCCatalogueCatalogue
* pCatalogue,
const
fsStr
& pParentCategory,
45
fsCVariableTable
* pVarTable,
const
SSettings& pSettings,
fsS32
pIndex);
46
static
void
graphicFileBasesGet(
fsCVariableTable
* pVarTable, SSettings& pSettings);
47
static
fsStr
extensionAdd(
const
fsStr
& pFilename);
48
};
49
50
#endif
fsCVariableTable
Definition
fsCVariableTable.h:27
fsStr
Definition
fsStr.h:23
gfCCatalogueCatalogue
Definition
gfCCatalogueCatalogue.h:17
gfCCatalogueParserVarTable::categoryLoad
void categoryLoad(gfCCatalogueCatalogue *pCatalogue, const fsStr &pParentCategory, const fsStr &pFileName)
Definition
gfCCatalogueParserVarTable.cpp:65
gfCCatalogueParserVarTable::~gfCCatalogueParserVarTable
virtual ~gfCCatalogueParserVarTable()
Definition
gfCCatalogueParserVarTable.cpp:151
gfCCatalogueParserVarTable::gfCCatalogueParserVarTable
gfCCatalogueParserVarTable()
Definition
gfCCatalogueParserVarTable.cpp:147
gfCCatalogueParserVarTable::catalogueLoad
gfCCatalogueCatalogue *const catalogueLoad(const fsStr &pFileName) override
Definition
gfCCatalogueParserVarTable.cpp:10
gfICatalogueEntry
Definition
gfICatalogueEntry.h:18
gfICatalogueParser::gfICatalogueParser
gfICatalogueParser()
Definition
gfICatalogueParser.h:30
gfICatalogueParser.h
fsBool
bool fsBool
Definition
fsBaseTypes.h:26
fsS32
int fsS32
Definition
fsBaseTypes.h:20
Generated on
for Fission by
1.16.1