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 206 of file C4Scenario.h.

Member Function Documentation

void C4SAnimals::CompileFunc ( StdCompiler pComp)

Definition at line 385 of file C4Scenario.cpp.

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

386 {
387  pComp->Value(mkNamingAdapt(FreeLife, "Animal", C4IDList()));
388  pComp->Value(mkNamingAdapt(EarthNest, "Nest", C4IDList()));
389 }
StdNamingAdapt< T > mkNamingAdapt(T &&rValue, const char *szName)
Definition: StdAdaptors.h:93
void Value(const T &rStruct)
Definition: StdCompiler.h:171
C4IDList EarthNest
Definition: C4Scenario.h:210
C4IDList FreeLife
Definition: C4Scenario.h:209

Here is the call graph for this function:

void C4SAnimals::Default ( )

Definition at line 379 of file C4Scenario.cpp.

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

Referenced by C4Scenario::Default().

380 {
381  FreeLife.Clear();
382  EarthNest.Clear();
383 }
void Clear()
Definition: stub-handle.cpp:64
C4IDList EarthNest
Definition: C4Scenario.h:210
C4IDList FreeLife
Definition: C4Scenario.h:209

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 210 of file C4Scenario.h.

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

C4IDList C4SAnimals::FreeLife

Definition at line 209 of file C4Scenario.h.

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


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