@@ -256,7 +256,7 @@ class CCC_ALifeTimeFactor : public IConsole_Command
256256 }
257257
258258 virtual void Save (IWriter* F){};
259- virtual void Status (TStatus& S)
259+ void GetStatus (TStatus& S) override
260260 {
261261 if (!g_pGameLevel)
262262 return ;
@@ -1086,7 +1086,7 @@ class CCC_PHGravity : public IConsole_Command
10861086#endif
10871087 physics_world ()->SetGravity (float (atof (args)));
10881088 }
1089- virtual void Status (TStatus& S)
1089+ void GetStatus (TStatus& S) override
10901090 {
10911091 if (physics_world ())
10921092 xr_sprintf (S, " %3.5f" , physics_world ()->Gravity ());
@@ -1114,7 +1114,7 @@ class CCC_PHFps : public IConsole_Command
11141114 if (physics_world ())
11151115 physics_world ()->SetStep (ph_console::ph_step_time);
11161116 }
1117- virtual void Status (TStatus& S) { xr_sprintf (S, " %3.5f" , 1 .f / ph_console::ph_step_time); }
1117+ void GetStatus (TStatus& S) override { xr_sprintf (S, " %3.5f" , 1 .f / ph_console::ph_step_time); }
11181118};
11191119
11201120#ifdef DEBUG
@@ -1217,7 +1217,7 @@ class CCC_Script : public IConsole_Command
12171217 }
12181218 }
12191219
1220- virtual void Status (TStatus& S) { xr_strcpy (S, " <script_name> (Specify script name!)" ); }
1220+ void GetStatus (TStatus& S) override { xr_strcpy (S, " <script_name> (Specify script name!)" ); }
12211221 virtual void Save (IWriter* F) {}
12221222 virtual void fill_tips (vecTips& tips, u32 mode) { get_files_list (tips, " $game_scripts$" , " .script" ); }
12231223};
@@ -1257,7 +1257,7 @@ class CCC_ScriptCommand : public IConsole_Command
12571257 }
12581258 } // void Execute
12591259
1260- virtual void Status (TStatus& S) { xr_strcpy (S, " <script_name.function()> (Specify script and function name!)" ); }
1260+ void GetStatus (TStatus& S) override { xr_strcpy (S, " <script_name.function()> (Specify script and function name!)" ); }
12611261 virtual void Save (IWriter* F) {}
12621262 virtual void fill_tips (vecTips& tips, u32 mode)
12631263 {
@@ -1281,7 +1281,7 @@ class CCC_TimeFactor : public IConsole_Command
12811281 clamp (time_factor, EPS, 1000 .f );
12821282 Device.time_factor (time_factor);
12831283 }
1284- virtual void Status (TStatus& S) { xr_sprintf (S, sizeof (S), " %f" , Device.time_factor ()); }
1284+ void GetStatus (TStatus& S) override { xr_sprintf (S, sizeof (S), " %f" , Device.time_factor ()); }
12851285 virtual void Info (TInfo& I) { xr_strcpy (I, " [0.001 - 1000.0]" ); }
12861286 virtual void fill_tips (vecTips& tips, u32 mode)
12871287 {
@@ -1352,7 +1352,7 @@ struct CCC_StartTimeSingle : public IConsole_Command
13521352 Level ().SetGameTimeFactor (g_qwStartGameTime, g_fTimeFactor);
13531353 }
13541354
1355- virtual void Status (TStatus& S)
1355+ void GetStatus (TStatus& S) override
13561356 {
13571357 u32 year = 1 , month = 1 , day = 1 , hours = 0 , mins = 0 , secs = 0 , milisecs = 0 ;
13581358 split_time (g_qwStartGameTime, year, month, day, hours, mins, secs, milisecs);
0 commit comments