mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-17 03:53:07 +01:00
Forward declare C functions for GCC's sake
This commit is contained in:
@@ -23,8 +23,6 @@ namespace Cursors
|
||||
constexpr sint32 CURSOR_WIDTH = 32;
|
||||
constexpr sint32 CURSOR_HEIGHT = 32;
|
||||
|
||||
static const CursorData * RawCursorData[CURSOR_COUNT];
|
||||
|
||||
static SDL_Cursor * _loadedCursors[CURSOR_COUNT];
|
||||
static bool _initialised = false;
|
||||
static CURSOR_ID _currentCursor = CURSOR_UNDEFINED;
|
||||
|
||||
@@ -74,11 +74,18 @@ namespace Cursors
|
||||
void SetCurrentCursor(CURSOR_ID cursorId);
|
||||
}
|
||||
|
||||
#else
|
||||
#endif
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C"
|
||||
{
|
||||
#endif
|
||||
|
||||
void cursors_initialise();
|
||||
void cursors_dispose();
|
||||
int cursors_getcurrentcursor();
|
||||
void cursors_setcurrentcursor(int cursorId);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user