mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-20 13:33:02 +01:00
Misc cleanup of RCT2_GLOBAL
This commit is contained in:
@@ -14,7 +14,6 @@
|
||||
*****************************************************************************/
|
||||
#pragma endregion
|
||||
|
||||
#include "../addresses.h"
|
||||
#include "../audio/audio.h"
|
||||
#include "../cheats.h"
|
||||
#include "../game.h"
|
||||
@@ -245,7 +244,7 @@ void window_map_open()
|
||||
w->map.rotation = get_current_rotation();
|
||||
|
||||
window_map_init_map();
|
||||
RCT2_GLOBAL(0x00F64F05, uint8) = 0;
|
||||
gWindowSceneryRotation = 0;
|
||||
window_map_center_on_view_point();
|
||||
|
||||
// Reset land tool size
|
||||
|
||||
@@ -637,14 +637,10 @@ static void window_ride_list_scrollpaint(rct_window *w, rct_drawpixelinfo *dpi,
|
||||
}
|
||||
break;
|
||||
case INFORMATION_TYPE_RELIABILITY:
|
||||
// edx = RCT2_GLOBAL(0x009ACFA4 + (ride->var_001 * 4), uint32);
|
||||
|
||||
set_format_arg(2, uint16, ride->reliability >> 8);
|
||||
formatSecondary = STR_RELIABILITY_LABEL;
|
||||
break;
|
||||
case INFORMATION_TYPE_DOWN_TIME:
|
||||
// edx = RCT2_GLOBAL(0x009ACFA4 + (ride->var_001 * 4), uint32);
|
||||
|
||||
set_format_arg(2, uint16, ride->downtime);
|
||||
formatSecondary = STR_DOWN_TIME_LABEL;
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user