forked from Mirrors/openclonk
C4Extra: Merge ctor/Default, dtor/Clear
parent
3da14127a4
commit
d0cd244077
|
@ -23,12 +23,11 @@
|
|||
#include <C4Game.h>
|
||||
#include <C4Log.h>
|
||||
|
||||
void C4Extra::Default()
|
||||
C4Extra::C4Extra()
|
||||
{
|
||||
// zero fields
|
||||
}
|
||||
|
||||
void C4Extra::Clear()
|
||||
C4Extra::~C4Extra()
|
||||
{
|
||||
// free class members
|
||||
for(unsigned int i = 0; i < ExtraGroups.size(); ++i)
|
||||
|
|
|
@ -23,10 +23,8 @@
|
|||
class C4Extra
|
||||
{
|
||||
public:
|
||||
C4Extra() { Default(); }; // ctor
|
||||
~C4Extra() { Clear(); }; // dtor
|
||||
void Default(); // zero fields
|
||||
void Clear(); // free class members
|
||||
C4Extra();
|
||||
~C4Extra();
|
||||
|
||||
bool Init(); // init extra group, using scneario presets
|
||||
bool InitGroup(); // open extra group
|
||||
|
|
Loading…
Reference in New Issue