Fix build for Windows server

pull/58/head
David Cernat 8 years ago
parent 1186d09ec0
commit 32ce7e97a8

@ -9,7 +9,7 @@
void GUIFunctions::MessageBox(unsigned short pid, int id, const char *label) noexcept void GUIFunctions::_MessageBox(unsigned short pid, int id, const char *label) noexcept
{ {
Player *player; Player *player;
GET_PLAYER(pid, player,); GET_PLAYER(pid, player,);

@ -6,7 +6,7 @@
#define OPENMW_GUI_HPP #define OPENMW_GUI_HPP
#define GUIFUNCTIONS \ #define GUIFUNCTIONS \
{"MessageBox", GUIFunctions::MessageBox},\ {"_MessageBox", GUIFunctions::_MessageBox},\
{"CustomMessageBox", GUIFunctions::CustomMessageBox},\ {"CustomMessageBox", GUIFunctions::CustomMessageBox},\
{"InputDialog", GUIFunctions::InputDialog},\ {"InputDialog", GUIFunctions::InputDialog},\
{"SetMapVisibility", GUIFunctions::SetMapVisibility},\ {"SetMapVisibility", GUIFunctions::SetMapVisibility},\
@ -15,7 +15,7 @@
class GUIFunctions class GUIFunctions
{ {
public: public:
static void MessageBox(unsigned short pid, int id, const char *label) noexcept; static void _MessageBox(unsigned short pid, int id, const char *label) noexcept;
static void CustomMessageBox(unsigned short pid, int id, const char *label, const char *buttons) noexcept; static void CustomMessageBox(unsigned short pid, int id, const char *label, const char *buttons) noexcept;
static void InputDialog(unsigned short pid, int id, const char *label) noexcept; static void InputDialog(unsigned short pid, int id, const char *label) noexcept;

Loading…
Cancel
Save