Commit Graph

359 Commits

Author SHA1 Message Date
Andrey Akhmichin 804c0ab03d Merge branch 'opfor' into opforfixed 2023-09-19 23:19:43 +05:00
Andrey Akhmichin c9249af34c Merge branch 'master' into opfor 2023-09-19 23:19:01 +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 9bcc5fb5b5 Merge branch 'opfor' into opforfixed 2023-07-17 22:54:18 +05:00
Andrey Akhmichin ee125707e2 Merge branch 'master' into opfor 2023-07-17 22:53:15 +05: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
Roman Chistokhodov 6259156cb1 Remove usage of redundant m249 fire sounds (they are all the same and only one is used in opfor) 2023-06-21 01:23:24 +03:00
Roman Chistokhodov 5e722bfaba Alternate between shell and link ejection in M249 2023-06-21 01:20:30 +03:00
Xiaobaibai 8da76a8c3f ARMv8 neon support 2023-06-12 11:37:20 +08:00
Andrey Akhmichin 4ce187e697
Merge branch 'master' into opforfixed 2023-05-01 02:22:13 +05:00
Andrey Akhmichin 28d07d742d
Merge branch 'master' into opfor 2023-05-01 02:21:56 +05: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 906fb522ff
Merge branch 'opfor' into opforfixed 2023-04-29 19:21:01 +05:00
Alibek Omarov e13192ee20 client: wscript: add missing comma in includes list 2023-04-25 03:33:23 +03:00
Andrey Akhmichin fc0579dc0f
Merge branch 'opfor' into opforfixed 2023-04-23 23:16:27 +05:00
Andrey Akhmichin 6b033473d4
Merge branch 'master' into opfor 2023-04-23 23:09:01 +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
Andrey Akhmichin 8e03550238
Merge branch 'opfor' into opforfixed 2023-03-02 19:14:26 +05:00
Andrey Akhmichin 8fea0c606d
Merge branch 'master' into opfor 2023-03-02 19:13:51 +05: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
Andrey Akhmichin d0feaa27dc
Merge branch 'opfor' into opforfixed 2023-02-20 07:20:21 +05:00
Andrey Akhmichin 8d6e9549bb
Merge branch 'master' into opfor 2023-02-20 07:18:35 +05: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 808e2468ee
Merge branch 'opfor' into opforfixed 2022-11-15 10:43:19 +05:00
Andrey Akhmichin 583a118b81
Merge branch 'master' into opfor 2022-11-15 10:42:25 +05: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
Andrey Akhmichin 54a9732003
Merge branch 'opfor' into opforfixed 2022-09-23 04:43:22 +05:00
Andrey Akhmichin a078d19c8b
Merge branch 'master' into opfor 2022-09-23 04:40:59 +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
Andrey Akhmichin 4168a67020
Merge branch 'opfor' into opforfixed 2022-09-19 02:00:17 +05:00
Andrey Akhmichin a5607adbbd
Merge branch 'master' into opfor 2022-09-19 01:58:26 +05:00
Roman Chistokhodov 99dc2c519f
Fix HUD_ChatInputPosition qualifier (#323) 2022-08-30 16:35:13 +00:00
Andrey Akhmichin bf7fb2ab12
Merge branch 'opfor' into opforfixed 2022-08-23 16:58:46 +05:00
Andrey Akhmichin 0ef24db3f8
Merge branch 'master' into opfor 2022-08-23 16:55:29 +05:00
Roman Chistokhodov cd158fd18c
Sooner WeaponIdle for M249 (match delay from opfor) (#318) 2022-08-09 21:27:39 +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 230e9a886c Fix geiger sounds interrupting other sounds (#303) 2022-08-08 04:38:59 +03:00
Roman Chistokhodov fdd08e93f7
Fix bodies passed to EV_WeaponAnimation for opfor weapons (#309) 2022-08-07 11:25:19 +00:00
Roman Chistokhodov dd7dc18b0c Merge branch 'master' into opfor 2022-08-06 01:58:41 +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
Roman Chistokhodov d3dba792b1
Fix client event angles (#290) 2022-07-21 14:46:05 +00:00
Andrey Akhmichin 0207817bf4
client: wscript: false_vgui->fake_vgui. 2022-07-20 14:42:45 +05:00
Roman Chistokhodov 695e2e060b
Rename false_vgui to fake_vgui (#286) 2022-07-20 05:23:52 +00:00
Roman Chistokhodov 6648265594
compile.bat in release mode. Remove BOM from tripmine.cpp (#284) 2022-07-19 12:29:44 +00:00
Roman Chistokhodov 1c42a4170c
Fix drawing non-latin characters from titles.txt (#261) 2022-07-08 22:17:29 +05:00
Andrey Akhmichin 04eba8e9ed
Merge branch 'master' into opfor 2022-06-21 05:56:22 +05:00
Andrey Akhmichin b0b68d5755
cmake: update vgui path. 2022-06-18 06:42:42 +05:00
Andrey Akhmichin 4bb893716c
Merge branch 'master' into opfor 2022-06-17 04:17:27 +05:00
Andrey Akhmichin 987ea07ce1
cmake: add more options and show more diagnostic messages. 2022-06-17 03:59:39 +05:00
Andrey Akhmichin d8b05d12d5
cmake: better tgmath.h check. 2022-06-16 11:54:55 +05:00
Andrey Akhmichin 1397f3ab4f
cmake: use "lib" prefixe only for Android. 2022-06-16 10:50:14 +05:00
Andrey Akhmichin c4d55a4428
Merge branch 'master' into opfor 2022-06-04 23:49:47 +05:00
Andrey Akhmichin e2da6954c8
Fix crowbar not showing in weapon list if there are empty weapon slots with lower id.
Same as ffe736252c
2022-06-04 20:16:11 +05:00
Andrey Akhmichin cf4d2a74dc
Change default thirdperson view. 2022-06-03 21:47:56 +05:00
a1batross 808be9442f
Use filtered command buffer when string came from network (#241)
* cdll_int: add undocumented FilteredClientCmd function to client interface

* client: use filtered command buffer where we have to execute command from server

* client: use normal pfnClientCmd in place of pfnFilteredClientCmd in case of engine doesn't supports it

* client: don't read out of bounds if engine interface is old and don't have pfnFilteredClientCmd

* client: fix incorrect cvar pointer comparison
2022-04-24 03:43:45 +05:00
Roman Chistokhodov 40a16fb167
Fix nvg effect rendering on 5k resolutions (#243) 2022-02-14 15:09:01 +05:00
Marc-Antoine Lortie f43961e4d0
Simplify glock fire events (#231)
* Refactor EV_FireGlock2.

* Moved EV_FireGlock1 implementation to static function.
2021-12-14 19:23:07 +05:00
Roman Chistokhodov f4f83ca6c0
Fix m249 tape when reloading the empty clip (#232) 2021-12-11 21:46:26 +05:00
Marc-Antoine Lortie f7fa565c3f
Removed unused variables in ev_hldm.cpp (#218) 2021-12-06 00:14:52 +05:00
Marc-Antoine Lortie ac2a757b90
Added missing tracerCount for EV_HLDM_FireBullets. (#216) 2021-12-06 00:13:44 +05:00
Marc-Antoine Lortie 7f8f73c679
Remove unused source files (#212)
* Delete AI_BaseNPC_Schedule.cpp

* Delete soundsystem.cpp
2021-12-01 12:14:12 +05:00
Владислав Сухов ef2abde74e
client: fix build (#211) 2021-11-25 19:37:33 +05:00
Andrey Akhmichin af5eed12c1 Merge branch 'master' into opfor 2021-11-22 15:18:07 +05:00
Marc-Antoine Lortie 4e7111e434
Removed identical line in conditional statement. (#209) 2021-11-21 15:21:54 +05:00
Marc-Antoine Lortie ec2826a96a
Fixed crossbow fire on empty sequence not playing. (#207) 2021-11-21 15:21:36 +05:00
Marc-Antoine Lortie 3674e3f154
Fixed RPG client prediction results stored in wrong pointer. (#206) 2021-11-21 15:20:38 +05:00
Roman Chistokhodov b3804d5ad8
Remove redundant dependency on ws2_32 (#204) 2021-11-03 22:52:12 +05:00
Roman Chistokhodov 504e8b19d5
Handle key input in vgui (#198) 2021-10-27 23:20:03 +05:00
Roman Chistokhodov ba2cab60df
Get VGUI back (optionally) (#194)
* Get VGUI back (optionally)

* Add some missing VGUI invocations

* Update CMakeLists.txt to build with vgui for Windows

* Move windows.h inclusions only to those places where it's really needed

* Try fix mingw build

* Update hud_spectator

* Merge nekonomicon's vgui branch

* Don't include vgui panel and app in cdll_int.cpp if vgui is real

* Deduplicate scoreboard global variables

* Add options to prefer non-vgui motd and scoreboard when vgui is enabled

* Add vgui-dev as a submodule. Add building vith vgui to CI

* Fix artifact uploading

* Don't use global variable when not necessary

* char* to const char* in CMenuHandler_StringCommand constructor

* Fix 'format string is not a literal string' warnings

* Fix 'always evaluate to true' warnings

* Team Fortress classes to const char*

* CreateCommandMenu accepts const char*

* Fix printf formats. Turn some unsigned longs into unsigned ints since they use only 32 bits anyway

* Explicit assignment result as condition

* Prevent memory leak on menu reading

* Localize button text

* Create FileInputStream on stack avoiding the leak

* Remove Servers Browser code

* Arrow file names to const char*

* Fix assignment to the wrong variable
2021-10-27 01:35:11 +00:00
Andrey Akhmichin 2a08dba3b1 Merge branch 'master' into opfor 2021-09-17 23:09:35 +05:00
Roman Chistokhodov 136ee78cfd
Make msvc builds in release mode with static runtime (#185) 2021-08-27 13:04:15 +05:00
Andrey Akhmichin 28e2adb9f3 Merge branch 'master' into opfor 2021-07-07 01:05:38 +05:00
Andrey Akhmichin 3503619bdd Merge https://github.com/ValveSoftware/halflife/pull/3099. 2021-07-07 00:41:17 +05:00
Andrey Akhmichin 6e7653eec1 Move M_PI definition to header. 2021-06-20 13:49:04 +05:00
Andrey Akhmichin 72e42a4e02 Merge branch 'master' into opfor 2021-06-20 03:59:10 +05:00
Andrey Akhmichin a541a9699c #ifdef->#if. 2021-06-20 03:53:07 +05:00