2
0
mirror of https://github.com/FWGS/hlsdk-xash3d synced 2024-11-22 01:47:45 +01:00
Commit Graph

853 Commits

Author SHA1 Message Date
9cd751eef1 wscript: don't force 32-bit for OSX users, as OSX don't support launching 32-bit applications since Catalina
Add `-4` or `--32bits` configure flag to specifically target 32-bit engine
Add a fix for VGUI linking from the engine
2024-08-11 18:13:22 +03:00
518a5c185c waf: update tools from engine branch, fix waf 2.1 migration issues, update batch file 2024-08-10 14:23:13 +03:00
adacfd18dd waf: upgrade waf to 2.1 2024-08-10 14:22:30 +03:00
Roman Chistokhodov
c7bf53303a
Reset ammo history slot on HUD reset (#460) 2024-08-02 02:24:15 +00:00
ce1c96c4b2 engine: change mobility API license to Unlicense, as with build.h
See GitHub issue: https://github.com/FWGS/hlsdk-portable/issues/259

Signed-off-by: Alibek Omarov <a1ba.omarov@gmail.com>
2024-07-22 01:06:28 +03:00
65ba93ae77 cdll_int: fix mobile API export
It's supposed to return an integer value, with a non-zero value for error.
2024-07-21 18:31:26 +00:00
ee304c94b6 client: ammo: increase ammobar size depending on sprites size (extra change, not fixed in HL25 yet)
See ValveSoftware/halflife#3728 comment
2024-07-07 17:53:16 +00:00
6a9c596dd3 client: ammo: apply fix for HUD vertical inconsistency (ValveSoftware/halflife#3728) 2024-07-07 17:53:16 +00:00
cd80a6b4bb client: apply HL25 HUD style if hud_allow_hd is set to 1 and there are HD spritesheets are available 2024-07-07 17:53:16 +00:00
5a315a05ea client: hud: detect the availability of HD spritesheets 2024-07-07 17:53:16 +00:00
ea229edb2c client: add hud_allow_hd cvar that increases available HUD spritesheet resolutions up to 1280 and 2560 2024-07-07 17:53:16 +00:00
58bc7ea53e client: ammohistory: fix rendering history with bigger HUD sprites 2024-07-07 17:53:16 +00:00
c299495477 client: ammohistory: properly reset gHR.iHistoryGap in VidInit
This fixes unneeded gaps in ammohistory, after the change of HUD spritesheet
resolution from bigger to smaller
2024-07-07 17:53:16 +00:00
Roman Chistokhodov
5ca6684096
Reset handgrenade frame when setting animation framerate to 0 to avoid leaving grenade in a 'flying' frame. Fix #238 (#458) 2024-07-04 19:59:30 +00:00
Roman Chistokhodov
a4acefb25c
Call DeathMsg for non-VGUI scoreboard (used to highlight the killer) (#456) 2024-06-09 09:53:57 +00:00
Roman Chistokhodov
d774c9e0f9
Fix instant camera movement after closing the VGUI menu (#455) 2024-06-09 09:53:40 +00:00
Roman Chistokhodov
bc9019953d
Implement scroll in non-vgui MOTD for GoldSource (like in xash3d-fwgs) (#453) 2024-06-09 09:53:17 +00:00
951a95c596 game_shared: vcs_info: fix undefined branch name 2024-05-21 18:55:44 +03:00
3229067f78 Fix compile.bat scripts to build with MSVC6 2024-05-21 18:55:44 +03:00
FreeSlave
7a75ec54a9 Allow using SDL2 joystick on Windows 2024-04-28 19:20:17 +00:00
FreeSlave
57f46a08ba Remove some SDL_config headers 2024-04-28 19:20:17 +00:00
FreeSlave
5abda91a7b Remove redundant SDL2 headers. Keep only those that are used by SDL2_mouse.h and SDL2_gamecontroller.h 2024-04-28 19:20:17 +00:00
Roman Chistokhodov
fbe839d33e Fix missing #if for joystick declarations 2024-04-28 19:20:17 +00:00
FreeSlave
a45fd09476 Add external/SDL2 directory from Valve halflife repository 2024-04-28 19:20:17 +00:00
FreeSlave
31b66244e5 Remove USE_SDL2. Always use SDL2 on Windows when available 2024-04-28 19:20:17 +00:00
FreeSlave
de1e971fc5 Add WIN32_USE_SDL2 option 2024-04-28 19:20:17 +00:00
FreeSlave
8337b367d8 Allow using SDL2 mouse input functions on Windows 2024-04-28 19:20:17 +00:00
20c7617926
Rename EFLAG_MONSTER to EFLAG_FLESH_SOUND (#449)
This is mentioned in default delta.lst shipped with HL25:

```
	DEFINE_DELTA( eflags, DT_INTEGER, 2, 1.0 ), // JoshA: Changed to 2 for EFLAG_FLESH_SOUND to fix flesh sounds on entities. If a mod ships updated DLLs and not this file, they just won't have that fix.
```
2024-04-14 09:12:07 +00:00
f6988f4e49 client: include vcs info to the build and register variables 2024-04-07 16:51:34 +00:00
73590dd0a3 server: include vcs info to the build and register variables 2024-04-07 16:51:34 +00:00
b6cbd65766 game_shared: add vcs info implementation, it doesn't necessary require Git info to be present or defined at all 2024-04-07 16:51:34 +00:00
f2a49073bb Query git and set XASH_BUILD_COMMIT and XASH_BUILD_BRANCH macros 2024-04-07 16:51:34 +00:00
3341bfc1b9 waf: upgrade to latest waifu release 2024-04-07 16:51:34 +00:00
6f384c4e3e client: do not check for libdl on Windows targets 2024-04-04 14:16:19 +03:00
723ddd7a36 client: wscript: do not enable GOLDSOURCE_SUPPORT on platforms not supported by Valve 2024-03-28 10:52:29 +03:00
cf415b8ef4 Remove unfulfilled dreams (USE_VGUI2) 2024-03-11 01:54:58 +03:00
09a158f2e7 wscript: move libdl check into client, as it's the only subproject that uses it 2024-03-11 00:53:44 +03:00
Andrey Akhmichin
19f3e91978 Prevent crash on 64-bit archs. 2024-02-28 02:50:59 +05:00
Andrey Akhmichin
cc0224cb87 Add "minus" into regexp. 2024-02-24 13:41:55 +05:00
Andrey Akhmichin
e571224570 Remove completely useless language check. 2024-02-24 03:22:52 +05:00
3a5b8e7b9b
server: export physic interface init function to properly detect Xash3D engine (#440) 2024-02-23 19:15:37 +00:00
Andrey Akhmichin
7e21ac2889 Remove useless label. 2024-02-20 05:12:37 +05:00
Andrey Akhmichin
c3d9f27bcf Properly set up hand grenade sequence.
Same as 2ee36b472f.
2024-02-19 03:33:57 +05:00
Andrey Akhmichin
da9ce1e9c3 Disable jump sounds while player is frozen.
Same as f3810c7107.
2024-02-19 02:23:26 +05:00
Andrey Akhmichin
f58544a156 Fix save game system not saving arrays of EHANDLEs if the first half of the array contains null handles.
Same as d5d96d3883.
2024-02-19 02:07:29 +05:00
Andrey Akhmichin
c7b141d67d Fix alien slave beams staying forever if they exist during a level change.
Same as ac808a8769.
2024-02-19 01:55:49 +05:00
Andrey Akhmichin
7223e0d6c1 Fix C functions declarations. 2024-02-19 01:46:19 +05:00
Andrey Akhmichin
e0cdfe9ae8 Add Steam Friends Rich Presence cmd calls. 2024-02-14 04:33:36 +05:00
Andrey Akhmichin
738890287b Add kludge for Uplink's scientist model. 2024-02-14 04:14:02 +05:00
Andrey Akhmichin
1f458edb0b Turn on weapon bobbing by default. 2024-02-13 23:03:14 +05:00