mirror of
https://github.com/OpenDriver2/REDRIVER2.git
synced 2024-11-22 18:32:42 +01:00
- ensure game physics consistency between debug and release by changing optimization options
This commit is contained in:
parent
0aecea7ccf
commit
dbab6de536
@ -18,6 +18,17 @@ workspace "REDRIVER2"
|
||||
filter "system:Windows"
|
||||
defines { "USE_32_BIT_ADDR", "PGXP" }
|
||||
|
||||
filter "configurations:Debug"
|
||||
defines {
|
||||
"DEBUG",
|
||||
}
|
||||
symbols "On"
|
||||
|
||||
filter "configurations:Release"
|
||||
defines {
|
||||
"NDEBUG",
|
||||
}
|
||||
|
||||
-- EMULATOR layer
|
||||
project "PSX"
|
||||
kind "StaticLib"
|
||||
@ -60,6 +71,9 @@ project "PSX"
|
||||
OPENAL_DIR.."/libs/Win32",
|
||||
}
|
||||
|
||||
filter "configurations:Release"
|
||||
optimize "Full"
|
||||
|
||||
-- game iteslf
|
||||
project "REDRIVER2"
|
||||
kind "ConsoleApp"
|
||||
@ -107,16 +121,13 @@ project "REDRIVER2"
|
||||
|
||||
filter "configurations:Debug"
|
||||
defines {
|
||||
"DEBUG",
|
||||
"DEBUG_OPTIONS",
|
||||
"COLLISION_DEBUG"
|
||||
}
|
||||
symbols "On"
|
||||
|
||||
filter "configurations:Release"
|
||||
defines {
|
||||
"NDEBUG",
|
||||
"DEBUG_OPTIONS",
|
||||
--"COLLISION_DEBUG"
|
||||
}
|
||||
optimize "On"
|
||||
optimize "Size" -- code optimizations are disabled due to calculation differences for replays
|
Loading…
Reference in New Issue
Block a user