Commit graph

32 commits

Author SHA1 Message Date
smallmodel
976e2ae022
Remove useless GetSentientOwner() 2024-10-24 21:08:44 +02:00
smallmodel
3733761696
Fix the reloading sound in 2.0, the behavior is different in 2.0 and 2.30 2024-09-02 19:52:32 +02:00
smallmodel
32b0b2dfac
Fix camera angles changing too much when switching between linked turrets 2024-08-24 00:40:23 +02:00
smallmodel
01e68fd5ee
Fixed turret gun never being killed
This fixes #231
2024-03-02 15:29:08 +01:00
smallmodel
d8b9abe7f5
Fixed call to GunTarget()
It was specifying the position in the boolean parameter which lead to wrong results
2024-02-26 19:21:12 +01:00
smallmodel
7b6a558fe5
Check for valid turret gun in P_UserAim
When the player dies, it gets detached from turret can would cause crash (#216)
2024-02-19 23:41:57 +01:00
smallmodel
5a0aeb2f88
Fixed last fire time being incorrectly set in the future 2024-02-12 15:12:55 +01:00
smallmodel
b0e597cf55
Fixed vehicle collision orientation 2024-02-12 15:02:55 +01:00
smallmodel
e50a041c12
SimpleEntity subclass flags name now starts with ECF_ prefix 2023-11-16 23:17:06 +01:00
smallmodel
eb1d096539
Fixed vehicle turret gun indefinitely shaking 2023-11-13 00:35:55 +01:00
smallmodel
77eb7a5259
Added position and forward parameters to Sentient::GunTarget() 2023-10-17 19:45:22 +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
decee20fd8
Fixed GetSentientOwner() not returning the owner if not remote controlled 2023-10-06 22:33:59 +02:00
smallmodel
11b4471be9
Remove linked turrets of the tandem turret being destroyed 2023-10-06 19:55:36 +02:00
smallmodel
17aea205f7
m_HeadTurret must be initialized to self, fixed SwitchToLinkedTurret() never working, and made IsActiveTurret() return correctly 2023-10-06 19:47:59 +02:00
smallmodel
f1d9cd93ce
Added events from moh 2.0 and above 2023-10-02 21:13:48 +02:00
smallmodel
313ece62f7
Fixed turret not turning properly 2023-10-02 00:16:12 +02:00
smallmodel
2dd7e0c03f
use a vec3_t for VehicleTurretGun::SetBaseOrientation and use GetTagBarrel() for m_iBarrelTag 2023-10-01 21:15:37 +02:00
smallmodel
eed9b36c9f
Added GetRawRemoteOwner() 2023-09-26 20:06:31 +02:00
smallmodel
46efa85441
Fixed switch/case no default value 2023-09-24 23:37:03 +02:00
smallmodel
c8144539d0
Fully implemented VehicleTurretGun 2023-09-24 17:19:23 +02:00
smallmodel
7406c3dc23
Implemented basic VehicleTurretGun methods 2023-09-24 01:14:35 +02:00
smallmodel
8cedb24d31
Using m_SwitchLabel 2023-09-23 23:13:21 +02:00
smallmodel
528414dfef
Added new fields from moh >= 2.0 2023-09-23 22:34:08 +02:00
smallmodel
6e1c58e343
Implemented VehicleTurretGunTandem 2023-09-23 21:42:40 +02:00
smallmodel
2455c09475
Added VehicleTurretGunTandem + more methods from moh 2.40 2023-09-19 21:02:22 +02:00
smallmodel
9512ae7aeb
Added TurretGun methods from mohaas/mohaab 2023-09-11 00:02:10 +02:00
smallmodel
c5a46be23e
Optimized calls to Event() (avoid allocating a new Event when it can be reused) 2023-09-07 18:22:07 +02:00
smallmodel
aa44150525
Added some mohaas/mohaab methods (stubs) 2023-08-11 03:09:10 +02:00
smallmodel
5333c7ff4a
Removed empty line before opening braces 2023-07-05 20:52:55 +02:00
OM
e4fa0fff3a Renamed **game** to **fgame** 2023-06-15 23:44:02 +02:00
Renamed from code/game/vehicleturret.cpp (Browse further)