Commit Graph

251 Commits

Author SHA1 Message Date
Andrey Akhmichin de5a0ad631
Merge branch 'master' into mobile_hacks 2022-06-17 04:24:46 +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 05fa3fddc7 Merge branch 'master' into mobile_hacks 2022-06-04 23:41:22 +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
Alibek Omarov 090c3d628d Merge branch 'master' into mobile_hacks 2021-12-17 03:17:31 +03: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
Alibek Omarov eadade7157 Merge master into mobile_hacks 2021-12-08 18:00:19 +03: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
Andrey Akhmichin 8d0a5ec8dd Merge branch 'master' into mobile_hacks 2021-11-22 15:11:37 +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 426aac84b4 Merge branch 'master' into mobile_hacks 2021-09-17 23:08:21 +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 fa04ba3676 Merge branch 'master' into mobile_hacks 2021-07-07 01:04:19 +05:00
Andrey Akhmichin 3503619bdd Merge https://github.com/ValveSoftware/halflife/pull/3099. 2021-07-07 00:41:17 +05:00
Alibek Omarov 5c328b7098 Merge master into mobile_hacks 2021-07-03 19:38:50 +03:00
Andrey Akhmichin 6e7653eec1 Move M_PI definition to header. 2021-06-20 13:49:04 +05:00
Andrey Akhmichin c0376239e5 Merge branch 'master' into mobile_hacks 2021-06-20 03:57:54 +05:00
Andrey Akhmichin a541a9699c #ifdef->#if. 2021-06-20 03:53:07 +05:00
Bohdan Shulyar fd6f48175f
Comment unused variables (#184)
* Comment unused variables

* Comment out dead code
2021-06-18 13:00:09 +05:00
Bohdan Shulyar 662af50306
Bump minimum CMake version (lower versions are deprecated) (#182) 2021-06-18 07:41:38 +05:00
Bohdan Shulyar d95080281f
Fix implicit conversion (#180) 2021-06-18 07:40:38 +05:00
Andrey Akhmichin 33127cc3d0 Merge branch 'master' into mobile_hacks 2021-06-17 09:20:19 +05:00
Andrey Akhmichin da5efc7146 Get rid of project files for MSVC 98. 2021-06-14 01:39:55 +05:00
Andrey Akhmichin 0e65813d73 Merge branch 'master' into mobile_hacks 2021-06-08 04:19:36 +05:00
Roman Chistokhodov 3f6ab0b2fd
Fix Goldsource build (#176) 2021-06-08 02:05:47 +05:00
Andrey Akhmichin 0dd90846fe #ifdef->#if 2021-06-07 05:05:58 +05:00
Andrey Akhmichin f8a6e781a9 Merge branch 'master' into mobile_hacks 2021-06-06 04:12:06 +05:00
Roman Chistokhodov 397286021c Try fixing occasional bug with missing mp5 reload animation when holding primary attack after clip was depleted 2021-06-06 01:17:08 +05:00
Andrey Akhmichin 60911067ca Merge branch 'master' into mobile_hacks 2021-06-05 20:57:33 +05:00
Andrey Akhmichin 2c7e07ef49 Fix egon beam color. Same as https://github.com/ValveSoftware/halflife/issues/3033. 2021-06-05 20:13:07 +05:00
Andrey Akhmichin aeded65bfd Merge branch 'master' into mobile_hacks 2021-06-05 16:28:02 +05:00
Alibek Omarov e4dd9192cc client: fix scoreboard not setting IN_SCORE bit in usercmd 2021-06-01 17:38:24 +03:00
Andrey Akhmichin 9347036c55 Merge branch 'master' into mobile_hacks 2021-04-12 09:58:53 +05:00
Andrey Akhmichin 93630eae23 Fix player model angles.
Same as https://github.com/ValveSoftware/halflife/issues/3075.
2021-04-04 22:30:49 +05:00
Andrey Akhmichin 5dd184da23 Fix memory leaks when parsing files. 2021-03-26 04:08:05 +05:00
Andrey Akhmichin 952f95fac1 Merge branch 'master' into mobile_hacks 2021-02-10 23:44:27 +05:00
nekonomicon a0a30049fd
Merge pull request #152 from FreeSlave/gauss-color
Gauss color depends on its charge
2021-02-10 18:39:59 +00:00
Roman Chistokhodov 06f046430d Fix occasional double playing of reload animations 2021-02-10 20:30:01 +03:00
Roman Chistokhodov 0a29ec49c8 Gauss color depends on its charge 2021-02-10 20:25:30 +03:00