maint: update lua

This commit is contained in:
Diavolo 2022-12-09 15:44:00 +01:00
parent c17787c206
commit a2674e5d68
No known key found for this signature in database
GPG Key ID: FA77F074E98D98A5
2 changed files with 16 additions and 9 deletions

View File

@ -42,7 +42,7 @@ workspace "open-iw5"
objdir "%{wks.location}/obj" objdir "%{wks.location}/obj"
targetdir "%{wks.location}/bin/%{cfg.platform}/%{cfg.buildcfg}" targetdir "%{wks.location}/bin/%{cfg.platform}/%{cfg.buildcfg}"
configurations { "Debug", "Release" } configurations {"Debug", "Release"}
language "C++" language "C++"
cppdialect "C++20" cppdialect "C++20"
@ -65,19 +65,19 @@ workspace "open-iw5"
} }
filter "platforms:Win*" filter "platforms:Win*"
defines { "_WINDOWS", "WIN32" } defines {"_WINDOWS", "WIN32"}
filter {} filter {}
filter "configurations:Release" filter "configurations:Release"
optimize "Full" optimize "Size"
buildoptions { "/Os" } buildoptions {"/Os"}
defines { "NDEBUG" } defines {"NDEBUG"}
flags { "FatalCompileWarnings" } flags {"FatalCompileWarnings"}
filter {} filter {}
filter "configurations:Debug" filter "configurations:Debug"
optimize "Debug" optimize "Debug"
defines { "DEBUG", "_DEBUG" } defines {"DEBUG", "_DEBUG"}
filter {} filter {}
project "open-iw5" project "open-iw5"
@ -87,8 +87,13 @@ workspace "open-iw5"
pchheader "std_include.hpp" pchheader "std_include.hpp"
pchsource "src/std_include.cpp" pchsource "src/std_include.cpp"
linkoptions "/IGNORE:4254 /DYNAMICBASE:NO /SAFESEH:NO /LARGEADDRESSAWARE" linkoptions {
linkoptions "/LAST:.main" "/IGNORE:4254",
"/DYNAMICBASE:NO",
"/SAFESEH:NO",
"/LARGEADDRESSAWARE",
"/LAST:.main"
}
files { files {
"./src/**.rc", "./src/**.rc",

View File

@ -3,6 +3,8 @@
class test_clients final : public module class test_clients final : public module
{ {
public: public:
static_assert(offsetof(game::native::mp::client_t, bIsTestClient) == 0x41CB4);
void post_load() override; void post_load() override;
private: private: