Commit graph

2693 commits

Author SHA1 Message Date
smallmodel
c4855029a9
Fixed motion facing 2024-02-14 20:32:40 +01:00
smallmodel
4fa457118f
Fixed CanMovePathWithLeash() not returning the correct result 2024-02-14 20:06:35 +01:00
smallmodel
33b403d6eb
Fixed MASK_CANSEE 2024-02-14 19:58:29 +01:00
smallmodel
a5c6654dcb
Fixed m_fMaxDistanceSquared initialization value 2024-02-14 19:22:19 +01:00
smallmodel
07ec6adecb
Fixed ViewJitter never being removed 2024-02-14 18:40:34 +01:00
smallmodel
ceb901e9ca
Fixed disconnected menu not being pushed properly 2024-02-14 18:32:06 +01:00
smallmodel
651b86b066
Added comment for more clarity 2024-02-13 18:23:23 +01:00
smallmodel
a4003dd61c
Only execute anim/suppress.scr if targeting 2.0 and above 2024-02-13 18:16:52 +01:00
smallmodel
5e461786f9
Added a comment about FriendlyInLineOfFire 2024-02-13 18:15:54 +01:00
smallmodel
45108c6f4b
Fixed curious' finished animation global function
This fixes AI being permanently stuck in a curious animation
2024-02-13 17:38:11 +01:00
smallmodel
bc0d373dcd
Fixed AI getting blocked because of an obstacle 2024-02-13 17:37:28 +01:00
smallmodel
0f37a8f6ea
Fixed m_fLeashSquared initialization 2024-02-13 16:42:54 +01:00
smallmodel
03ceaf82ce
Fixed AngleMod() being inaccurate
This caused issues with Actor never finishing turning (because it expected the desired yaw to be at the exact same angle rounded by 0.001)
2024-02-13 16:23:47 +01:00
smallmodel
1e5e5e24f6
Fixed entity monitoring never printing 2024-02-13 16:23:06 +01:00
smallmodel
eb993dbd43
Fixed grenade toss location and wall facing 2024-02-13 16:22:56 +01:00
smallmodel
4f5abb3412
Fixed int conversion when printing the awareness 2024-02-13 16:22:39 +01:00
smallmodel
6418d79d76
Call PostThink() in Think_Alarm() 2024-02-13 16:22:18 +01:00
smallmodel
796a3a711f
Fixed animation delta over time 2024-02-13 01:01:51 +01:00
smallmodel
0ef743d945
Forgot newline 2024-02-13 01:01:39 +01:00
smallmodel
7c33f98ae9
Use m_fFollowRelativeYaw 2024-02-13 00:57:37 +01:00
smallmodel
51ba1e2951
Properly use identity / identitylighting when cgen isn't explicitly specified 2024-02-12 23:47:07 +01:00
smallmodel
0b16d599d5
Added UseCount for image_t 2024-02-12 22:11:15 +01:00
smallmodel
3b2223ad22
image validity check 2024-02-12 22:11:00 +01:00
smallmodel
186583148a
Use proper values for GL_TEXTURE_WRAP_S and GL_TEXTURE_WRAP_T 2024-02-12 22:10:00 +01:00
smallmodel
5475624b7f
Added DDS support + handle compressed textures correctly 2024-02-12 20:19:33 +01:00
smallmodel
d5be69239a
Added GL 1.3 functions 2024-02-12 20:18:52 +01:00
smallmodel
304645d720
Ignore CGEN_BAD stages 2024-02-12 19:50:32 +01:00
smallmodel
0591152f99
Added ifCvar / ifCvarnot support 2024-02-12 17:18:51 +01:00
smallmodel
74e8a38c00
When idle, limit the turret's pitch to the max idle pitch 2024-02-12 16:59:20 +01:00
smallmodel
5cadab46ab
Fixed fence mask being incorrectly specified as transparent rather than opaque 2024-02-12 16:49:27 +01:00
smallmodel
1577927d99
Ignore collision if the brush has a trace content and the trace content wasn't specified in the trace flags 2024-02-12 16:48:58 +01:00
smallmodel
5a0aeb2f88
Fixed last fire time being incorrectly set in the future 2024-02-12 15:12:55 +01:00
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