Commit graph

456 commits

Author SHA1 Message Date
smallmodel
b6f8997a01
Make the mark object local to the entity 2024-10-28 20:47:01 +01:00
smallmodel
b2287f3d83
Avoid using nextSnap if the prediction is disabled in the next snap
This prevent blinking issues like flashing arms
2024-10-24 21:56:44 +02:00
smallmodel
8fe87e1067
Handle turret camera flags which has no interpolation 2024-10-24 21:08:26 +02:00
smallmodel
d142ded9ad
Add RF_FRAMELERP flag to ref entity 2024-10-24 21:08:04 +02:00
smallmodel
ff3c25cc07
Add cg_allowvote 2024-10-23 23:09:39 +02:00
smallmodel
c580ccdee1
Only print a warning instead of dropping when the next snapshot is out of range 2024-10-21 21:26:07 +02:00
smallmodel
267e2f4b15
Add a workaround against inactivity timer for mods that handle spectating 2024-10-21 19:25:52 +02:00
smallmodel
78b2637c66
Don't replay animation for new snapshot entities
This prevent cannons effects from replaying due to it being shown when the player exits the cannon
2024-10-20 23:18:00 +02:00
smallmodel
909dc96c2f
Use a separate CG_InterpolateAnimParms function for animation 2024-10-20 22:18:40 +02:00
smallmodel
374b8b9ae7
Add fuse stopwatch 2024-10-20 18:52:50 +02:00
smallmodel
00421a7666
Process client events with the correct order
Effects that are using commanddelay were not working at all, this fixes the processing of delayed events so they get processed sequentially and at the correct time
2024-10-19 22:38:46 +02:00
smallmodel
40834380cf
Check if the snap is valid before getting the client number 2024-10-19 20:39:57 +02:00
smallmodel
50a3df8dff
Fix the instant message maximum number on AA and SH/BT 2024-10-02 21:49:20 +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
2f8b6a2009
Satisfy stufftext tests 2024-10-02 12:27:57 +02:00
smallmodel
83938471ca
Set the blue component of the temp model entity
This fixes particles having an incorrect color sometimes
2024-09-29 15:41:35 +02:00
smallmodel
0692b9dcdb
Fix events sometimes not being posted to entities
Fixes #253
2024-09-25 19:41:21 +02:00
smallmodel
3fb699979c
Fix small equality mistake (expected assignment) 2024-09-23 22:44:11 +02:00
smallmodel
85f15a1f28
Delete spawnthings when their last temp model is freed
This fixes:
- Losing FPS in a match with a lot of players, due to a massive amount of emitters getting spawned every time a weapon fires
- Memory leaks due to emitters staying in memory forever after being spawned
2024-09-23 19:29:07 +02:00
smallmodel
758017b638
If the temp model being removed is the head one, use its sibling 2024-09-23 19:16:31 +02:00
smallmodel
764b95f617
Set a better name for binaries to properly distinguish the name of the architecture 2024-09-22 14:56:02 +02:00
smallmodel
78918eb59d
Correctly process statements with a semicolon 2024-09-22 01:23:23 +02:00
smallmodel
e85d3f2a19
Pass the correct size to Q_strncpyz 2024-09-21 22:50:53 +02:00
smallmodel
f9d264058b
Use safe version of sprintf and strcpy 2024-09-20 23:08:53 +02:00
smallmodel
e27c0716c4
Allow more stufftext commands when the local server is running
Those stufftext commands are primarily used by single-player maps and briefings
2024-09-19 20:14:15 +02:00
smallmodel
35d037daff
small detail change 2024-09-19 20:00:53 +02:00
Sébastien Noel
a010e648ee Fix a few typos 2024-09-19 10:52:47 +02:00
smallmodel
1c7b561aa9
Filter stufftext commands
This works by allowing the stufftext server command to be executed if the statement only contains whitelisted commands and variables
2024-09-18 23:51:39 +02:00
smallmodel
8fc6b6e3c3
Correctly handle quick message and message mode for the chat window
This fixes the chat window not being put in quick message mode at all when intended, now it also correctly handle team/private message modes
2024-09-18 22:14:16 +02:00
smallmodel
08e09c3b4c
Avoid setting variables with the same value
This prevents the console from being spammed with constant variable change when `developer` is set to 2
2024-09-18 20:55:02 +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
4b0696a187
Implement remaining methods of ClientGameCommandManager 2024-09-15 00:42:22 +02:00
smallmodel
9b417c9b26
Add EV_Client_ForceFeedback (unused) 2024-09-14 13:20:55 +02:00
smallmodel
c68f23cdaf
Fix compilation warnings 2024-09-11 00:21:31 +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
999e0fd721
Implement test emitter 2024-09-09 21:48:40 +02:00
smallmodel
47131dec44
Fix wrong special effects count 2024-09-09 21:43:20 +02:00
smallmodel
725561b655
Fix the usage of memory, strings, constant and parameters 2024-09-08 23:54:47 +02:00
smallmodel
eb7af2bce9
Implement basic test emitter functions 2024-09-08 23:33:55 +02:00
smallmodel
065c791a10
Implement CG_ResetEffectCommandCvars 2024-09-08 19:29:40 +02:00
smallmodel
6b902e7f5d
Remove "unimplemented" comment 2024-09-08 18:49:45 +02:00
smallmodel
df0cb87b35
Implement CG_AddLightShow (cg_acidtrip) 2024-09-08 18:48:15 +02:00
smallmodel
0b9687fea4
Implement functions for printing content types, surface properties and surface types 2024-09-08 18:39:39 +02:00
smallmodel
bca6d656b6
Fix bad verts value passed to CG_AddFragmentToScene 2024-09-08 17:53:35 +02:00
smallmodel
ffc3580d43
Implement CG_CheckCaptureKey 2024-09-08 16:31:19 +02:00
smallmodel
cd9b1a741f
Match CG_PermanentMark parameters
This fixes #355
2024-09-07 23:57:17 +02:00
smallmodel
14d1fae54a
Implement all treadmark functions 2024-09-06 22:10:22 +02:00
smallmodel
a1601be7a6
Implement code to make tread mark decals 2024-09-05 23:54:01 +02:00
smallmodel
58e39add5b
Implemented treadmarks update functions 2024-09-05 01:04:53 +02:00