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