Commit Graph

931 Commits

Author SHA1 Message Date
Andrey Akhmichin d5c7f9d2fa Merge branch 'master' into noffice 2024-08-22 01:31:31 +05:00
Alibek Omarov f1c430ae1d
server: fix FIELD_EHANDLE size as suggested by @FreeSlave (#467) 2024-08-21 20:18:31 +00:00
Alibek Omarov 2113beb9f2 client: fix some missing newlines in alerts 2024-08-18 16:02:11 +00:00
Alibek Omarov 27dff8ba3f server: fix some missing newlines in alerts 2024-08-18 16:02:11 +00:00
Roman Chistokhodov a3b2931441
Update github actions (#463) 2024-08-18 16:00:47 +00:00
Alibek Omarov 0d6fd0b81e wscript: fix regex syntax warning 2024-08-12 10:15:04 +03:00
Alibek Omarov 07b027f43e waf: upgrade to latest waifu 2024-08-12 10:15:04 +03:00
Alibek Omarov 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
Alibek Omarov 518a5c185c waf: update tools from engine branch, fix waf 2.1 migration issues, update batch file 2024-08-10 14:23:13 +03:00
Alibek Omarov 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
Alibek Omarov 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
Andrey Akhmichin a0a6dc5cc2 Merge branch 'master' into noffice 2024-07-22 00:41:45 +05:00
Alibek Omarov 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
Alibek Omarov 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
Alibek Omarov 6a9c596dd3 client: ammo: apply fix for HUD vertical inconsistency (ValveSoftware/halflife#3728) 2024-07-07 17:53:16 +00:00
Alibek Omarov 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
Alibek Omarov 5a315a05ea client: hud: detect the availability of HD spritesheets 2024-07-07 17:53:16 +00:00
Alibek Omarov 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
Alibek Omarov 58bc7ea53e client: ammohistory: fix rendering history with bigger HUD sprites 2024-07-07 17:53:16 +00:00
Alibek Omarov 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
Andrey Akhmichin 45a9a42fcd Merge branch 'master' into noffice 2024-06-11 00:24:58 +05: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
Alibek Omarov 951a95c596 game_shared: vcs_info: fix undefined branch name 2024-05-21 18:55:44 +03:00
Alibek Omarov 3229067f78 Fix compile.bat scripts to build with MSVC6 2024-05-21 18:55:44 +03:00
Andrey Akhmichin 589320b82c Merge branch 'master' into noffice 2024-04-29 00:46:39 +05: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
Alibek Omarov 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
Andrey Akhmichin 55b973dca3 Merge branch 'master' into noffice 2024-04-07 22:07:06 +05:00
Alibek Omarov f6988f4e49 client: include vcs info to the build and register variables 2024-04-07 16:51:34 +00:00
Alibek Omarov 73590dd0a3 server: include vcs info to the build and register variables 2024-04-07 16:51:34 +00:00
Alibek Omarov 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
Alibek Omarov f2a49073bb Query git and set XASH_BUILD_COMMIT and XASH_BUILD_BRANCH macros 2024-04-07 16:51:34 +00:00
Alibek Omarov 3341bfc1b9 waf: upgrade to latest waifu release 2024-04-07 16:51:34 +00:00
Alibek Omarov 6f384c4e3e client: do not check for libdl on Windows targets 2024-04-04 14:16:19 +03:00
Alibek Omarov 98f66c5316 Merge branch 'master' into noffice 2024-04-02 01:08:54 +03:00
Alibek Omarov 723ddd7a36 client: wscript: do not enable GOLDSOURCE_SUPPORT on platforms not supported by Valve 2024-03-28 10:52:29 +03:00
Andrey Akhmichin db5a2d0cb1 Add working impulse 102 weapon cheat. 2024-03-24 18:29:59 +05:00
Andrey Akhmichin 4a156e93bd Merge branch 'master' into noffice 2024-03-24 02:18:17 +05:00
Alibek Omarov cf415b8ef4 Remove unfulfilled dreams (USE_VGUI2) 2024-03-11 01:54:58 +03:00