Commit Graph

389 Commits

Author SHA1 Message Date
Andrey Akhmichin d77a7e4753 Improve handgrenade throw physics. 2024-01-17 14:14:47 +05:00
Andrey Akhmichin b8e143f5ac cmake: set -O3 option to android linker. 2024-01-15 14:10:37 +05:00
Andrey Akhmichin 90193a9383 Check if we have sv_language cvar to detect Xash3D. 2024-01-15 10:10:02 +05:00
Andrey Akhmichin 38950e4e41 cmake: strip release builds. 2024-01-15 10:00:46 +05:00
Andrey Akhmichin 554dc51472 cmake: add more release optimization flags. 2024-01-15 08:55:36 +05:00
Andrey Akhmichin 86c00428f5 cmake: disable RTTI for *nix. 2024-01-15 07:40:06 +05:00
Andrey Akhmichin 63807139c3 cmake: always use LTO if possible. 2024-01-15 07:18:24 +05:00
Andrey Akhmichin 2f13985e23 Revert "cmake: force to use library naming scheme."
This reverts commit b89ce4c527.
2023-12-21 21:47:02 +05: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 78c0036046 server: reduce hornetgun recharge time only in multiplayer. 2023-11-18 23:01:20 +05:00
Andrey Akhmichin 1e4663ab73 server: spawn mp5 with full ammo only in multiplayer. 2023-11-18 22:45:26 +05:00
Andrey Akhmichin a7bc9d6266 server: increase python damage into multiplayer. 2023-11-18 11:56:53 +05:00
Andrey Akhmichin e106972599 server: spawn mp5 with full ammo. 2023-11-18 02:44:44 +05:00
Andrey Akhmichin 3523b52f3e server: reduce hornetgun recharge time. 2023-11-18 02:40:11 +05:00
Andrey Akhmichin 497dd83931 server: increase sentences limit. 2023-11-18 01:22:09 +05:00
Andrey Akhmichin 2218731a86 Include build.h. 2023-11-01 01:49:55 +05:00
Andrey Akhmichin 7581cacd6f Use fast and simple ROTR algorithm implementation. 2023-11-01 01:31:10 +05:00
Andrey Akhmichin 984986f998 Use definitions from build.h everywhere. 2023-11-01 01:25:07 +05:00
Roman Chistokhodov 3cf40ccf12
When finding nearest friend, skip the dying ones as well (they shouldn't participate in talking) (#398) 2023-10-17 15:15:10 +00:00
Roman Chistokhodov 17b34aa42b
Reset fov on crossbow holster (#394) 2023-09-30 18:27:53 +00:00
Roman Chistokhodov 2b031dd585
Revert fixing bigmomma wait on info_bigmomma (It affects gameplay) (#385) 2023-08-29 16:00:23 +00:00
Roman Chistokhodov 991fd0cd4a
Fix being able to break scripted_sequence by +using friendly NPCs to make them follow player (#375) 2023-05-29 01:56:39 +00:00
nekonomicon 8d337020b5
Merge pull request #369 from FreeSlave/hgrunt_fix
Fix hgrunts dropping weapons again. Fix magical constants in hgrunt code.
2023-04-29 14:13:07 +00:00
Alibek Omarov 8da71ee675 server: wscript: remove prop.cpp from excluded files 2023-04-25 03:06:25 +03:00
Roman Chistokhodov 00596e94bf Use named constants instead of some magical constants in hgrunt code 2023-04-24 01:57:25 +03:00
Roman Chistokhodov b82f524819 Fix Human Grunts dropping weapons again if the game is saved and loaded while the grunt is dying
Same as bc7d6e3c07
2023-04-24 01:55:43 +03:00
Andrey Akhmichin 523ee2ad97
Clear client flags in ClientDisconnect, because engine doesn't clear them before calling ClientConnect, but only before ClientPutInServer, on next connection to this slot.
Same as 5caf49f063
2023-04-23 22:11:54 +05:00
nekonomicon 9a4eddfba9
Merge pull request #368 from FWGS/buildsystems-overhaul
Buildsystems overhaul
2023-04-23 16:24:17 +00:00
Alibek Omarov 66f4bbf218
server: remove unused prop.cpp (#367) 2023-04-23 16:20:10 +00:00
Andrey Akhmichin aec0f79806
Change bunnyhop cap via movevar. 2023-04-23 20:54:36 +05:00
Alibek Omarov 9066063ce9 server: wscript: feature parity with CMake, try to use file globs and exclude list to make maintenance easier 2023-04-17 05:25:23 +03:00
Andrey Akhmichin a4a2b34386
Avoid lags using movevar. 2023-04-10 01:58:47 +05:00
Elinsrc b3223d9324
fixplayerscore (#364) 2023-04-09 13:31:30 +00:00
Bohdan Shulyar eceb28a304
Remove useless macro from weapons.h (#352) 2023-01-09 15:03:07 +00:00
Andrey Akhmichin 63e3769c46
Fix animation code accessing invalid sequence descriptor.
https://github.com/ValveSoftware/halflife/issues/3308
2022-11-26 02:30:26 +05:00
Roman Chistokhodov 1c80e4bbcd
Add a cvar fixing pushable excessive acceleration (#343) 2022-11-25 09:41:42 +00:00
Andrey Akhmichin 813aa0ae91
More safe string copying. 2022-11-16 05:45:28 +05:00
Andrey Akhmichin 58f78b4f1c
More safe strncpy usage. 2022-11-14 08:47:47 +05:00
Andrey Akhmichin 368fdf1259
More safe _snprintf usage. 2022-11-14 08:19:12 +05:00
Andrey Akhmichin 60bd3121fb
Prevent possible null pointer dereference. 2022-11-08 23:25:27 +05:00
Roman Chistokhodov 901d1947fb
Fix tripmines blowing up after loading save game in c1a3d with TRIPMINE_BEAM_DUPLICATION_FIX enabled (#332) 2022-09-26 14:55:19 +00:00
Roman Chistokhodov 5db68d4076
Revert changes to LinearMove (#331) 2022-09-25 22:40:52 +00:00
Alibek Omarov 1394637ce8
server: func_tank: prevent domain error on barrel adjust (#328)
When target is too close to the tank origin, `d2 - r2` expression may become negative
causing domain error on square root, and poisoning other fields and even other entities with NaN
2022-09-18 20:49:58 +00:00
Roman Chistokhodov e12d1aa743
Replace usage of m_ForceSendAnimations with entvars to avoid changing the class data layout (#306) 2022-08-06 14:40:26 +00: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 4053dca7a9
Fix deploy animations sometimes not playing on weapon pickup (#299) 2022-08-05 13:22:03 +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 b69d37e30e
Fix scientist's voice pitch selection (#292) 2022-07-22 12:56:02 +00:00