#include <C4Scenario.h>
Public Member Functions | |
void | Default () |
void | CompileFunc (StdCompiler *pComp, bool fSection) |
Public Attributes | |
int32_t | C4XVer [2] |
std::string | Title |
std::string | Loader |
std::string | Font |
int32_t | Difficulty |
int32_t | Icon |
bool | NoInitialize |
int32_t | MaxPlayer |
int32_t | MinPlayer |
int32_t | MaxPlayerLeague |
bool | SaveGame |
bool | Replay |
int32_t | Film |
int32_t | RandomSeed |
std::string | Engine |
std::string | MissionAccess |
bool | Secret |
bool | NetworkGame |
bool | NetworkRuntimeJoin |
StdCopyStrBuf | Origin |
Definition at line 60 of file C4Scenario.h.
void C4SHead::CompileFunc | ( | StdCompiler * | pComp, |
bool | fSection | ||
) |
Definition at line 180 of file C4Scenario.cpp.
References AltDirectorySeparator, C4S_MaxPlayerDefault, C4XVer, Difficulty, DirectorySeparator, Engine, Film, Font, Icon, StdCompiler::isDeserializer(), Loader, MaxPlayer, MaxPlayerLeague, MinPlayer, MissionAccess, mkArrayAdaptDM(), mkNamingAdapt(), mkParAdapt(), mkStringAdaptA(), mkStrValAdapt(), NetworkGame, NetworkRuntimeJoin, NoInitialize, Origin, RandomSeed, StdCompiler::RCT_All, StdStrBuf::ReplaceChar(), Replay, SaveGame, Secret, Title, C4InVal::VAL_SubPathFilename, and StdCompiler::Value().
void C4SHead::Default | ( | ) |
Definition at line 159 of file C4Scenario.cpp.
References C4S_MaxPlayerDefault, C4XVer, StdStrBuf::Clear(), Difficulty, Engine, Film, Font, Icon, Loader, MaxPlayer, MaxPlayerLeague, MinPlayer, MissionAccess, NetworkGame, NetworkRuntimeJoin, NoInitialize, Origin, RandomSeed, Replay, SaveGame, Secret, and Title.
Referenced by C4Scenario::Default().
int32_t C4SHead::C4XVer[2] |
Definition at line 63 of file C4Scenario.h.
Referenced by CompileFunc(), Default(), and C4Game::OpenScenario().
int32_t C4SHead::Difficulty |
Definition at line 67 of file C4Scenario.h.
Referenced by CompileFunc(), and Default().
std::string C4SHead::Engine |
Definition at line 75 of file C4Scenario.h.
Referenced by CompileFunc(), and Default().
int32_t C4SHead::Film |
Definition at line 73 of file C4Scenario.h.
Referenced by C4GameSaveRecord::AdjustCore(), C4GameOverDlg::C4GameOverDlg(), CompileFunc(), Default(), C4Game::DoKeyboardInput(), C4Viewport::Draw(), C4Viewport::DrawOverlay(), C4Object::DrawSelectMark(), C4ViewportList::FreeScroll(), C4Viewport::NextPlayer(), C4MessageInput::ProcessInput(), C4FullScreen::ViewportCheck(), and C4ViewportList::ViewportNextPlayer().
std::string C4SHead::Font |
Definition at line 66 of file C4Scenario.h.
Referenced by CompileFunc(), Default(), and C4GraphicsResource::InitFonts().
int32_t C4SHead::Icon |
Definition at line 68 of file C4Scenario.h.
Referenced by C4GameSaveSavegame::AdjustCore(), C4GameSaveRecord::AdjustCore(), CompileFunc(), and Default().
std::string C4SHead::Loader |
Definition at line 65 of file C4Scenario.h.
Referenced by CompileFunc(), Default(), and C4Game::Init().
int32_t C4SHead::MaxPlayer |
Definition at line 70 of file C4Scenario.h.
Referenced by CompileFunc(), C4GameParameters::CompileFunc(), and Default().
int32_t C4SHead::MaxPlayerLeague |
Definition at line 70 of file C4Scenario.h.
Referenced by CompileFunc(), Default(), and C4GameParameters::EnforceLeagueRules().
int32_t C4SHead::MinPlayer |
Definition at line 70 of file C4Scenario.h.
Referenced by CompileFunc(), Default(), and C4Scenario::GetMinPlayer().
std::string C4SHead::MissionAccess |
Definition at line 76 of file C4Scenario.h.
Referenced by CompileFunc(), Default(), and C4Game::OpenScenario().
bool C4SHead::NetworkGame |
Definition at line 78 of file C4Scenario.h.
Referenced by C4GameSaveNetwork::AdjustCore(), CompileFunc(), Default(), C4Game::Init(), C4Game::InitControl(), and C4Game::InitNetworkHost().
bool C4SHead::NetworkRuntimeJoin |
Definition at line 79 of file C4Scenario.h.
Referenced by C4GameSaveNetwork::AdjustCore(), CompileFunc(), Default(), C4Game::InitPlayers(), C4PlayerInfoList::RecreatePlayerFiles(), and C4PlayerInfoList::RestoreSavegameInfos().
bool C4SHead::NoInitialize |
Definition at line 69 of file C4Scenario.h.
Referenced by CompileFunc(), and Default().
StdCopyStrBuf C4SHead::Origin |
Definition at line 80 of file C4Scenario.h.
Referenced by CompileFunc(), Default(), C4Player::GainScenarioAchievement(), C4Language::GetPackGroups(), C4GameResList::Load(), C4Game::OpenScenario(), and C4Playback::StreamToRecord().
int32_t C4SHead::RandomSeed |
Definition at line 74 of file C4Scenario.h.
Referenced by CompileFunc(), Default(), and C4Game::InitControl().
bool C4SHead::Replay |
Definition at line 72 of file C4Scenario.h.
Referenced by C4MainMenu::ActivateNewPlayer(), C4GameSaveRecord::AdjustCore(), C4PlayerInfo::CompileFunc(), CompileFunc(), Default(), C4Game::DoKeyboardInput(), C4Viewport::Draw(), C4Viewport::DrawOverlay(), C4Object::DrawSelectMark(), C4ViewportList::FreeScroll(), C4Network2Players::Init(), C4Game::InitControl(), C4PlayerInfoList::InitLocal(), C4Game::InitNetworkHost(), C4Network2Players::JoinLocalPlayer(), C4GameParameters::Load(), C4PlayerInfo::LoadFromLocalFile(), C4PlayerInfo::LoadResource(), C4MainMenu::MenuCommand(), C4Viewport::NextPlayer(), C4PlayerInfoList::RecreatePlayerFiles(), C4PlayerInfoList::RecreatePlayers(), C4PlayerInfoList::RestoreSavegameInfos(), C4PlayerList::Save(), C4FullScreen::ViewportCheck(), and C4ViewportList::ViewportNextPlayer().
bool C4SHead::SaveGame |
Definition at line 71 of file C4Scenario.h.
Referenced by CompileFunc(), Default(), C4Game::Init(), C4Player::Init(), C4Game::InitGameFinal(), C4PlayerInfoList::RestoreSavegameInfos(), and C4GameLobby::MainDlg::Start().
bool C4SHead::Secret |
Definition at line 77 of file C4Scenario.h.
Referenced by CompileFunc(), Default(), and C4ScenarioListLoader::Scenario::IsHidden().
std::string C4SHead::Title |
Definition at line 64 of file C4Scenario.h.
Referenced by C4GameSaveRecord::AdjustCore(), CompileFunc(), Default(), and C4Game::OpenScenario().