diff --git a/apps/openmw-mp/CMakeLists.txt b/apps/openmw-mp/CMakeLists.txt index 5ca39ddf6..b213a39ac 100644 --- a/apps/openmw-mp/CMakeLists.txt +++ b/apps/openmw-mp/CMakeLists.txt @@ -70,7 +70,7 @@ set(SERVER set(SERVER_HEADER Script/Types.hpp Script/Script.hpp Script/SystemInterface.hpp - Script/ScriptFunction.hpp Script/Platform.hpp Script/Language.hpp + Script/ScriptFunction.hpp Script/Platform.h Script/Language.hpp Script/ScriptFunctions.hpp Script/API/TimerAPI.hpp Script/API/PublicFnAPI.hpp ${LuaScript_Headers} ${NativeScript_Headers} diff --git a/apps/openmw-mp/Script/API/TimerAPI.hpp b/apps/openmw-mp/Script/API/TimerAPI.hpp index 4db744678..17f450c0e 100644 --- a/apps/openmw-mp/Script/API/TimerAPI.hpp +++ b/apps/openmw-mp/Script/API/TimerAPI.hpp @@ -41,7 +41,7 @@ namespace mwmp #if defined(ENABLE_LUA) static int CreateTimerLua(lua_State *lua, ScriptFuncLua callback, long msec, const std::string& def, std::vector args); #endif - static int CreateTimer(ScriptFunc callback, long msec, const std::string& def, std::vector args); + static int CreateTimer(ScriptFunc callback, long msec, const std::string& def, const std::vector &args); static void FreeTimer(int timerid); static void ResetTimer(int timerid, long msec); static void StartTimer(int timerid); diff --git a/apps/openmw-mp/Script/Functions/Actors.cpp b/apps/openmw-mp/Script/Functions/Actors.cpp index 08c014542..1b50eaadb 100644 --- a/apps/openmw-mp/Script/Functions/Actors.cpp +++ b/apps/openmw-mp/Script/Functions/Actors.cpp @@ -8,7 +8,7 @@ #include -#include "Actors.hpp" +#include "Actors.h" using namespace mwmp; diff --git a/apps/openmw-mp/Script/Functions/Actors.hpp b/apps/openmw-mp/Script/Functions/Actors.h similarity index 78% rename from apps/openmw-mp/Script/Functions/Actors.hpp rename to apps/openmw-mp/Script/Functions/Actors.h index 6915c689a..d976b06e4 100644 --- a/apps/openmw-mp/Script/Functions/Actors.hpp +++ b/apps/openmw-mp/Script/Functions/Actors.h @@ -1,7 +1,7 @@ #ifndef OPENMW_ACTORAPI_HPP #define OPENMW_ACTORAPI_HPP -#include