From 10d7e68dd566deaa74315f12a6a6ff6cfec89a39 Mon Sep 17 00:00:00 2001 From: Koncord Date: Tue, 25 Dec 2018 04:36:57 +0800 Subject: [PATCH] [Server] Add Windows support for Mono API --- apps/openmw-mp/Script/Functions/Actors.hpp | 162 +++++++------ apps/openmw-mp/Script/Functions/Books.hpp | 14 +- apps/openmw-mp/Script/Functions/Cells.hpp | 26 +- apps/openmw-mp/Script/Functions/CharClass.hpp | 34 +-- apps/openmw-mp/Script/Functions/Chat.hpp | 8 +- apps/openmw-mp/Script/Functions/Dialogue.hpp | 18 +- apps/openmw-mp/Script/Functions/Factions.hpp | 32 +-- apps/openmw-mp/Script/Functions/GUI.hpp | 32 +-- apps/openmw-mp/Script/Functions/Items.hpp | 58 ++--- apps/openmw-mp/Script/Functions/Mechanics.hpp | 54 +++-- .../Script/Functions/Miscellaneous.hpp | 16 +- apps/openmw-mp/Script/Functions/Objects.hpp | 228 +++++++++--------- apps/openmw-mp/Script/Functions/Positions.hpp | 32 +-- apps/openmw-mp/Script/Functions/Quests.hpp | 44 ++-- .../Script/Functions/RecordsDynamic.hpp | 172 ++++++------- apps/openmw-mp/Script/Functions/Server.hpp | 48 ++-- apps/openmw-mp/Script/Functions/Settings.hpp | 18 +- .../openmw-mp/Script/Functions/Shapeshift.hpp | 20 +- apps/openmw-mp/Script/Functions/Spells.hpp | 18 +- apps/openmw-mp/Script/Functions/Stats.hpp | 114 ++++----- apps/openmw-mp/Script/Functions/Timer.hpp | 17 +- .../openmw-mp/Script/Functions/Worldstate.hpp | 84 +++---- apps/openmw-mp/Script/Platform.hpp | 12 +- 23 files changed, 657 insertions(+), 604 deletions(-) diff --git a/apps/openmw-mp/Script/Functions/Actors.hpp b/apps/openmw-mp/Script/Functions/Actors.hpp index df2d3dcc4..9191239ad 100644 --- a/apps/openmw-mp/Script/Functions/Actors.hpp +++ b/apps/openmw-mp/Script/Functions/Actors.hpp @@ -1,6 +1,8 @@ #ifndef OPENMW_ACTORAPI_HPP #define OPENMW_ACTORAPI_HPP +#include