mirror of
https://github.com/Llennpie/Saturn.git
synced 2025-01-23 08:02:02 -05:00
Fixed act selector not appearing on BOB
This commit is contained in:
parent
447cc79a81
commit
208698758d
3 changed files with 6 additions and 5 deletions
|
@ -572,7 +572,7 @@ s32 save_file_get_course_star_count(s32 fileIndex, s32 courseIndex) {
|
|||
}
|
||||
|
||||
s32 save_file_get_total_star_count(s32 fileIndex, s32 minCourse, s32 maxCourse) {
|
||||
/*s32 count = 0;
|
||||
s32 count = 0;
|
||||
|
||||
// Get standard course star count.
|
||||
for (; minCourse <= maxCourse; minCourse++) {
|
||||
|
@ -580,9 +580,7 @@ s32 save_file_get_total_star_count(s32 fileIndex, s32 minCourse, s32 maxCourse)
|
|||
}
|
||||
|
||||
// Add castle secret star count.
|
||||
return save_file_get_course_star_count(fileIndex, -1) + count;*/
|
||||
|
||||
return configFakeStarCount;
|
||||
return save_file_get_course_star_count(fileIndex, -1) + count;
|
||||
}
|
||||
|
||||
void save_file_set_flags(u32 flags) {
|
||||
|
|
|
@ -88,7 +88,7 @@ bool configPrecacheRes = true;
|
|||
#endif
|
||||
unsigned int configEditorTheme = 1; // Moon by default
|
||||
unsigned int configMCameraMode = 0; // keyboard is better
|
||||
bool configEditorFastApply = false;
|
||||
bool configEditorFastApply = true;
|
||||
bool configEditorAutoModelCc = false;
|
||||
bool configEditorAutoSpark = true;
|
||||
bool configEditorShowTips = true;
|
||||
|
@ -96,6 +96,7 @@ bool configEditorNearClipping = false;
|
|||
unsigned int configFps60 = true;
|
||||
bool configEditorInterpolateAnims = false;
|
||||
bool configEditorAlwaysChroma = false;
|
||||
bool configEditorExpressionPreviews = false;
|
||||
unsigned int configFakeStarCount = 0;
|
||||
bool configUnlockDoors = true;
|
||||
#ifdef BETTERCAMERA
|
||||
|
@ -166,6 +167,7 @@ static const struct ConfigOption options[] = {
|
|||
{.name = "editor_near_clipping", .type = CONFIG_TYPE_BOOL, .uintValue = &configEditorNearClipping},
|
||||
{.name = "editor_interpolate_anims", .type = CONFIG_TYPE_BOOL, .uintValue = &configEditorInterpolateAnims},
|
||||
{.name = "editor_always_chroma", .type = CONFIG_TYPE_BOOL, .uintValue = &configEditorAlwaysChroma},
|
||||
{.name = "editor_preview_expressions", .type = CONFIG_TYPE_BOOL, .uintValue = &configEditorExpressionPreviews},
|
||||
{.name = "fake_star_count", .type = CONFIG_TYPE_UINT, .uintValue = &configFakeStarCount},
|
||||
{.name = "fake_unlock_doors", .type = CONFIG_TYPE_BOOL, .uintValue = &configUnlockDoors},
|
||||
#ifdef BETTERCAMERA
|
||||
|
|
|
@ -62,6 +62,7 @@ extern bool configEditorNearClipping;
|
|||
extern bool configEditorShowTips;
|
||||
extern unsigned int configFps60;
|
||||
extern bool configEditorInterpolateAnims;
|
||||
extern bool configEditorExpressionPreviews;
|
||||
extern unsigned int configFakeStarCount;
|
||||
extern bool configUnlockDoors;
|
||||
extern bool configEditorAlwaysChroma;
|
||||
|
|
Loading…
Reference in a new issue