File tree Expand file tree Collapse file tree 5 files changed +17
-8
lines changed
Expand file tree Collapse file tree 5 files changed +17
-8
lines changed Original file line number Diff line number Diff line change @@ -70,7 +70,7 @@ namespace Settings
7070 spdlog::info (" - FixZBufferPrecision: {}" , FixZBufferPrecision);
7171
7272 spdlog::info (" - SkipIntroLogos: {}" , SkipIntroLogos);
73- spdlog::info (" - CountdownTimerDisable : {}" , CountdownTimerDisable );
73+ spdlog::info (" - DisableCountdownTimer : {}" , DisableCountdownTimer );
7474
7575 spdlog::info (" - FixPegasusClopping: {}" , FixPegasusClopping);
7676 spdlog::info (" - FixC2CRankings: {}" , FixC2CRankings);
@@ -117,7 +117,7 @@ namespace Settings
117117 FixZBufferPrecision = ini.Get (" Graphics" , " FixZBufferPrecision" , std::move (FixZBufferPrecision));
118118
119119 SkipIntroLogos = ini.Get (" Misc" , " SkipIntroLogos" , std::move (SkipIntroLogos));
120- CountdownTimerDisable = ini.Get (" Misc" , " CountdownTimerDisable " , std::move (CountdownTimerDisable ));
120+ DisableCountdownTimer = ini.Get (" Misc" , " DisableCountdownTimer " , std::move (DisableCountdownTimer ));
121121
122122 FixPegasusClopping = ini.Get (" Bugfixes" , " FixPegasusClopping" , std::move (FixPegasusClopping));
123123 FixC2CRankings = ini.Get (" Bugfixes" , " FixC2CRankings" , std::move (FixC2CRankings));
Original file line number Diff line number Diff line change @@ -45,6 +45,15 @@ enum GameState
4545 STATE_SUMOREWARD = 0x24 ,
4646};
4747
48+ enum SOUND_CMD
49+ {
50+ /* 0x0800 */ SND_LOOP = (1 << 11 ),
51+ /* 0x1000 */ SND_PAN_LEFT = (1 << 12 ),
52+ /* 0x2000 */ SND_PAN_RIGHT = (1 << 13 ),
53+ /* 0x4000 */ SND_PAN_LEFTRIGHT = (1 << 14 ),
54+ /* 0x8000 */ SND_STOP = (1 << 15 ),
55+ };
56+
4857typedef struct tagSphere
4958{
5059 float f0;
Original file line number Diff line number Diff line change @@ -14,8 +14,8 @@ class FixPegasusClopping : public Hook
1414 {
1515 SndOff_PEGA.call ();
1616
17- const int SND_STOP = 0x8000 ;
18- Game::PrjSndRequest (SND_STOP | 0x8D ); // 0x8D = clop
17+ constexpr int SfxClop = 0x8D ;
18+ Game::PrjSndRequest (SND_STOP | SfxClop);
1919 }
2020
2121public:
Original file line number Diff line number Diff line change @@ -77,8 +77,8 @@ class CommandLineArguments : public Hook
7777 }
7878 else if (!wcsicmp (argv[i], L" -OuttaTime" )) // same arg as FXT wrapper
7979 {
80- spdlog::info (" CommandLineArguments: CountdownTimerDisable = true" );
81- Settings::CountdownTimerDisable = true ;
80+ spdlog::info (" CommandLineArguments: DisableCountdownTimer = true" );
81+ Settings::DisableCountdownTimer = true ;
8282 }
8383 }
8484 catch (...) {}
@@ -113,7 +113,7 @@ class GameDefaultConfigOverride : public Hook
113113
114114 if (Settings::SkipIntroLogos)
115115 *Game::Sumo_IntroLogosEnable = false ;
116- if (Settings::CountdownTimerDisable )
116+ if (Settings::DisableCountdownTimer )
117117 *Game::Sumo_CountdownTimerEnable = false ;
118118
119119 if (Settings::AutoDetectResolution)
Original file line number Diff line number Diff line change @@ -55,7 +55,7 @@ namespace Settings
5555 inline bool FixZBufferPrecision = true ;
5656
5757 inline bool SkipIntroLogos = false ;
58- inline bool CountdownTimerDisable = false ;
58+ inline bool DisableCountdownTimer = false ;
5959
6060 inline bool FixPegasusClopping = true ;
6161 inline bool FixC2CRankings = true ;
You can’t perform that action at this time.
0 commit comments