mirror of https://github.com/OpenRCT2/OpenRCT2.git
Forward declare C functions for GCC's sake
This commit is contained in:
parent
9b552ea6e2
commit
62de531b4a
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue