#include <C4Scenario.h>
Public Member Functions | |
void | Default () |
void | GetMapSize (int32_t &rWdt, int32_t &rHgt, int32_t iPlayerNum) |
void | CompileFunc (StdCompiler *pComp) |
Public Attributes | |
bool | ExactLandscape |
C4SVal | VegLevel |
C4IDList | Vegetation |
C4SVal | InEarthLevel |
C4IDList | InEarth |
int32_t | BottomOpen |
int32_t | TopOpen |
int32_t | LeftOpen |
int32_t | RightOpen |
int32_t | AutoScanSideOpen |
std::string | SkyDef |
int32_t | SkyDefFade [6] |
bool | NoScan |
C4SVal | Gravity |
C4SVal | MapWdt |
C4SVal | MapHgt |
C4SVal | MapZoom |
C4SVal | Amplitude |
C4SVal | Phase |
C4SVal | Period |
C4SVal | Random |
C4SVal | LiquidLevel |
int32_t | MapPlayerExtend |
C4NameList | Layers |
std::string | Material |
std::string | Liquid |
bool | KeepMapCreator |
int32_t | SkyScrollMode |
int32_t | MaterialZoom |
bool | FlatChunkShapes |
bool | Secret |
Definition at line 162 of file C4Scenario.h.
void C4SLandscape::CompileFunc | ( | StdCompiler * | pComp | ) |
Definition at line 328 of file C4Scenario.cpp.
References Amplitude, AutoScanSideOpen, BottomOpen, ExactLandscape, FlatChunkShapes, Gravity, InEarth, InEarthLevel, KeepMapCreator, Layers, LeftOpen, Liquid, LiquidLevel, MapHgt, MapPlayerExtend, MapWdt, MapZoom, Material, MaterialZoom, mkArrayAdaptDM(), mkNamingAdapt(), mkStringAdaptA(), NoScan, Period, Phase, Random, RightOpen, Secret, SkyDef, SkyDefFade, SkyScrollMode, TopOpen, StdCompiler::Value(), Vegetation, and VegLevel.
void C4SLandscape::Default | ( | ) |
Definition at line 286 of file C4Scenario.cpp.
References Amplitude, AutoScanSideOpen, BottomOpen, C4NameList::Clear(), C4SVal::Default(), C4IDList::Default(), ExactLandscape, FlatChunkShapes, Gravity, InEarth, InEarthLevel, KeepMapCreator, Layers, LeftOpen, Liquid, LiquidLevel, MapHgt, MapPlayerExtend, MapWdt, MapZoom, Material, MaterialZoom, NoScan, Period, Phase, Random, RightOpen, Secret, C4SVal::Set(), SkyDef, SkyDefFade, SkyScrollMode, TopOpen, Vegetation, and VegLevel.
Referenced by c4_mapgen_handle_new(), c4_mapgen_handle_new_script(), and C4Scenario::Default().
void C4SLandscape::GetMapSize | ( | int32_t & | rWdt, |
int32_t & | rHgt, | ||
int32_t | iPlayerNum | ||
) |
Definition at line 319 of file C4Scenario.cpp.
References C4S_MaxMapPlayerExtend, C4SVal::Evaluate(), MapHgt, MapPlayerExtend, MapWdt, and C4SVal::Max.
Referenced by C4Landscape::P::CreateMap(), C4MCMap::Default(), and C4MapScriptHost::InitializeMap().
C4SVal C4SLandscape::Amplitude |
Definition at line 179 of file C4Scenario.h.
Referenced by CompileFunc(), C4MapCreator::Create(), and Default().
int32_t C4SLandscape::AutoScanSideOpen |
Definition at line 172 of file C4Scenario.h.
Referenced by CompileFunc(), Default(), and C4Landscape::P::InitBorderPix().
int32_t C4SLandscape::BottomOpen |
Definition at line 170 of file C4Scenario.h.
Referenced by CompileFunc(), Default(), and C4Landscape::P::InitBorderPix().
bool C4SLandscape::ExactLandscape |
Definition at line 165 of file C4Scenario.h.
Referenced by CompileFunc(), Default(), C4Landscape::Init(), and C4Scenario::SetExactLandscape().
bool C4SLandscape::FlatChunkShapes |
Definition at line 188 of file C4Scenario.h.
Referenced by C4Landscape::P::ChunkOZoom(), CompileFunc(), Default(), C4Landscape::DrawChunks(), and C4ToolsDlg::SetLandscapeMode().
C4SVal C4SLandscape::Gravity |
Definition at line 176 of file C4Scenario.h.
Referenced by CompileFunc(), Default(), and C4Landscape::ScenarioInit().
C4IDList C4SLandscape::InEarth |
Definition at line 169 of file C4Scenario.h.
Referenced by CompileFunc(), Default(), and C4Game::InitInEarth().
C4SVal C4SLandscape::InEarthLevel |
Definition at line 168 of file C4Scenario.h.
Referenced by CompileFunc(), Default(), and C4Game::InitInEarth().
bool C4SLandscape::KeepMapCreator |
Definition at line 185 of file C4Scenario.h.
Referenced by CompileFunc(), Default(), and C4Landscape::PostInitMap().
C4NameList C4SLandscape::Layers |
Definition at line 182 of file C4Scenario.h.
Referenced by CompileFunc(), C4MapCreator::Create(), and Default().
int32_t C4SLandscape::LeftOpen |
Definition at line 171 of file C4Scenario.h.
Referenced by CompileFunc(), Default(), and C4Landscape::P::InitBorderPix().
std::string C4SLandscape::Liquid |
Definition at line 184 of file C4Scenario.h.
Referenced by CompileFunc(), C4MapCreator::Create(), and Default().
C4SVal C4SLandscape::LiquidLevel |
Definition at line 180 of file C4Scenario.h.
Referenced by CompileFunc(), C4MapCreator::Create(), and Default().
C4SVal C4SLandscape::MapHgt |
Definition at line 178 of file C4Scenario.h.
Referenced by c4_mapgen_handle_new(), c4_mapgen_handle_new_script(), CompileFunc(), Default(), C4Landscape::DrawMap(), GetMapSize(), and C4Landscape::Init().
int32_t C4SLandscape::MapPlayerExtend |
Definition at line 181 of file C4Scenario.h.
Referenced by c4_mapgen_handle_new(), c4_mapgen_handle_new_script(), CompileFunc(), C4MapCreator::Create(), Default(), and GetMapSize().
C4SVal C4SLandscape::MapWdt |
Definition at line 178 of file C4Scenario.h.
Referenced by c4_mapgen_handle_new(), c4_mapgen_handle_new_script(), CompileFunc(), Default(), C4Landscape::DrawMap(), GetMapSize(), and C4Landscape::Init().
C4SVal C4SLandscape::MapZoom |
Definition at line 178 of file C4Scenario.h.
Referenced by CompileFunc(), Default(), and C4Player::ScenarioInit().
std::string C4SLandscape::Material |
Definition at line 183 of file C4Scenario.h.
Referenced by CompileFunc(), C4MapCreator::Create(), Default(), and C4Game::InitMaterialTexture().
int32_t C4SLandscape::MaterialZoom |
Definition at line 187 of file C4Scenario.h.
Referenced by CompileFunc(), Default(), and C4LandscapeRenderGL::Draw().
bool C4SLandscape::NoScan |
Definition at line 175 of file C4Scenario.h.
Referenced by CompileFunc(), and Default().
C4SVal C4SLandscape::Period |
Definition at line 179 of file C4Scenario.h.
Referenced by CompileFunc(), C4MapCreator::Create(), and Default().
C4SVal C4SLandscape::Phase |
Definition at line 179 of file C4Scenario.h.
Referenced by CompileFunc(), C4MapCreator::Create(), and Default().
C4SVal C4SLandscape::Random |
Definition at line 179 of file C4Scenario.h.
Referenced by CompileFunc(), C4MapCreator::Create(), and Default().
int32_t C4SLandscape::RightOpen |
Definition at line 171 of file C4Scenario.h.
Referenced by CompileFunc(), Default(), and C4Landscape::P::InitBorderPix().
bool C4SLandscape::Secret |
Definition at line 189 of file C4Scenario.h.
Referenced by CompileFunc(), Default(), and C4Viewport::Execute().
std::string C4SLandscape::SkyDef |
Definition at line 173 of file C4Scenario.h.
Referenced by CompileFunc(), Default(), C4Sky::Init(), and C4Game::LoadScenarioSection().
int32_t C4SLandscape::SkyDefFade[6] |
Definition at line 174 of file C4Scenario.h.
Referenced by CompileFunc(), Default(), and C4Sky::Init().
int32_t C4SLandscape::SkyScrollMode |
Definition at line 186 of file C4Scenario.h.
Referenced by CompileFunc(), Default(), and C4Sky::Init().
int32_t C4SLandscape::TopOpen |
Definition at line 170 of file C4Scenario.h.
Referenced by CompileFunc(), Default(), and C4Landscape::P::InitBorderPix().
C4IDList C4SLandscape::Vegetation |
Definition at line 167 of file C4Scenario.h.
Referenced by CompileFunc(), Default(), and C4Game::InitVegetation().
C4SVal C4SLandscape::VegLevel |
Definition at line 166 of file C4Scenario.h.
Referenced by CompileFunc(), Default(), and C4Game::InitVegetation().