Fix 'No real prototype' warnings

This commit is contained in:
Ferdinand Thiessen authored and Michael Steenbeek committed 2017-01-12 09:52:44 +01:00
1 parent ebf479d5bf
commit afbe1dda0f
3 files changed
+3 -6

No files matched your search

+1 -4
View File
@@ -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();
}
+1 -1
View File
@@ -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;
+1 -1
View File
@@ -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;