1
0
Fork 1
mirror of https://github.com/TES3MP/openmw-tes3mp.git synced 2025-01-20 07:53:51 +00:00

Fix build for Windows server

This commit is contained in:
David Cernat 2016-08-30 08:01:34 +03:00
parent 1186d09ec0
commit 32ce7e97a8
2 changed files with 3 additions and 3 deletions

View file

@ -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,);

View file

@ -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;