2009-05-08 13:28:41 +00:00
|
|
|
/*
|
|
|
|
* OpenClonk, http://www.openclonk.org
|
|
|
|
*
|
2013-12-17 20:01:09 +00:00
|
|
|
* 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
|
|
|
*
|
2013-12-17 20:01:09 +00:00
|
|
|
* Distributed under the terms of the ISC license; see accompanying file
|
|
|
|
* "COPYING" for details.
|
2009-05-08 13:28:41 +00:00
|
|
|
*
|
2013-12-17 20:01:09 +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
|
|
|
*
|
2013-12-17 20:01:09 +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
|
|
|
|
|
2016-04-03 18:07:56 +00:00
|
|
|
#include "c4group/C4Group.h"
|
2009-05-08 13:28:41 +00:00
|
|
|
|
|
|
|
class C4Extra
|
2010-03-28 17:58:21 +00:00
|
|
|
{
|
|
|
|
public:
|
2015-12-29 00:56:12 +00:00
|
|
|
C4Extra();
|
|
|
|
~C4Extra();
|
2009-05-08 13:28:41 +00:00
|
|
|
|
2010-03-28 17:58:21 +00:00
|
|
|
bool Init(); // init extra group, using scneario presets
|
|
|
|
bool InitGroup(); // open extra group
|
2009-05-08 13:28:41 +00:00
|
|
|
|
2015-12-29 12:56:06 +00:00
|
|
|
std::vector<std::unique_ptr<C4Group>> ExtraGroups; // extra.ocg root folders
|
2009-05-08 13:28:41 +00:00
|
|
|
|
2010-03-28 17:58:21 +00:00
|
|
|
protected:
|
|
|
|
bool LoadDef(C4Group &hGroup, const char *szName); // load preset for definition
|
|
|
|
};
|
2009-05-08 13:28:41 +00:00
|
|
|
|
|
|
|
#endif
|