mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-21 22:13:07 +01:00
Tidied up gfx_string. Deleted control char enum. Now uses string_ids enum to prevent multiple defs.
This commit is contained in:
@@ -999,10 +999,10 @@ void window_draw(rct_window *w, int left, int top, int right, int bottom)
|
||||
RCT2_GLOBAL(0x01420070, sint32) = v->x;
|
||||
|
||||
// Text colouring
|
||||
RCT2_GLOBAL(0x0141F740, uint8) = v->colours[0] & 0x7F;
|
||||
RCT2_GLOBAL(0x0141F741, uint8) = v->colours[1] & 0x7F;
|
||||
RCT2_GLOBAL(0x0141F742, uint8) = v->colours[2] & 0x7F;
|
||||
RCT2_GLOBAL(0x0141F743, uint8) = v->colours[3] & 0x7F;
|
||||
RCT2_GLOBAL(RCT2_ADDRESS_CURRENT_WINDOW_COLOUR_1, uint8) = v->colours[0] & 0x7F;
|
||||
RCT2_GLOBAL(RCT2_ADDRESS_CURRENT_WINDOW_COLOUR_2, uint8) = v->colours[1] & 0x7F;
|
||||
RCT2_GLOBAL(RCT2_ADDRESS_CURRENT_WINDOW_COLOUR_3, uint8) = v->colours[2] & 0x7F;
|
||||
RCT2_GLOBAL(RCT2_ADDRESS_CURRENT_WINDOW_COLOUR_4, uint8) = v->colours[3] & 0x7F;
|
||||
|
||||
// Invalidate the window
|
||||
RCT2_CALLPROC_X(v->event_handlers[WE_INVALIDATE], 0, 0, 0, 0, (int)v, 0, 0);
|
||||
|
||||
Reference in New Issue
Block a user