Commit graph

2561 commits

Author SHA1 Message Date
smallmodel
7a1f7773bf
Use sin/cos instead of sinf/cosf (accuracy) 2024-02-12 15:05:33 +01:00
smallmodel
b0e597cf55
Fixed vehicle collision orientation 2024-02-12 15:02:55 +01:00
smallmodel
c40d073d7a
Refactored CM_CheckTerrainTriSphere 2024-02-12 14:17:04 +01:00
smallmodel
dd8b3f607a
Fixed terrain tri sphere collision not returning correct results with small objects 2024-02-12 13:36:56 +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
3e190ca4b3
Added MASK_SHOT_FLUID (there are so many masks) 2024-02-12 00:02:28 +01:00
smallmodel
3853d1ef39
Properly map the CGM message depending on the protocol version 2024-02-11 23:38:24 +01:00
smallmodel
bf700186d0
Fixed bounce velocity reduction 2024-02-11 23:31:26 +01:00
smallmodel
ca7cacfdcc
Add a debug line when bouncing if enabled (for AI) 2024-02-11 23:27:21 +01:00
smallmodel
b893f4f89f
Properly stop if on ground 2024-02-11 23:20:52 +01:00
smallmodel
109686aca2
Reduce the velocity when bouncing 2024-02-11 23:14:08 +01:00
smallmodel
6840df4eca
backoff value should be 1.4 for bounce and 1.6 for Gib 2024-02-11 23:11:11 +01:00
smallmodel
ed3f212bd8
Also check for slide with bounce movetype 2024-02-11 23:10:21 +01:00
smallmodel
e1f2a51f2b
Only move angles if there is an angular velocity 2024-02-11 23:07:32 +01:00
smallmodel
d3870309fb
Fixed MASK_MONSTERSOLID 2024-02-11 22:56:44 +01:00
smallmodel
1fa2031f11
When a player is inside a vehicle, use the vehicle's health for the health stat 2024-02-08 20:41:33 +01:00
smallmodel
1d765125c7
Fixed facets and planes being badly initialized 2024-02-08 20:35:11 +01:00
smallmodel
5aa70d91f3
Fixed patch subdivisions 2024-02-07 23:44:59 +01:00
smallmodel
f018c2c15a
Ignore shaders for surface starting with the name "material" 2024-02-07 23:36:04 +01:00
smallmodel
1b8ad12b25
Call RefreshMaterial() instead of ReregisterMaterial() 2024-02-07 23:33:12 +01:00
smallmodel
078aa01895
Reimplemented RefreshMaterial() 2024-02-07 23:33:02 +01:00
smallmodel
f0aad4bb21
Don't mark the driver slot as unused by default 2024-02-07 22:51:50 +01:00
smallmodel
8fe054b063
Fixed door open direction 2024-02-06 23:32:33 +01:00
smallmodel
ac63e6c627
Rotate the client when blocked, and make sure the checked's velocity doesn't reach the push move speed 2024-02-06 23:31:48 +01:00
smallmodel
434a48af7d
Initialize m_iNumShotsFired 2024-02-06 22:57:37 +01:00
smallmodel
c5dcf96717
Implemented all RB_Calc functions 2024-02-06 22:54:48 +01:00
smallmodel
84791c42bc
Implemented RB_CalcSunReflectionTexCoords 2024-02-06 22:23:26 +01:00
smallmodel
e032a1a627
Implemented all tcMod values 2024-02-06 22:16:20 +01:00
smallmodel
1f2b5dcc86
Added and fixed all missing tcMod parameters 2024-02-06 20:07:39 +01:00
smallmodel
8bd30ffb22
Added rate tmod variable 2024-02-06 19:59:14 +01:00
smallmodel
fbf67fccc3
Added TMOD enum values from AA 1.11 2024-02-06 19:55:21 +01:00
smallmodel
b848ee0fac
Added rotateStart and rotateCoef for rotate tcMod 2024-02-06 19:48:55 +01:00
smallmodel
4a39e5411f
Fixed patch collision in position test 2024-02-05 23:46:43 +01:00
smallmodel
336ba6181e
Don't allocate planes / facets if there are none 2024-02-05 23:25:41 +01:00
smallmodel
c9aedf242d
Fixed scoreboard sending incorrect data for spectators 2024-02-05 21:03:10 +01:00
smallmodel
500c70016f
Don't crossblend with new weapons 2024-02-05 20:13:23 +01:00
smallmodel
cf1dbf07c7
Corrected MASK_CLICK tracemask (especially for patches surface) 2024-02-04 20:46:05 +01:00
smallmodel
13ec3435b4
Fixed rain num shaders 2024-02-04 19:36:56 +01:00
smallmodel
fce0f7b357
Better rain handlijng 2024-02-04 19:36:34 +01:00
smallmodel
0fabdc8c44
Added current objective index 2024-02-04 19:25:03 +01:00
smallmodel
2174f2ff85
For "delete" and "remove", use Listener::ScriptRemove 2024-02-04 19:09:08 +01:00
smallmodel
ac40373c09
Use RemoveVehicleSoundEntities() to remove sound entities 2024-02-04 19:08:37 +01:00
smallmodel
d5908bd75c
Fixed frag grenade spelling in SP 2024-02-04 16:30:31 +01:00
smallmodel
8cf3be3526
If in thinks, don't delete the object immediately 2024-02-04 16:30:22 +01:00
smallmodel
0290fa3351
Set default animation on the attached model if the tag was not found 2024-02-04 16:30:02 +01:00
smallmodel
937f3993ec
Removed unusable FX in 1.11 and below 2024-02-04 16:10:49 +01:00
smallmodel
d501285057
Play pain animation only in 2.0 and above 2024-02-04 15:47:48 +01:00
smallmodel
0ed92943de
Fixed commands not being executed properly on a specific type of array of listeners 2024-02-03 23:22:06 +01:00
smallmodel
56044dd8f8
HideMouse doesn't take parameters 2024-02-03 23:19:55 +01:00