Commit Graph

45 Commits

Author SHA1 Message Date
Alibek Omarov bfcaba54dc wscript: move werror flags into uselib 2024-01-30 17:24:17 +03:00
Alibek Omarov a2e1071808 game_launch: force link libm on Linux to workaround HL25 bug
HL25 doesn't link libm probably because of toolchain updates, where
--Wl,--as-needed became the default.

hl_linux is linked to libm which is why they probably didn't noticed this bug.

Workaround until Valve fixes it: https://github.com/ValveSoftware/halflife/issues/3492
2023-11-19 23:43:46 +03:00
Alibek Omarov 13f8a02cdf wscript: better Sailfish/AuroraOS macros 2023-06-02 06:16:40 +03:00
Alibek Omarov 8caa2d142f scripts: sailfish: initial SailfishOS support 2023-06-02 05:37:13 +03:00
Alibek Omarov 92b72a7d33 game_launch: add icons that were used for Android port 2023-04-30 00:56:28 +03:00
Alibek Omarov f571a41cf3 wscript: allow to setup engine default gamedir during configure 2022-09-11 02:12:44 +03:00
Alibek Omarov 7ed0499aa9 game_launch: wscript: fix Windows build 2022-09-10 22:52:52 +03:00
Alibek Omarov 3c8fe508f0 game_launch: convert to include targets usage 2022-09-10 22:52:52 +03:00
Alibek Omarov fc132e87f4 engine, game_launch: fix rpath usage 2022-07-26 02:54:20 +03:00
Alibek Omarov 7a88379917 game_launch: fix win32 build 2022-06-13 04:21:57 +03:00
Alibek Omarov df83b155a1 game_launch: rip out execv code 2022-06-13 03:26:44 +03:00
Alibek Omarov 8eec5389fe game_launch: fix gamedir pointer being lost 2022-06-12 03:07:43 +03:00
Alibek Omarov 7c9f5f8ab1 engine: remove LoadLibrary macros, to avoid possible misuse. Although macros moved to game_launch, it's part of it's own problem from now 2022-06-11 03:25:57 +03:00
Velaron c10b70cb61 game_launch: explicitly check for SDL2 on win32 platforms 2022-06-10 23:25:43 +03:00
Alibek Omarov f467d0c807 game_launch: fix Windows build (as suggested by @SNMetamorph) 2022-06-09 20:27:27 +03:00
Alibek Omarov a717b7fc49 game_launch: declare environ variable, by standard it must be declared by user program 2022-06-09 14:44:04 +03:00
Alibek Omarov 07a9c4602d game_launch: change game with execve on supported platforms 2022-06-09 13:42:16 +03:00
Alibek Omarov 8169c2a40b wscript: set rpath to current folder, LD_LIBRARY_PATH is unneeded anymore
Fix README and AppImage launch script accordingly
2022-03-03 05:57:51 +03:00
exstrim401 a1c948e591 game_launch: add const to game var 2021-06-07 19:39:52 +03:00
exstrim401 db3e71bfcc engine: Removed unused Haiku variables 2021-06-07 19:39:52 +03:00
exstrim401 2b436dced0 engine: Remove XASH3D_MIRRORDIR
also make XASH3D_GAME for all platforms
2021-06-07 19:39:52 +03:00
exstrim401 a89f9fa181 engine: Haiku BeGameLauncher support 2021-06-07 19:39:52 +03:00
exstrim401 b7922368bd
engine: Haiku OS support (#478) 2021-06-05 10:54:37 +03:00
Gleb Mazovetskiy 11194f339d game_launch: Add a --disable-menu-changegame build option
This option is useful when xash3d is launched externally by a script
that performs additional setup.
2021-01-07 22:27:21 +03:00
Alibek Omarov 19303f7bd7 game_launch: fix Win32 main 2020-02-24 16:48:30 +03:00
Alibek Omarov a51c5d93fc Revert "game_launch: check for Platform_Main before Host_Main"
This reverts commit 6aa61657e0.
2019-11-07 05:06:51 +03:00
Alibek Omarov 55dbb2ca3f Revert "game_launch: fix start up"
This reverts commit a46e459124.
2019-11-07 05:06:43 +03:00
Alibek Omarov a46e459124 game_launch: fix start up 2019-11-02 08:56:07 +03:00
Alibek Omarov 6aa61657e0 game_launch: check for Platform_Main before Host_Main 2019-11-02 08:56:07 +03:00
Alibek Omarov a862e641f1 game_launch: fix build on windows 2019-08-09 02:59:40 +03:00
Jonathan Poncelet 37255354d4 Various: Fixed obscure crashes on Mac
There were a couple of out-of-range/post-free accesses going on, which caused the Mac
build to crash when optimisations were turned on.
2019-07-12 18:18:42 +03:00
Alibek Omarov b8c0d7f59e port: clean-up old port header 2019-07-01 05:50:54 +03:00
Alibek Omarov 17f719558c wscript: move build env setup to main wscript 2019-03-25 01:25:44 +03:00
Alibek Omarov 2c17dce25b wscript: check for dedicated or singlebinary before recurse into subdirectory, add a chance to skip some subprojects on configuration stage 2019-02-19 17:49:09 +03:00
Alibek Omarov 6debd84a2e game_launch: wscript: refactor, use shared get_subproject_name 2018-12-13 08:03:51 +03:00
Alibek Omarov 776d1cb52c wscript: try to fix windres searching for game_launch, fix osx 32 bit compiling 2018-11-19 01:58:40 +03:00
Alibek Omarov 81e142936d wscript: use lower-case win32 libraries names for crosscompiling from Linux 2018-11-19 00:46:29 +03:00
Alibek Omarov 2b085cb69e game_launch: remove SDL for simplicity 2018-11-18 22:34:16 +03:00
a1batross ca501c0378 wscript: add possibility to select windows subsystem during link, add define to use WinXP SDK. This commit forces WinXP compability on latest Visual Studio 2018-10-24 20:12:32 +03:00
Alibek Omarov abda3b52ab game_launch: remove two different names for engine DLLs 2018-10-10 00:41:18 +03:00
Alibek Omarov 8ea5536b42 wscript: fix win32 build 2018-10-08 22:39:33 +03:00
Alibek Omarov 572705bc08 MSVC & Win32 wscript fixes 2018-06-14 20:34:51 +03:00
Alibek Omarov 473810fc0c MSVC & Win32 related fixes 2018-06-14 20:32:40 +03:00
Alibek Omarov 0db8d95bc9 Update mainui. Add possibility to install engine ignoring *nix file hierarchy in wscript. Fix debugging. 2018-05-29 01:02:32 +03:00
Alibek Omarov 0c058f2eca Add waf buildscripts, add updated game_launch 2018-05-28 23:13:50 +03:00