Commit Graph

255 Commits

Author SHA1 Message Date
Alibek Omarov e3f44e2225 client: ammo: increase ammobar size depending on sprites size (extra change, not fixed in HL25 yet)
See ValveSoftware/halflife#3728 comment
2023-12-22 10:07:01 +03:00
Alibek Omarov e8db2fa354 client: ammo: apply fix for HUD vertical inconsistency (ValveSoftware/halflife#3728) 2023-12-21 04:19:27 +03:00
Alibek Omarov de43a7bb9e client: apply HL25 HUD style if hud_allow_hd is set to 1 and there are HD spritesheets are available 2023-12-21 04:18:20 +03:00
Alibek Omarov 9119ab812f client: hud: detect the availability of HD spritesheets 2023-12-21 04:15:56 +03:00
Alibek Omarov ed88ebf6d5 client: add hud_allow_hd cvar that increases available HUD spritesheet resolutions up to 1280 and 2560 2023-12-21 04:14:05 +03:00
Alibek Omarov 0362b75fc1 client: ammohistory: fix rendering history with bigger HUD sprites 2023-12-21 04:13:29 +03:00
Alibek Omarov 5ed4d3671b 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
2023-12-21 04:08:46 +03:00
Andrey Akhmichin b89ce4c527 cmake: force to use library naming scheme. 2023-12-11 17:47:05 +05:00
Andrey Akhmichin 050092763e cmake: update minimum required version. 2023-12-08 12:58:52 +05:00
Andrey Akhmichin acc3848795 client: use normal player tracer to avoid "ghost shots". 2023-11-18 14:16:35 +05:00
Andrey Akhmichin 7ca2750c3d client: Fix compilation. 2023-11-01 02:40:22 +05:00
Andrey Akhmichin dd6995ecbd client: MOTD: Prevent out of bounds access on x86. 2023-11-01 02:27:00 +05:00
Andrey Akhmichin 2218731a86 Include build.h. 2023-11-01 01:49:55 +05:00
Andrey Akhmichin 984986f998 Use definitions from build.h everywhere. 2023-11-01 01:25:07 +05:00
Andrey Akhmichin 04e56448f2 Revert "ARMv8 neon support"
This reverts commit 8da76a8c3f.
2023-09-19 23:13:36 +05:00
Roman Chistokhodov 26d4fac2aa
Respect hud_saytext cvar. Remove redundant print to console (#387) 2023-09-03 12:54:48 +00:00
Alibek Omarov 43710ea984 client: studio: NEON vector types all over place here 2023-07-22 05:49:54 +03:00
Alibek Omarov d4995df92c client: studio: another NEON type fix for AngleQuaternion, static-ize global NEON vectors 2023-07-22 04:36:10 +03:00
Alibek Omarov b4bd06603e client: studio: fix NEON vreinterpret types, fix memcpy 2023-07-22 04:28:51 +03:00
Alibek Omarov f00a8f46d8 client: studio: fix types in AArch64 NEON code 2023-07-22 04:21:00 +03:00
Andrey Akhmichin 8180cf60c2 Revert "Change view rolling via separate cvars under GoldSource."
This reverts commit 5cca1eb971.
2023-07-17 22:50:16 +05:00
Andrey Akhmichin a898d773a1 Revert "Always change view rolling on client side."
This reverts commit 1ed4c1d899.
2023-07-17 22:49:24 +05:00
Xiaobaibai d8e4ec04e4 fix typo ( no xref at all? ) 2023-07-14 10:17:31 +08:00
Xiaobaibai 8da76a8c3f ARMv8 neon support 2023-06-12 11:37:20 +08:00
Andrey Akhmichin 1ed4c1d899
Always change view rolling on client side. 2023-05-01 02:10:06 +05:00
Andrey Akhmichin 0f1cb315d6
Revert "Rename "cl_viewbob" cvar to "cl_bobtilt"."
This reverts commit 5eeb649cec.
2023-05-01 02:04:06 +05:00
Andrey Akhmichin 5eeb649cec
Rename "cl_viewbob" cvar to "cl_bobtilt". 2023-04-23 21:58:34 +05:00
Andrey Akhmichin c506f2a582
Fix crash while parsing command menu with unsupported custom button.
Same as 3e0214ee12
2023-04-23 21:44:47 +05:00
nekonomicon 9a4eddfba9
Merge pull request #368 from FWGS/buildsystems-overhaul
Buildsystems overhaul
2023-04-23 16:24:17 +00:00
Andrey Akhmichin 5cca1eb971
Change view rolling via separate cvars under GoldSource. 2023-04-23 21:11:29 +05:00
Andrey Akhmichin aec0f79806
Change bunnyhop cap via movevar. 2023-04-23 20:54:36 +05:00
Alibek Omarov c3522346e9 client: wscript: feature parity with CMake, try to use file globs and exclude list to make maintenance easier 2023-04-17 05:25:27 +03:00
Roman Chistokhodov ad6fb5fe07
Fix crash on older GoldSource versions that didn't have m_rawinput cvar (#357) 2023-03-02 14:09:09 +00:00
FreeSlave e0279920c7 Access m_rawinput cvar via pointer instead of CVAR_GET_FLOAT 2022-12-30 13:14:00 +03:00
FreeSlave 06424ce6fa Track m_rawinput changes when weapon prediction is disabled 2022-12-30 10:57:07 +03:00
Andrey Akhmichin 73301aa716
Use capital letters instead of strupr usage. 2022-11-14 09:17:47 +05:00
Andrey Akhmichin 58f78b4f1c
More safe strncpy usage. 2022-11-14 08:47:47 +05:00
Andrey Akhmichin cea0903626
More safe strncat usage. 2022-11-14 08:14:24 +05:00
Andrey Akhmichin 7cffbef773
More safe _snprintf usage. 2022-11-14 08:00:53 +05:00
Andrey Akhmichin 4ad82ee541
Fix strange sprintf usage. 2022-11-14 07:41:21 +05:00
Andrey Akhmichin e761d1d405
Remove mod-specific code under macros. 2022-11-14 06:59:52 +05:00
Andrey Akhmichin 7fb1dab079
Remove useless files overview.cpp/.h. 2022-11-08 23:53:41 +05:00
Andrey Akhmichin 8b62867643
Initialize string instead of incorrect copying using sprintf. 2022-11-08 23:45:20 +05:00
Alibek Omarov 63ce6eda31
client: view: fix reading from uninitialized variable when setting model angles from camera angles (#329) 2022-09-19 18:35:26 +00:00
Roman Chistokhodov 99dc2c519f
Fix HUD_ChatInputPosition qualifier (#323) 2022-08-30 16:35:13 +00:00
Alibek Omarov 8f5c36dc62 client: fix GoldSrc input being enabled for Android on x86 2022-08-08 23:36:55 +03:00
Roman Chistokhodov ae4d65439c
Don't play tripmine draw animation after placing the last tripmine (#300) 2022-08-05 13:22:36 +00:00
Roman Chistokhodov abf08e4520
Fix client tripmine body and weapon bodies passed to EV_WeaponAnimation (#298) 2022-08-05 13:21:43 +00:00
Roman Chistokhodov 8d91e9b4c0
Use MAX_WEAPONS constant instead of magic numbers (#294) 2022-07-27 05:24:22 +00:00
Roman Chistokhodov 5d64c9ceb4
Fix building with msvc 6 (#295) 2022-07-27 05:24:10 +00:00