mirror of
https://github.com/coop-deluxe/sm64coopdx.git
synced 2025-10-30 08:01:01 +00:00
bring back skip_pack_generation
This commit is contained in:
parent
386417edc0
commit
2fca847499
3 changed files with 5 additions and 0 deletions
|
|
@ -4,6 +4,8 @@ extern "C" {
|
||||||
}
|
}
|
||||||
|
|
||||||
void DynOS_Gfx_GeneratePacks(const char* directory) {
|
void DynOS_Gfx_GeneratePacks(const char* directory) {
|
||||||
|
if (configSkipPackGeneration) { return; }
|
||||||
|
|
||||||
LOADING_SCREEN_MUTEX(
|
LOADING_SCREEN_MUTEX(
|
||||||
loading_screen_reset_progress_bar();
|
loading_screen_reset_progress_bar();
|
||||||
snprintf(gCurrLoadingSegment.str, 256, "Generating DynOS Packs In Path:\n\\#808080\\%s", directory);
|
snprintf(gCurrLoadingSegment.str, 256, "Generating DynOS Packs In Path:\n\\#808080\\%s", directory);
|
||||||
|
|
|
||||||
|
|
@ -189,6 +189,7 @@ unsigned int configDjuiScale = 0;
|
||||||
// other
|
// other
|
||||||
unsigned int configRulesVersion = 0;
|
unsigned int configRulesVersion = 0;
|
||||||
bool configCompressOnStartup = false;
|
bool configCompressOnStartup = false;
|
||||||
|
bool configSkipPackGeneration = false;
|
||||||
|
|
||||||
// secrets
|
// secrets
|
||||||
bool configExCoopTheme = false;
|
bool configExCoopTheme = false;
|
||||||
|
|
@ -320,6 +321,7 @@ static const struct ConfigOption options[] = {
|
||||||
// other
|
// other
|
||||||
{.name = "rules_version", .type = CONFIG_TYPE_UINT, .uintValue = &configRulesVersion},
|
{.name = "rules_version", .type = CONFIG_TYPE_UINT, .uintValue = &configRulesVersion},
|
||||||
{.name = "compress_on_startup", .type = CONFIG_TYPE_BOOL, .boolValue = &configCompressOnStartup},
|
{.name = "compress_on_startup", .type = CONFIG_TYPE_BOOL, .boolValue = &configCompressOnStartup},
|
||||||
|
{.name = "skip_pack_generation", .type = CONFIG_TYPE_BOOL, .boolValue = &configSkipPackGeneration},
|
||||||
};
|
};
|
||||||
|
|
||||||
struct SecretConfigOption {
|
struct SecretConfigOption {
|
||||||
|
|
|
||||||
|
|
@ -137,6 +137,7 @@ extern unsigned int configDjuiScale;
|
||||||
// other
|
// other
|
||||||
extern unsigned int configRulesVersion;
|
extern unsigned int configRulesVersion;
|
||||||
extern bool configCompressOnStartup;
|
extern bool configCompressOnStartup;
|
||||||
|
extern bool configSkipPackGeneration;
|
||||||
|
|
||||||
// secrets
|
// secrets
|
||||||
extern bool configExCoopTheme;
|
extern bool configExCoopTheme;
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue