Commit Graph

847 Commits

Author SHA1 Message Date
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
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
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
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 723ddd7a36 client: wscript: do not enable GOLDSOURCE_SUPPORT on platforms not supported by Valve 2024-03-28 10:52:29 +03:00
Alibek Omarov cf415b8ef4 Remove unfulfilled dreams (USE_VGUI2) 2024-03-11 01:54:58 +03:00
Alibek Omarov 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
Alibek Omarov 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
Andrey Akhmichin 835ce1df21 cmake: add more checks for x86 CPU. 2024-02-13 22:57:13 +05:00
Andrey Akhmichin d5a8a0d3a3 Clear hitgroup for reflected gauss shots. 2024-02-13 20:44:58 +05:00
Andrey Akhmichin c949e02e4e Fix death animation loop. 2024-02-13 18:42:37 +05:00
Andrey Akhmichin 7bbc2cf4d7 Update weapon bobbing code. 2024-02-13 05:30:42 +05:00
Andrey Akhmichin 955f7ad436 Port spectator changes from HLSDK 2.4. 2024-02-13 03:41:13 +05:00
Alibek Omarov 011f1afeb6 client: fix -Wparentheses 2024-02-10 04:08:13 +03:00