OpenClonk
C4Scenario.h File Reference
#include "lib/C4NameList.h"
#include "object/C4IDList.h"
Include dependency graph for C4Scenario.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  C4SVal
 
class  C4SHead
 
class  C4SDefinitions
 
class  C4SRealism
 
class  C4SGame
 
class  C4SPlrStart
 
class  C4SLandscape
 
class  C4SWeather
 
class  C4SAnimals
 
class  C4SEnvironment
 
class  C4Scenario
 
class  C4ScenarioSection
 

Macros

#define C4S_SECTIONLOAD   1 /* parts of the C4S that are modifyable for different landcape sections */
 
#define C4S_SAVE_LANDSCAPE   1
 
#define C4S_SAVE_OBJECTS   2
 
#define C4S_KEEP_EFFECTS   4
 
#define C4S_REINIT_SCENARIO   8
 

Enumerations

enum  C4SFilmMode { C4SFilm_None = 0, C4SFilm_Normal = 1, C4SFilm_Cinematic = 2 }
 

Variables

const int32_t C4S_MaxDefinitions = 10
 
const int32_t C4S_MaxMapPlayerExtend = 4
 
const char * C4ScenSect_Main
 

Macro Definition Documentation

◆ C4S_KEEP_EFFECTS

#define C4S_KEEP_EFFECTS   4

Definition at line 50 of file C4Scenario.h.

Referenced by C4Game::LoadScenarioSection().

◆ C4S_REINIT_SCENARIO

#define C4S_REINIT_SCENARIO   8

◆ C4S_SAVE_LANDSCAPE

#define C4S_SAVE_LANDSCAPE   1

Definition at line 48 of file C4Scenario.h.

Referenced by C4Game::LoadScenarioSection().

◆ C4S_SAVE_OBJECTS

#define C4S_SAVE_OBJECTS   2

Definition at line 49 of file C4Scenario.h.

Referenced by C4Game::LoadScenarioSection().

◆ C4S_SECTIONLOAD

#define C4S_SECTIONLOAD   1 /* parts of the C4S that are modifyable for different landcape sections */

Definition at line 45 of file C4Scenario.h.

Enumeration Type Documentation

◆ C4SFilmMode

Enumerator
C4SFilm_None 
C4SFilm_Normal 
C4SFilm_Cinematic 

Definition at line 53 of file C4Scenario.h.

Variable Documentation

◆ C4S_MaxDefinitions

const int32_t C4S_MaxDefinitions = 10

◆ C4S_MaxMapPlayerExtend

const int32_t C4S_MaxMapPlayerExtend = 4

Definition at line 139 of file C4Scenario.h.

Referenced by C4MapCreator::Create(), and C4SLandscape::GetMapSize().

◆ C4ScenSect_Main

const char* C4ScenSect_Main