OpenClonk
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros
C4Folder.h
Go to the documentation of this file.
1 /*
2  * OpenClonk, http://www.openclonk.org
3  *
4  * Copyright (c) 2001-2009, RedWolf Design GmbH, http://www.clonk.de/
5  * Copyright (c) 2013-2016, The OpenClonk Team and contributors
6  *
7  * Distributed under the terms of the ISC license; see accompanying file
8  * "COPYING" for details.
9  *
10  * "Clonk" is a registered trademark of Matthes Bender, used with permission.
11  * See accompanying file "TRADEMARK" for details.
12  *
13  * To redistribute this file separately, substitute the full license texts
14  * for the above references.
15  */
16 
17 /* Core component of a folder */
18 
19 #ifndef INC_C4Folder
20 #define INC_C4Folder
21 
23 {
24 public:
25  int32_t Index; // Folder index in scenario selection dialog
26 public:
27  void Default();
28  void CompileFunc(StdCompiler *pComp);
29 };
30 
31 class C4Folder
32 {
33 public:
34  C4Folder();
35 public:
37 public:
38  void Default();
39  bool Load(C4Group &hGroup);
40  void CompileFunc(StdCompiler *pComp);
41 protected:
42  bool Compile(const char *szSource);
43 };
44 
45 #endif // INC_C4Folder
C4FolderHead Head
Definition: C4Folder.h:36
void Default()
Definition: C4Folder.cpp:45
void Default()
Definition: C4Folder.cpp:28
C4Folder()
Definition: C4Folder.cpp:40
bool Load(C4Group &hGroup)
Definition: C4Folder.cpp:50
bool Compile(const char *szSource)
Definition: C4Folder.cpp:67
void CompileFunc(StdCompiler *pComp)
Definition: C4Folder.cpp:62
void CompileFunc(StdCompiler *pComp)
Definition: C4Folder.cpp:33
int32_t Index
Definition: C4Folder.h:25