OpenClonk
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
22
class
C4FolderHead
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
:
36
C4FolderHead
Head
;
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
Definition:
C4Folder.h:23
C4FolderHead::Default
void Default()
Definition:
C4Folder.cpp:28
C4FolderHead::CompileFunc
void CompileFunc(StdCompiler *pComp)
Definition:
C4Folder.cpp:33
C4FolderHead::Index
int32_t Index
Definition:
C4Folder.h:25
C4Folder
Definition:
C4Folder.h:32
C4Folder::CompileFunc
void CompileFunc(StdCompiler *pComp)
Definition:
C4Folder.cpp:62
C4Folder::Compile
bool Compile(const char *szSource)
Definition:
C4Folder.cpp:67
C4Folder::C4Folder
C4Folder()
Definition:
C4Folder.cpp:40
C4Folder::Head
C4FolderHead Head
Definition:
C4Folder.h:36
C4Folder::Load
bool Load(C4Group &hGroup)
Definition:
C4Folder.cpp:50
C4Folder::Default
void Default()
Definition:
C4Folder.cpp:45
C4Group
Definition:
C4Group.h:136
StdCompiler
Definition:
StdCompiler.h:38
openclonk
src
gui
C4Folder.h
Generated on Fri May 16 2025 04:33:10 for OpenClonk by
1.9.1