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
Roman Chistokhodov
3b0046cb3d
Fix func_button's sparks origin when func_button has origin brush ( #291 )
2022-07-22 01:12:08 +00:00
Roman Chistokhodov
ed676a5413
Fix deploy animations on fast weapon switching ( #289 )
2022-07-21 14:40:51 +00:00
Roman Chistokhodov
25ba2b4e5f
Fix ServerActivate check for clients ( #288 )
2022-07-21 14:23:22 +00:00
Roman Chistokhodov
6648265594
compile.bat in release mode. Remove BOM from tripmine.cpp ( #284 )
2022-07-19 12:29:44 +00:00
nekonomicon
51aaeaab94
Merge pull request #280 from FreeSlave/weapon_animation_times
...
Add WEAPONS_ANIMATION_TIMES_FIX macros. Fix #172
2022-07-19 11:37:32 +00:00
Roman Chistokhodov
e51878c45b
Fix alien controllers facing in idle state ( #282 )
2022-07-19 11:35:27 +00:00
Roman Chistokhodov
74f3ec7f61
Fix crowbar idle animation time regardless of WEAPONS_ANIMATION_TIMES_FIX macro
2022-07-19 12:32:51 +03:00
Roman Chistokhodov
058626fc18
Remove redundant assignment to m_flTimeWeaponIdle in CSatchel::Deploy
2022-07-19 12:29:32 +03:00
Roman Chistokhodov
12a2aeb3c1
Add WEAPONS_ANIMATION_TIMES_FIX macros for fixing some weapons animation times
2022-07-18 22:31:56 +03:00
Roman Chistokhodov
763af29054
Add HANDGRENADE_DEPLOY_FIX macros for fixing the handgrenade deploy animation after finishing a throw ( #275 )
2022-07-18 13:13:58 +00:00
Roman Chistokhodov
5a68ce08bc
Add TRIPMINE_BEAM_DUPLICATION_FIX macros for fixing beam duplication on level transition ( #272 )
2022-07-11 20:36:25 +00:00
Roman Chistokhodov
c01f154873
Fix tripmine viewmodel having wrong body on first pickup ( #262 )
2022-07-08 22:17:50 +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
Roman Chistokhodov
ab38461c33
Implement 'corpsephysics' cvar. Issue #190 ( #255 )
2022-06-06 20:51:03 +05:00
Roman Chistokhodov
8d844a1764
Fix Gauss sound not stopping when players are not in the PAS. https://github.com/ValveSoftware/halflife/issues/3233 ( #254 )
2022-06-06 20:49:48 +05:00
Roman Chistokhodov
3dc739547c
Play smoke effect on the correct osprey wing. Related issue: https://github.com/ValveSoftware/halflife/issues/3263 ( #253 )
2022-06-06 20:49:21 +05:00
Roman Chistokhodov
4e13400c61
Add 'explosionfix' cvar to control explosions going through walls sometimes. Related issue: https://github.com/ValveSoftware/halflife/issues/3244 ( #252 )
2022-06-05 21:35:04 +05:00
Andrey Akhmichin
630217f0b1
cmake: fix wrong library naming scheme
2022-06-04 21:17:26 +05:00
Marc-Antoine Lortie
1f23bff236
Restore Hornetgun fire phase. ( #238 )
2021-12-31 22:03:05 +05:00
Marc-Antoine Lortie
8768594509
Decrement rocket count only if it was successfully created. ( #234 )
...
In addition, make smoke effect and swap sides only if rocket was successfully created.
2021-12-21 04:00:54 +05:00
Marc-Antoine Lortie
db95d4a1cc
Removed duplicate field in CShotgun save data table. ( #233 )
2021-12-20 19:17:49 +05:00
Marc-Antoine Lortie
f0ed7d1bc1
Fixed wrong base class specified. ( #225 )
2021-12-10 07:39:06 +05:00
Marc-Antoine Lortie
a5344eb4cc
Fixed wrong base class specified. ( #226 )
2021-12-10 07:38:48 +05:00
Marc-Antoine Lortie
0df2d289bb
Fixed wrong base class specified. ( #223 )
2021-12-09 06:03:47 +05:00
Marc-Antoine Lortie
ccfe0c659e
Fixed wrong base class specified. ( #224 )
2021-12-09 06:03:12 +05:00
Marc-Antoine Lortie
59fe501254
Fixed wrong base class specified. ( #222 )
2021-12-09 06:02:49 +05:00
Marc-Antoine Lortie
9aff6c088d
Fixed wrong base class specified. ( #220 )
2021-12-08 05:50:45 +05:00
Marc-Antoine Lortie
dcb83a6856
Fixed wrong base class specified. ( #221 )
2021-12-08 05:50:25 +05:00
Marc-Antoine Lortie
9d65397325
Fixed incorrect field types. ( #219 )
2021-12-08 05:50:05 +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
0a0952e186
Use sound array macros. ( #215 )
...
* Use random sound array.
* Use random sound array.
* Use random sound array.
* Use random sound array.
* Use random sound array.
2021-12-06 00:14:31 +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
Roman Chistokhodov
3e2808de62
Fix possible bug with talkmonster facing during the script ( #213 )
2021-11-29 01:04:50 +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
74b5543c83
Fixed beam attachment invalidated on restore. ( #208 )
2021-11-21 15:18:13 +05:00
Roman Chistokhodov
0c46e1b5bd
Fix graphs directory being created with strange permissions ( #205 )
2021-11-19 00:39:50 +05:00
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