Starshatter_Open
Open source Starshatter engine
|
#include <ModConfig.h>
Public Member Functions | |
ModConfig () | |
~ModConfig () | |
int | operator== (const ModConfig &cfg) const |
void | Load () |
void | Save () |
void | FindMods () |
bool | IsDeployed (const char *name) |
void | Deploy () |
void | Undeploy () |
void | Redeploy () |
void | EnableMod (const char *name) |
void | DisableMod (const char *name) |
void | IncreaseModPriority (int mod_index) |
void | DecreaseModPriority (int mod_index) |
List< Text > & | EnabledMods () |
List< Text > & | DisabledMods () |
List< ModInfo > & | GetModInfoList () |
ModInfo * | GetModInfo (const char *filename) |
Static Public Member Functions | |
static const char * | TYPENAME () |
static void | Initialize () |
static void | Close () |
static ModConfig * | GetInstance () |
Definition at line 32 of file ModConfig.h.
ModConfig::ModConfig | ( | ) |
Definition at line 32 of file ModConfig.cpp.
ModConfig::~ModConfig | ( | ) |
Definition at line 41 of file ModConfig.cpp.
|
static |
Definition at line 62 of file ModConfig.cpp.
void ModConfig::DecreaseModPriority | ( | int | mod_index | ) |
Definition at line 364 of file ModConfig.cpp.
void ModConfig::Deploy | ( | ) |
Definition at line 222 of file ModConfig.cpp.
Definition at line 64 of file ModConfig.h.
void ModConfig::DisableMod | ( | const char * | name | ) |
Definition at line 317 of file ModConfig.cpp.
Definition at line 63 of file ModConfig.h.
void ModConfig::EnableMod | ( | const char * | name | ) |
Definition at line 285 of file ModConfig.cpp.
void ModConfig::FindMods | ( | ) |
Definition at line 161 of file ModConfig.cpp.
|
static |
Definition at line 71 of file ModConfig.cpp.
ModInfo * ModConfig::GetModInfo | ( | const char * | filename | ) |
Definition at line 192 of file ModConfig.cpp.
Definition at line 65 of file ModConfig.h.
void ModConfig::IncreaseModPriority | ( | int | mod_index | ) |
Definition at line 352 of file ModConfig.cpp.
|
static |
Definition at line 56 of file ModConfig.cpp.
bool ModConfig::IsDeployed | ( | const char * | name | ) |
Definition at line 207 of file ModConfig.cpp.
void ModConfig::Load | ( | ) |
Definition at line 79 of file ModConfig.cpp.
|
inline |
Definition at line 40 of file ModConfig.h.
void ModConfig::Redeploy | ( | ) |
Definition at line 272 of file ModConfig.cpp.
void ModConfig::Save | ( | ) |
Definition at line 143 of file ModConfig.cpp.
|
inlinestatic |
Definition at line 35 of file ModConfig.h.
void ModConfig::Undeploy | ( | ) |
Definition at line 262 of file ModConfig.cpp.