OpenClonk
C4SEnvironment Class Reference

#include <C4Scenario.h>

Collaboration diagram for C4SEnvironment:
[legend]

Public Member Functions

void Default ()
 
void CompileFunc (StdCompiler *pComp)
 

Public Attributes

C4IDList Objects
 

Detailed Description

Definition at line 218 of file C4Scenario.h.

Member Function Documentation

◆ CompileFunc()

void C4SEnvironment::CompileFunc ( StdCompiler pComp)

Definition at line 398 of file C4Scenario.cpp.

399 {
400  pComp->Value(mkNamingAdapt(Objects, "Objects", C4IDList()));
401 }
StdNamingAdapt< T > mkNamingAdapt(T &&rValue, const char *szName)
Definition: StdAdaptors.h:92
C4IDList Objects
Definition: C4Scenario.h:221
void Value(const T &rStruct)
Definition: StdCompiler.h:161

References mkNamingAdapt(), Objects, and StdCompiler::Value().

Here is the call graph for this function:

◆ Default()

void C4SEnvironment::Default ( )

Definition at line 393 of file C4Scenario.cpp.

394 {
395  Objects.Clear();
396 }
void Clear()
Definition: stub-handle.cpp:64

References C4IDList::Clear(), and Objects.

Referenced by C4Scenario::Default().

Here is the call graph for this function:
Here is the caller graph for this function:

Member Data Documentation

◆ Objects

C4IDList C4SEnvironment::Objects

Definition at line 221 of file C4Scenario.h.

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


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