Commit Graph

302 Commits

Author SHA1 Message Date
Vale the Violet Mote 302e2d7a2a
Realtime cheats (#197)
* have cheats auto-update (send notif to client, use updated value in server)

* cheats did not need to be registered here as it's registered by the engine

* also not needed.
2021-10-26 21:52:17 +00:00
Roman Chistokhodov 136ee78cfd
Make msvc builds in release mode with static runtime (#185) 2021-08-27 13:04:15 +05:00
Roman Chistokhodov d86b0bf480 Change ideal monster state in MonsterUse only if monster is idle 2021-07-07 00:10:27 +05:00
Roman Chistokhodov 201206ccfd Fix potential conflict of monster states in scripted_sequence 2021-07-07 00:08:14 +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
Roman Chistokhodov b34b6a0778
Fix windows build (#179)
* Add hl.def to cmakelists.txt

* Add appveyor artifact
2021-06-17 23:33:55 +05:00
Andrey Akhmichin 5e06370a95 Revert breaking changes. 2021-06-17 22:35:36 +05:00
Andrey Akhmichin da5efc7146 Get rid of project files for MSVC 98. 2021-06-14 01:39:55 +05:00
Andrey Akhmichin 72b7471b89 Get rid of hl.def. 2021-06-14 01:36:51 +05:00
Andrey Akhmichin 6055d3d3eb Avoid .def-file usage. 2021-06-14 01:35:35 +05:00
Andrey Akhmichin 0557b2dfe3 Fix compilation. 2021-06-07 19:20:38 +05:00
Andrey Akhmichin 6d8e1c5d0c Got rid "defined". 2021-06-07 19:17:22 +05:00
Andrey Akhmichin 8366cb170c Fix compilation. 2021-06-07 05:24:30 +05:00
Andrey Akhmichin 0dd90846fe #ifdef->#if 2021-06-07 05:05:58 +05:00
Andrey Akhmichin 06dd8a63cd Double promotion fix. 2021-06-06 04:11:36 +05:00
Roman Chistokhodov b4502f7133 Fix removing squad member 2021-06-06 04:03:40 +05:00
Roman Chistokhodov 59508d66da Allow special beam color for houndeye squad of size 5 2021-06-06 04:01:57 +05:00
Roman Chistokhodov 7a999bf987 Check before SetEnemy in squad monster 2021-06-06 03:58:26 +05:00
Andrey Akhmichin 2c9cb0c645 Revert "Merge 33413807d0"
This reverts commit 19bdc1d01b.
2021-06-06 03:48:55 +05:00
Andrey Akhmichin 593c9185aa Do not override IsUseable for mp5. Merge a9b1d9cda8. 2021-06-06 02:48:22 +05:00
Andrey Akhmichin 464a678b33 Remove WeaponTick and override ItemPostFrame instead. 2021-06-06 02:40:52 +05:00
Roman Chistokhodov 9fecfb50f3 Merge 2ca64e11b0 2021-06-06 00:34:53 +05:00
Andrey Akhmichin ea9eb82646 Set monsteryawspeedfix cvar to 1 by default. 2021-06-05 20:56:57 +05:00
Andrey Akhmichin 6274c601fe Fix trigger_camera fps dependency. Same as https://github.com/ValveSoftware/halflife/issues/2924. 2021-06-05 20:20:22 +05:00
Andrey Akhmichin 8c45ae9bb2 Fix underwater breathing sounds when player not fully in the water. Same as https://github.com/ValveSoftware/halflife/issues/3110. 2021-06-05 20:02:32 +05:00
Andrey Akhmichin 2de4e7ab00 Fix scientist's sound mask. Same as https://github.com/ValveSoftware/halflife/issues/2982. 2021-06-05 19:18:33 +05:00
nillerusr b16001bc1a possible crash fix for DeathNotice 2021-05-10 06:10:35 +03:00
Andrey Akhmichin 936a303813 Revert "Do not precache sounds for xash3d-only builds."
This reverts commit 9a6ef538b6.
2021-04-19 03:11:56 +05:00
Andrey Akhmichin 9a6ef538b6 Do not precache sounds for xash3d-only builds. 2021-04-12 09:57:56 +05:00
Andrey Akhmichin a07acb3d14 Restore global time on Save/Restore.
Same as https://github.com/ValveSoftware/halflife/issues/3065.
2021-04-04 22:26:34 +05:00
Andrey Akhmichin 4ba54bdcdc Fix target check.
Same as https://github.com/ValveSoftware/halflife/issues/3083.
2021-04-04 22:11:00 +05:00
Andrey Akhmichin 08f5c265ce Clamp gravity. 2021-04-04 07:32:25 +05:00
Andrey Akhmichin c0720d3cfc Precache missing sounds for sentry gun. 2021-04-04 07:07:54 +05:00
Roman Chistokhodov 2a1867bedf Fix crowbar smack think time 2021-02-27 14:37:12 +03:00
Roman Chistokhodov c710978549 Fix a bug with extracting ammo from mp5 when argrenades are full 2021-02-11 23:01:32 +03:00
Roman Chistokhodov 0e251e6f09 Fix attack times 2021-02-10 20:21:45 +03:00
Roman Chistokhodov 9fc712da01
Fix checking for gag spawnflag (#143) 2020-12-25 11:14:22 +05:00
Andrey Akhmichin 2a264d2c9a Add the latest steam changes for cl_autowepswitch cvar. 2020-10-11 00:08:47 +05:00
Andrey Akhmichin 2de2509094 server: remove "mp_" prefix for non-multiplayer cvars. 2020-10-10 22:45:28 +05:00
Andrey Akhmichin 47c13ef873 server: Use separate cvar instead of macro for monster yaw speed fix. 2020-10-10 22:43:19 +05:00
Logan 4be53d8527
server: fix monster yaw speed (#137)
This makes the yaw speed for all monsters (scientists, headcrabs, etc.) framerate independent.

Fix by Solokiller with mikela-valve's adjustments:
https://github.com/ValveSoftware/halflife/issues/2458
2020-10-10 22:06:04 +05:00
Andrey Akhmichin 8e4ded4017 wscript: update yet again. 2020-08-09 03:29:46 +05:00
Andrey Akhmichin f20b7259f3 wscript: reorder sources list. 2020-08-01 20:26:28 +05:00
Andrey Akhmichin e239f3e1a5 Set EF_BRIGHTFIELD flag for monsters which stuck in the wall only in developer mode. 2020-08-01 19:27:51 +05:00
Andrey Akhmichin 1d1c99af9f Merge e98a18a980 2020-07-25 13:29:14 +05:00
Roman Chistokhodov c2064d88ed Remove redundant casts to float when retrieving model frames 2020-07-24 10:46:26 +05:00
Roman Chistokhodov 54181adc8e Fix bigmomma node wait 2020-07-24 10:42:02 +05:00
Andrey Akhmichin 895e7b7503 Move "build" cvar pointer check to GameDLLInit function. 2020-04-22 14:11:03 +05:00