/** * * rct2: 0x006ED7E5 */ void gfx_invalidate_screen() { int width = RCT2_GLOBAL(RCT2_ADDRESS_SCREEN_WIDTH, sint16); int height = RCT2_GLOBAL(RCT2_ADDRESS_SCREEN_HEIGHT, sint16); gfx_set_dirty_blocks(0, 0, width, height); }
/** * Invalidates the specified window. * rct2: 0x006EB31A * * @param window The window to invalidate (esi). */ void window_invalidate(rct_window *window) { if (window != NULL) gfx_set_dirty_blocks(window->x, window->y, window->x + window->width, window->y + window->height); }