mirror of https://github.com/OpenRCT2/OpenRCT2.git
Fix compilation of sprite.cpp
This commit is contained in:
parent
6a0f934a5f
commit
b79e714740
|
@ -270,7 +270,6 @@ extern sint32 gPickupPeepX;
|
|||
extern sint32 gPickupPeepY;
|
||||
|
||||
extern rct_g1_element *g1Elements;
|
||||
extern rct_gx g2;
|
||||
|
||||
extern rct_drawpixelinfo gScreenDPI;
|
||||
extern rct_drawpixelinfo gWindowDPI;
|
||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -495,7 +495,7 @@ utf8 *platform_open_directory_browser(utf8 *title) {
|
|||
return return_value;
|
||||
}
|
||||
|
||||
void platform_show_messagebox(char *message) {
|
||||
void platform_show_messagebox(const char * message) {
|
||||
size_t size;
|
||||
dialog_type dtype;
|
||||
char cmd[MAX_PATH];
|
||||
|
|
|
@ -94,7 +94,7 @@ void platform_posix_sub_resolve_openrct_data_path(utf8 *out, size_t size) {
|
|||
}
|
||||
}
|
||||
|
||||
void platform_show_messagebox(char *message)
|
||||
void platform_show_messagebox(const char * message)
|
||||
{
|
||||
@autoreleasepool
|
||||
{
|
||||
|
|
|
@ -193,7 +193,7 @@ void platform_resolve_openrct_data_path();
|
|||
void platform_get_openrct_data_path(utf8 *outPath, size_t outSize);
|
||||
void platform_get_user_directory(utf8 *outPath, const utf8 *subDirectory, size_t outSize);
|
||||
utf8* platform_get_username();
|
||||
void platform_show_messagebox(utf8 *message);
|
||||
void platform_show_messagebox(const utf8 * message);
|
||||
bool platform_open_common_file_dialog(utf8 *outFilename, file_dialog_desc *desc, size_t outSize);
|
||||
utf8 *platform_open_directory_browser(utf8 *title);
|
||||
uint8 platform_get_locale_currency();
|
||||
|
|
|
@ -590,7 +590,7 @@ void platform_get_user_directory(utf8 *outPath, const utf8 *subDirectory, size_t
|
|||
}
|
||||
}
|
||||
|
||||
void platform_show_messagebox(utf8 *message)
|
||||
void platform_show_messagebox(const utf8 * message)
|
||||
{
|
||||
MessageBoxA(windows_get_window_handle(), message, "OpenRCT2", MB_OK);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue