Commit graph

1946 commits

Author SHA1 Message Date
smallmodel
c7c3fcd0e0
Use a const float* for PathDelta() 2023-10-15 17:50:28 +02:00
smallmodel
a5532ad67b
Fixed Actor Enemy system 2023-10-15 17:11:20 +02:00
smallmodel
290cd5501c
Obfuscation should be 0 by default 2023-10-15 16:12:01 +02:00
smallmodel
8d1b1410cd
Fixed EventSetAimTarget, MoveXX methods and implemented DetectSmokeGrenades 2023-10-15 15:08:01 +02:00
smallmodel
df9aead324
In EventSetMood, check for Bored/Nervous/Curious/Alert 2023-10-15 14:03:44 +02:00
smallmodel
851fd240d3
Fixed StartAnimation() constant value 2023-10-15 14:01:48 +02:00
smallmodel
2da03c89d1
Fixed MovePath/MovePathGoal 2023-10-15 14:01:13 +02:00
smallmodel
89cd12d2c1
Fixed CurrentPathDir and CurrentPathGoal return value 2023-10-15 13:43:49 +02:00
smallmodel
e21d2a0adb
Fixed compile errors 2023-10-14 21:53:17 +02:00
smallmodel
2fad64b08a
Reimplemented some methods, added some flags and moved methods to the correct source file 2023-10-14 21:21:45 +02:00
smallmodel
97fd147fbe
Fixed SetDesiredYawDir/SetDesiredYawDest 2023-10-14 21:20:59 +02:00
smallmodel
0f01f6af11
Reimplemented actor CanSee/CanShoot/EnemyInFOV 2023-10-14 20:33:50 +02:00
smallmodel
a9892c88be
Fixed WithinDistance/DistanceTo const and implemented AreasConnected 2023-10-14 20:26:38 +02:00
smallmodel
f1d76a042d
Added WithinFarplaneDistance 2023-10-14 20:23:35 +02:00
smallmodel
77d4e5d051
Fixed MASK_CANSEE value 2023-10-14 20:23:24 +02:00
smallmodel
7041acfd51
Added visual obfuscation feature (not implemented yet) 2023-10-14 19:56:06 +02:00
smallmodel
b27bfbe189
Formatted g_public source file 2023-10-14 19:12:57 +02:00
smallmodel
1c10e7a63d
Fixed G_ObfuscationForSmokeSprites parameters 2023-10-14 19:11:48 +02:00
smallmodel
0a7c324d48
setOriginEvent: clear 4th origin history and update bad places. + handle ANIM_MODE_ATTACHED when moving 2023-10-14 18:59:35 +02:00
smallmodel
c81d247fbb
Reimplemented Actor::UpdateBoneControllers 2023-10-14 18:40:53 +02:00
smallmodel
82294b7b2e
Correctly implemented GetMoveInfo 2023-10-14 15:02:07 +02:00
smallmodel
d80f55d5bf
Added MASK_MOVEINFO 2023-10-14 14:33:55 +02:00
smallmodel
7930cda277
Added and use eAnimMode enum 2023-10-14 14:18:56 +02:00
smallmodel
7870db7202
Made m_groundPlaneNormal a vec3_t 2023-10-14 14:08:52 +02:00
smallmodel
407538fd85
Moved MINS/MAXS to bg_pmove 2023-10-14 13:31:19 +02:00
smallmodel
1a293420c0
Fixed voicetype event 2023-10-14 13:30:35 +02:00
smallmodel
1e94cdd8ca
Added AI_EVENT_BADPLACE 2023-10-14 01:16:50 +02:00
smallmodel
7a2311d6e6
Added BadPlace and RunAndShoot state initialization 2023-10-14 01:06:47 +02:00
smallmodel
e686937ae9
Added actor_runandshoot source file 2023-10-14 00:54:52 +02:00
smallmodel
8dca8988fe
InitRunAndShoot spelling 2023-10-14 00:54:47 +02:00
smallmodel
c890ac5944
Added actor_badplace source file 2023-10-14 00:45:51 +02:00
smallmodel
56e52fda80
Implemented Actor::Landed 2023-10-14 00:44:59 +02:00
smallmodel
e7786b3192
Added DBCS methods for UIFont 2023-10-13 23:22:13 +02:00
smallmodel
4cc3a84e98
Make the driver non-solid instead of the tank if it's a player 2023-10-13 21:31:47 +02:00
smallmodel
6e0b048ae7
End remote control for all linked turrets (this removes the user camera) 2023-10-13 21:16:56 +02:00
smallmodel
115786798d
Remove the user camera when ending the remote control 2023-10-13 21:16:37 +02:00
smallmodel
376db9e9e6
Fixed turret's user camera not being removed when the turret is removed 2023-10-13 21:15:40 +02:00
smallmodel
8abdb80e85
Fixed crashes when spectating, and fixed spectate not working properly under some conditions 2023-10-13 21:15:02 +02:00
smallmodel
656f212608
Fixed tank's driver not being able to remote control the turret under some circumstances 2023-10-13 21:09:47 +02:00
smallmodel
60e07cc4ff
Fixed wrong const string values 2023-10-13 19:57:21 +02:00
smallmodel
e132c0a015
Player camera view fix
- Add PMF_DAMAGE_ANGLES when camera show quakes
- Fixed spectating angles
- Fixed a crash that can occur if current_torso is NULL
2023-10-13 19:52:12 +02:00
smallmodel
8e63526f2a
Camera must calculate m_bShowquakes manually, only if protocol is below version 15 2023-10-13 19:33:32 +02:00
smallmodel
a5b7c774c1
Added more clarity for PMF_DAMAGE_ANGLES 2023-10-13 19:33:03 +02:00
smallmodel
130a5bb8c4
Fixed indentation 2023-10-13 19:14:42 +02:00
smallmodel
3802dd9984
Added Camera::ShowQuakes() 2023-10-13 19:14:37 +02:00
smallmodel
7d37397222
Formatted camera source files 2023-10-13 19:11:51 +02:00
smallmodel
932454d7b2
Removed MASK_DAMAGEMODEL, using MASK_SOLID instead 2023-10-13 19:11:14 +02:00
smallmodel
5d2e6c46aa
Use MASK_SOLID instead of MASK_DAMAGEMODEL 2023-10-13 19:07:44 +02:00
smallmodel
38089195be
Set default fov to 80 and initialize fov fadetime, follow fade time and showquakes fields 2023-10-13 19:07:23 +02:00
smallmodel
85a6c1d145
Implemented Get/SetNationality, IsOnFloor, EventAnimScript_Attached, VirtualEyePosition and FriendlyInLineOfFire 2023-10-12 23:20:57 +02:00