1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-24 23:34:37 +01:00

embed OpenRCT2 icon for Windows (#3372)

Embeds the OpenRCT2 icon file using Win32 native resources and sets the window icon to it.
This commit is contained in:
Ted John
2016-04-21 19:17:26 +01:00
parent d7cd3d0662
commit b499a4589f
8 changed files with 138 additions and 1 deletions

View File

@@ -775,6 +775,7 @@ static void platform_create_window()
SDL_SetWindowGrab(gWindow, gConfigGeneral.trap_cursor ? SDL_TRUE : SDL_FALSE);
SDL_SetWindowMinimumSize(gWindow, 720, 480);
platform_init_window_icon();
// Set the update palette function pointer
RCT2_GLOBAL(0x009E2BE4, update_palette_func) = platform_update_palette;