Commit graph

3631 commits

Author SHA1 Message Date
smallmodel
558e69dba8
Archive the vehicle name
This was missing and this allows the torso state to the modheight to set the bounding box height. Before that, it did not recognize the turret so the modheight was still set to stand. It caused issues when trying to get out a vehicle turret, like the flak88 in e1l1 (the player wasn't able to get out of the turret)
2024-10-27 14:27:44 +01:00
smallmodel
da7cd03f09
Increase packed animation time precision
This tries to fix some client commands replaying
2024-10-27 13:42:42 +01:00
smallmodel
6934e5cff8
Check for valid target list in GetScriptTarget() 2024-10-27 12:16:19 +01:00
smallmodel
c7cdde7bc2
Check if the target list is valid before adding the entity 2024-10-26 22:42:21 +02:00
smallmodel
940ac789b9
Change the current fov only if the fov is currently the selected fov
This prevents the player from modifying the fov while zooming
2024-10-26 22:42:18 +02:00
smallmodel
3d46bae1d0
Stop the triggered music when the server is restarted 2024-10-26 15:07:47 +02:00
smallmodel
16bedf7e86
Warp the sample offset for small streams so it doesn't get past the stream size 2024-10-26 15:07:09 +02:00
smallmodel
0ad5222946
Use the correct stopwatch for explosives 2024-10-26 13:34:33 +02:00
smallmodel
2b4aef4ea6
Add a newline to Cmd_Stuff
Next commands weren't correctly appended
2024-10-26 13:28:49 +02:00
smallmodel
679cf4b7ec
Correctly remove "prespawn"/"spawn" waittill when loading from save 2024-10-26 13:27:32 +02:00
smallmodel
a993b8d352
Specify "Fixed" instead of "Added" as it's a bug that was fixed 2024-10-26 00:34:50 +02:00
smallmodel
b7403347bb
Ignore the first responder if it's disabled so the UI doesn't get blocked by it 2024-10-26 00:30:42 +02:00
smallmodel
bf978256e9
Add changes from upstream, like pipefile, random number seed 2024-10-25 22:33:02 +02:00
smallmodel
9bd25e9734
Combine mouse movement events in event queue 2024-10-25 22:08:24 +02:00
smallmodel
e7499cca04
Also halt the secondary server list if it exists, when canceling refresh 2024-10-25 22:07:23 +02:00
smallmodel
31cb6216c9
Use a volatile variable to prevent the function from being entirely optimized 2024-10-25 21:06:30 +02:00
smallmodel
e75f5bbbfc
Version number typo 2024-10-25 21:01:01 +02:00
smallmodel
69cc87212a
Bumped the version number to 0.80.0 due to the number of changes and the completeness 2024-10-25 20:49:23 +02:00
smallmodel
3c1500002b
Implement the destructor for the World class to free up the target list 2024-10-25 20:44:00 +02: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
005a278210
Use CF_CAMERA_ANGLES_TURRETMODE 2024-10-24 21:08:52 +02:00
smallmodel
976e2ae022
Remove useless GetSentientOwner() 2024-10-24 21:08: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
090f362bb6
Declare g_allowvote as a serverinfo variable 2024-10-23 23:10:22 +02:00
smallmodel
ff3c25cc07
Add cg_allowvote 2024-10-23 23:09:39 +02:00
smallmodel
ed22a51a72
Only allow breakthrough clients when targeting mohaab 2024-10-23 22:22:09 +02:00
smallmodel
9e0c11a970
Reset scoreboard values like the objective and the picture when initializing a new game 2024-10-23 21:04:23 +02:00
smallmodel
edb52a8448
Properly move items in the map rotation list 2024-10-23 20:52:22 +02:00
smallmodel
afb08e0ea9
Prevent adding duplicate maps in the rotation list 2024-10-23 20:49:00 +02:00
smallmodel
8758ba6cb1
Fix the map not starting after applying the rotation list 2024-10-23 20:42:03 +02:00
smallmodel
e6a9968d23
Remove useless assertion 2024-10-23 20:25:17 +02:00
smallmodel
fcd2d2e668
Use the correct weapon selection menu 2024-10-23 20:15:29 +02:00
smallmodel
991c8869d1
Properly draw circles 2024-10-23 20:10:34 +02:00
smallmodel
aef9dc1704
Add feature to show static models culling with r_showcull 2024-10-23 20:07:17 +02:00
smallmodel
848cf7ac01
Fix AddPointToBounds not properly setting the max bounds 2024-10-23 20:03:07 +02:00
smallmodel
de1d3b6ef4
Don't reset the client structure on single-player 2024-10-22 22:36:46 +02:00
smallmodel
29f8ff8d71
Set the new frame radius
This fixes an issue when culling static models as it uses the radius and the radius wasn't initialized
2024-10-22 22:26:55 +02:00
smallmodel
b641a1040c
Fix incorrect cull point height (should be squared) 2024-10-22 22:25:59 +02:00
smallmodel
83acdeb16e
Allow activation of the game menu so it can be focused 2024-10-22 22:06:19 +02:00
smallmodel
aa2d73a1c8
Correctly copy frame bounds 2024-10-22 21:56:35 +02:00
smallmodel
b7a643aa59
Fix AI wrongly aiming at the wrong direction 2024-10-22 21:51:03 +02:00
smallmodel
3d454c90cb
Rework the target list, use a container instead of an hash set so the target list gets archived correctly
This fixes an issue when loading from a save. A variable referencing target list container would have random entities in it, which would cause errors and crashes when trying to do an action on the array of entities
2024-10-22 20:05:53 +02:00
smallmodel
590b3f5cbb
Fix class ID for throbbing box classes 2024-10-22 00:48:11 +02:00
smallmodel
f87e6d5938
Fix barrel jitter
This fixes barrel objects improperly jittering back and forth, sometimes forever
2024-10-21 22:12:13 +02:00
smallmodel
901e81cdf5
Format barrels source file 2024-10-21 21:59:12 +02:00
smallmodel
d2ed2f5e95
Correct the gamma with the proper destination resolution when resampling 2024-10-21 21:37:08 +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
8ecbe1dd79
Set the script origin local angles and angles when setting the angle
This fixes the issue where a ScriptOrigin would rotate in the wrong direction
2024-10-21 20:27:52 +02:00
smallmodel
64696c7645
Return the angle using the forward vector 2024-10-21 20:24:47 +02:00