openclonk/src/c4group/C4Extra.h

39 lines
981 B
C
Raw Normal View History

2009-05-08 13:28:41 +00:00
/*
* OpenClonk, http://www.openclonk.org
*
* Copyright (c) 2001-2009, RedWolf Design GmbH, http://www.clonk.de/
2016-04-03 18:18:29 +00:00
* Copyright (c) 2013-2016, The OpenClonk Team and contributors
2009-05-08 13:28:41 +00:00
*
* Distributed under the terms of the ISC license; see accompanying file
* "COPYING" for details.
2009-05-08 13:28:41 +00:00
*
* "Clonk" is a registered trademark of Matthes Bender, used with permission.
* See accompanying file "TRADEMARK" for details.
2009-05-08 13:28:41 +00:00
*
* To redistribute this file separately, substitute the full license texts
* for the above references.
2009-05-08 13:28:41 +00:00
*/
2011-03-13 15:16:45 +00:00
// user-customizable multimedia package Extra.ocg
2009-05-08 13:28:41 +00:00
#ifndef INC_C4Extra
#define INC_C4Extra
#include "c4group/C4Group.h"
2009-05-08 13:28:41 +00:00
class C4Extra
{
public:
C4Extra();
~C4Extra();
2009-05-08 13:28:41 +00:00
bool Init(); // init extra group, using scneario presets
bool InitGroup(); // open extra group
2009-05-08 13:28:41 +00:00
std::vector<std::unique_ptr<C4Group>> ExtraGroups; // extra.ocg root folders
2009-05-08 13:28:41 +00:00
protected:
bool LoadDef(C4Group &hGroup, const char *szName); // load preset for definition
};
2009-05-08 13:28:41 +00:00
#endif