OpenClonk
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros
C4SAnimals Class Reference

#include <C4Scenario.h>

Collaboration diagram for C4SAnimals:
[legend]

Public Member Functions

void Default ()
 
void CompileFunc (StdCompiler *pComp)
 

Public Attributes

C4IDList FreeLife
 
C4IDList EarthNest
 

Detailed Description

Definition at line 208 of file C4Scenario.h.

Member Function Documentation

void C4SAnimals::CompileFunc ( StdCompiler pComp)

Definition at line 387 of file C4Scenario.cpp.

References EarthNest, FreeLife, mkNamingAdapt(), and StdCompiler::Value().

388 {
389  pComp->Value(mkNamingAdapt(FreeLife, "Animal", C4IDList()));
390  pComp->Value(mkNamingAdapt(EarthNest, "Nest", C4IDList()));
391 }
StdNamingAdapt< T > mkNamingAdapt(T &&rValue, const char *szName)
Definition: StdAdaptors.h:92
void Value(const T &rStruct)
Definition: StdCompiler.h:161
C4IDList EarthNest
Definition: C4Scenario.h:212
C4IDList FreeLife
Definition: C4Scenario.h:211

Here is the call graph for this function:

void C4SAnimals::Default ( )

Definition at line 381 of file C4Scenario.cpp.

References C4IDList::Clear(), EarthNest, and FreeLife.

Referenced by C4Scenario::Default().

382 {
383  FreeLife.Clear();
384  EarthNest.Clear();
385 }
void Clear()
Definition: stub-handle.cpp:64
C4IDList EarthNest
Definition: C4Scenario.h:212
C4IDList FreeLife
Definition: C4Scenario.h:211

Here is the call graph for this function:

Here is the caller graph for this function:

Member Data Documentation

C4IDList C4SAnimals::EarthNest

Definition at line 212 of file C4Scenario.h.

Referenced by CompileFunc(), Default(), and C4Game::InitAnimals().

C4IDList C4SAnimals::FreeLife

Definition at line 211 of file C4Scenario.h.

Referenced by CompileFunc(), Default(), and C4Game::InitAnimals().


The documentation for this class was generated from the following files: