OpenClonk
C4Extra.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
// user-customizable multimedia package Extra.ocg
17
18
#ifndef INC_C4Extra
19
#define INC_C4Extra
20
21
#include "
c4group/C4Group.h
"
22
23
class
C4Extra
24
{
25
public
:
26
C4Extra
();
27
~C4Extra
();
28
29
bool
Init
();
// init extra group, using scneario presets
30
bool
InitGroup
();
// open extra group
31
32
std::vector<std::unique_ptr<C4Group>>
ExtraGroups
;
// extra.ocg root folders
33
34
protected
:
35
bool
LoadDef
(
C4Group
&hGroup,
const
char
*szName);
// load preset for definition
36
};
37
38
#endif
C4Group.h
C4Extra
Definition:
C4Extra.h:24
C4Extra::InitGroup
bool InitGroup()
Definition:
C4Extra.cpp:27
C4Extra::ExtraGroups
std::vector< std::unique_ptr< C4Group > > ExtraGroups
Definition:
C4Extra.h:32
C4Extra::LoadDef
bool LoadDef(C4Group &hGroup, const char *szName)
Definition:
C4Extra.cpp:63
C4Extra::~C4Extra
~C4Extra()
C4Extra::C4Extra
C4Extra()
C4Extra::Init
bool Init()
Definition:
C4Extra.cpp:41
C4Group
Definition:
C4Group.h:136
openclonk
src
c4group
C4Extra.h
Generated on Fri May 16 2025 04:33:09 for OpenClonk by
1.9.1