mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-15 11:03:00 +01:00
Fix 'No real prototype' warnings
This commit is contained in:
committed by
Michael Steenbeek
parent
ebf479d5bf
commit
afbe1dda0f
@@ -713,14 +713,11 @@ void platform_set_cursor(uint8 cursor)
|
||||
|
||||
void platform_refresh_video()
|
||||
{
|
||||
int width = gScreenWidth;
|
||||
int height = gScreenHeight;
|
||||
|
||||
SDL_SetHint(SDL_HINT_VIDEO_MINIMIZE_ON_FOCUS_LOSS, gConfigGeneral.minimize_fullscreen_focus_loss ? "1" : "0");
|
||||
|
||||
drawing_engine_dispose();
|
||||
drawing_engine_init();
|
||||
drawing_engine_resize(width, height);
|
||||
drawing_engine_resize();
|
||||
drawing_engine_set_palette(gPalette);
|
||||
gfx_invalidate_screen();
|
||||
}
|
||||
|
||||
@@ -972,7 +972,7 @@ static rct_window *ride_create_or_find_construction_window(int rideIndex)
|
||||
if (w == NULL || w->number != rideIndex) {
|
||||
window_close_construction_windows();
|
||||
_currentRideIndex = rideIndex;
|
||||
w = window_ride_construction_open(rideIndex);
|
||||
w = window_ride_construction_open();
|
||||
} else {
|
||||
sub_6C9627();
|
||||
_currentRideIndex = rideIndex;
|
||||
|
||||
@@ -79,7 +79,7 @@ static void mapgen_blob(int cx, int cy, int size, int height);
|
||||
static void mapgen_smooth_height(int iterations);
|
||||
static void mapgen_set_height();
|
||||
|
||||
static void mapgen_simplex();
|
||||
static void mapgen_simplex(mapgen_settings *settings);
|
||||
|
||||
static int _heightSize;
|
||||
static uint8 *_height;
|
||||
|
||||
Reference in New Issue
Block a user