Commit graph

3600 commits

Author SHA1 Message Date
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
smallmodel
ff0dcbd786
Add G_GetAngle 2024-10-21 20:24:33 +02:00
smallmodel
a3e5d62c96
Increase the precision of the delta animation time 2024-10-21 19:54:25 +02:00
smallmodel
267e2f4b15
Add a workaround against inactivity timer for mods that handle spectating 2024-10-21 19:25:52 +02:00
smallmodel
d52bf52e6a
Add BUTTON_ANY flag when moving mouse 2024-10-21 19:22:54 +02:00
smallmodel
f5391bbfa0
Use BUTTON_ANY to check for input rather than BUTTON_MOUSE 2024-10-21 19:03:19 +02:00
smallmodel
a218106c8b
Reset the number of songs when freeing all songs
This fixes an issue where songs from previous maps get played on maps without a music file
2024-10-21 18:40:42 +02:00
smallmodel
8f54f4b806
When loading from save, set the edict model directly rather than loading and resetting animations 2024-10-20 23:25:42 +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
aa0c704655
Instead of resetting the state, prevent using the turret if the player is charging 2024-10-20 22:42:05 +02:00
smallmodel
4da099d15c
Add GetChargeFraction() 2024-10-20 22:41:21 +02:00
smallmodel
0bb11d76bd
Remove accidental print 2024-10-20 22:22:36 +02:00
smallmodel
ed05983a57
Use ceiling for the packed anim time
This is an attempt to fix an issue where the animation time would deviate from 1 bit and would go back and forth
2024-10-20 22:19:57 +02:00
smallmodel
909dc96c2f
Use a separate CG_InterpolateAnimParms function for animation 2024-10-20 22:18:40 +02:00
smallmodel
863a6293e7
Don't draw the lensflare in UI 2024-10-20 19:12:42 +02:00
smallmodel
c1433a6d9e
Use the correct stopwatch type for when the sticky bomb gets wet 2024-10-20 18:54:36 +02:00
smallmodel
374b8b9ae7
Add fuse stopwatch 2024-10-20 18:52:50 +02:00
smallmodel
e2f5c80afc
Stop charging the weapon when using turret 2024-10-20 18:46:23 +02:00
smallmodel
29911380d1
Use the weapon owner rather than the last successful hit entity 2024-10-20 01:00:55 +02:00
smallmodel
405a4bfe28
Fix debug line delay not working properly 2024-10-20 00:55:08 +02:00
smallmodel
87e41f0c21
Set the model before anything else 2024-10-19 22:44:07 +02:00
smallmodel
dce2bcca7c
Initialize bModelSet 2024-10-19 22:41:32 +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
fd426926e9
Set all alpha color channel in the current static model to prevent vertices from hiding randomly 2024-10-19 21:54:08 +02:00
smallmodel
d83634f8a2
Allow to specify a model when spawning an entity 2024-10-19 21:40:23 +02:00
smallmodel
6efac1c0f7
Don't set animation 2024-10-19 21:27:03 +02:00
smallmodel
3a68ca7f4b
Handle static shader data and entity surface values for when deforming vertexes 2024-10-19 20:45:50 +02:00
smallmodel
8898919fd3
Correctly parse lightingSpecular parameters 2024-10-19 20:45:24 +02:00
smallmodel
40834380cf
Check if the snap is valid before getting the client number 2024-10-19 20:39:57 +02:00
smallmodel
18abf3854d
Use normals for deform vertexes
This fixes the issue where some ocean shaders would look inconsistent
2024-10-19 20:33:57 +02:00
smallmodel
6d0b4f8cb7
Fix PVS sound overflow 2024-10-18 23:50:52 +02:00
smallmodel
fc1f795e83
Use ULightGreen color on SH/BT for dm messages 2024-10-18 23:19:09 +02:00