#include <C4Scenario.h>
Public Member Functions | |
| void | SetModules (const char *szList, const char *szRelativeToPath=nullptr, const char *szRelativeToPath2=nullptr) |
| bool | GetModules (StdStrBuf *psOutModules) const |
| std::list< const char * > | GetModulesAsList () const |
| void | Default () |
| void | CompileFunc (StdCompiler *pComp) |
Public Attributes | |
| bool | LocalOnly |
| bool | AllowUserChange |
| C4IDList | SkipDefs |
Definition at line 89 of file C4Scenario.h.
| void C4SDefinitions::CompileFunc | ( | StdCompiler * | pComp | ) |
Definition at line 502 of file C4Scenario.cpp.
References AllowUserChange, C4S_MaxDefinitions, FormatString(), LocalOnly, mkNamingAdapt(), mkStringAdaptMA(), SkipDefs, and StdCompiler::Value().
| void C4SDefinitions::Default | ( | ) |
Definition at line 150 of file C4Scenario.cpp.
References AllowUserChange, C4IDList::Default(), LocalOnly, SkipDefs, and ZeroMem().
Referenced by C4Scenario::Default().
| bool C4SDefinitions::GetModules | ( | StdStrBuf * | psOutModules | ) | const |
Definition at line 422 of file C4Scenario.cpp.
References StdStrBuf::Append(), StdStrBuf::AppendChar(), C4S_MaxDefinitions, StdStrBuf::Copy(), StdStrBuf::getLength(), and LocalOnly.
Referenced by C4Game::OpenScenario(), and C4StartupScenSelDlg::StartScenario().
| std::list< const char * > C4SDefinitions::GetModulesAsList | ( | ) | const |
| void C4SDefinitions::SetModules | ( | const char * | szList, |
| const char * | szRelativeToPath = nullptr, |
||
| const char * | szRelativeToPath2 = nullptr |
||
| ) |
Definition at line 464 of file C4Scenario.cpp.
References _MAX_PATH, C4S_MaxDefinitions, GetRelativePathS(), LocalOnly, SCopy(), SGetModule(), and SModuleCount().
| bool C4SDefinitions::AllowUserChange |
Definition at line 93 of file C4Scenario.h.
Referenced by CompileFunc(), Default(), C4Game::OpenScenario(), and C4StartupScenSelDlg::StartScenario().
| bool C4SDefinitions::LocalOnly |
Definition at line 92 of file C4Scenario.h.
Referenced by CompileFunc(), Default(), GetModules(), GetModulesAsList(), and SetModules().
| C4IDList C4SDefinitions::SkipDefs |
Definition at line 94 of file C4Scenario.h.
Referenced by CompileFunc(), and Default().