1/*
2 * LegacyClonk
3 *
4 * Copyright (c) RedWolf Design
5 * Copyright (c) 2001, Sven2
6 * Copyright (c) 2017-2021, The LegacyClonk Team and contributors
7 *
8 * Distributed under the terms of the ISC license; see accompanying file
9 * "COPYING" for details.
10 *
11 * "Clonk" is a registered trademark of Matthes Bender, used with permission.
12 * See accompanying file "TRADEMARK" for details.
13 *
14 * To redistribute this file separately, substitute the full license texts
15 * for the above references.
16 */
17
18// user-customizable multimedia package Extra.c4g
19
20#pragma once
21
22#include <C4Group.h>
23
24class C4Extra
25{
26public:
27 C4Extra() { Default(); }
28 ~C4Extra() { Clear(); }
29 void Default(); // zero fields
30 void Clear(); // free class members
31
32 void Init(); // init extra group, using scneario presets
33 bool InitGroup(); // open extra group
34
35 C4Group ExtraGrp; // extra.c4g root folder
36
37protected:
38 bool LoadDef(C4Group &hGroup, const char *szName); // load preset for definition
39};
40