Commit graph

43 commits

Author SHA1 Message Date
smallmodel
73aa377264
Fix hit/kill notify being swapped (#698)
Some checks failed
CodeQL / Analyze (push) Waiting to run
Build branch / build-all (push) Failing after 42s
2025-03-17 00:19:40 +01:00
smallmodel
8341f8cb6a
Fix bullet hole sometimes not playing 2025-01-28 20:24:14 +01:00
smallmodel
1fc36fce9b
Fix multiple bullet hole effects unnecessarily spawning 2025-01-28 20:03:02 +01:00
smallmodel
90639cee36
Fix incorrect effect being spawned for MakeEffect CGM 2024-11-22 18:18:27 +01:00
smallmodel
851a16e18c
Fix the bullet tracer scale 2024-11-12 00:09:29 +01:00
smallmodel
40834380cf
Check if the snap is valid before getting the client number 2024-10-19 20:39:57 +02:00
smallmodel
e01e989c22
Check if the snap is valid when notifying for hit/kill
The game would crash otherwise, this is also an issue in the original game
2024-10-02 20:10:29 +02:00
smallmodel
f9d264058b
Use safe version of sprintf and strcpy 2024-09-20 23:08:53 +02:00
smallmodel
9acea3484d
Play zing sounds only if the location if the zing is valid
This fixes a potential crash where uninitialized position would be passed to the sound system
2024-09-16 17:39:15 +02:00
smallmodel
3a5da64c6f
Make radar clients speak on mohaas/mohaab 2024-09-10 19:50:43 +02:00
smallmodel
9c018a2330
Implement CGM_FENCEPOST 2024-09-10 19:40:53 +02:00
smallmodel
5052449e38
Fix invisible bullet tracers 2024-09-02 00:25:07 +02:00
smallmodel
81866d96e0
Make flesh impacts properly work 2024-08-31 18:02:07 +02:00
smallmodel
6b869c4c0d
Use an enumeration instead of raw values 2024-06-14 21:39:54 +02:00
smallmodel
8a28ad0c36
Fixed explosion effects on protocol below 2.0 2024-06-09 20:16:14 +02:00
smallmodel
7314543c88
Fixed snow bullet hit effect
This fixes #246
2024-02-21 20:17:01 +01:00
smallmodel
5cc599984d
Fixed bullet hit effect for glass 2024-02-12 00:29:52 +01:00
smallmodel
b95b8c4c20
Fixed water bullet effect 2024-02-12 00:17:30 +01:00
smallmodel
58b4a9a676
Added bullet alpha (from moh 2.0 and above) 2023-11-15 21:02:34 +01:00
smallmodel
afafacaeec
Fixed bullet tracer issues with multiple bullets 2023-11-15 20:41:35 +01:00
smallmodel
7c2cdd52b0
Using SFX enum to spawn SFX 2023-07-22 17:35:02 +02:00
smallmodel
ae8d26ce18
Use crandom() instead of random() 2023-07-18 00:09:02 +02:00
smallmodel
483df8ef87
Implemented CG_MakeBulletHoleSound 2023-07-10 23:58:05 +02:00
smallmodel
ac8f34a40c
Implemented CG_MakeBubbleTrail, CG_BulletTracerEffect and CG_AddBulletImpacts 2023-07-10 23:08:27 +02:00
smallmodel
819fe53eaa
Implemented CG_MakeBulletTracerInternal 2023-07-10 21:11:01 +02:00
smallmodel
f164bc638b
Put variables in CG_MakeBulletTracerInternal 2023-07-09 23:36:21 +02:00
smallmodel
f930d39a42
Used clang-format on cgame module 2023-07-05 21:24:23 +02:00
OM
7db4d1a3f4 Newline fix 2023-07-02 19:18:37 +02:00
OM
36dce22071 Moved cgi.protocol to a new variable called cg_protocol instead, due to issues like GetCGameAPI being loaded before having client imports (cgi) 2023-07-02 19:16:48 +02:00
OM
cf009a4628 Parse CG message based on game protocol version 2023-07-01 21:17:59 +02:00
OM
55dc84d932 Fixed CGM values for AA and SH/BT 2023-05-23 00:08:12 +02:00
OM
648dc395e7 Fixed compilation errors 2023-05-21 20:07:28 +02:00
OM
ab2a26a14e Added support for *Team Assault* and *Team Tactics* 2023-05-21 19:59:36 +02:00
OM
04524e9de9 Fixed huddraw_alpha and huddraw_color not working 2023-05-20 14:39:15 +02:00
OM
7228a07e50 Fixed Linux compilation errors 2023-05-11 22:48:13 +02:00
L
4ce1bb71e4 Implemented CG_AddBulletTracers and added other functions 2023-05-07 19:46:10 +02:00
L
5b85ab4dc6 Implemented CG_MakeExplosionEffect and CG_MakeVehicleEffect 2023-05-05 20:43:23 +02:00
L
c6b832294c Fixed CG_ParseCGMessage 2023-05-04 23:26:17 +02:00
L
d8cfe96b0f Implemented CG_MakeBulletTracer 2023-05-04 21:07:44 +02:00
L
f0a2a28650 Implemented CG_ParseCGMessage 2023-05-04 20:30:52 +02:00
L
e1da479646 More stubs 2023-05-01 15:10:26 +02:00
L
1dbfe29970 CG_ParseCGMessage() stub 2023-05-01 00:08:43 +02:00
L
b113a4c38c Added stub MOH:AA source files 2023-04-30 14:15:14 +02:00