Commit graph

1783 commits

Author SHA1 Message Date
smallmodel
999d6a449b
Fixed toPitch() with zero coordinates 2023-10-01 14:46:06 +02:00
smallmodel
a65aa2a0d0
Fixed CrossProduct being wrong due to parameters being modified while doing the operation 2023-10-01 14:45:24 +02:00
smallmodel
36fc0b6e8a
Formatted document 2023-10-01 14:21:23 +02:00
smallmodel
f97362cdb1
Added MASK_VEHICLE_TIRES 2023-10-01 14:11:49 +02:00
smallmodel
6398484459
Fixed Vehicle::Postthink ignoring g_vehicle 2023-10-01 13:43:42 +02:00
smallmodel
07e8c6feaa
Fully implemented cMoveGrid 2023-10-01 13:42:16 +02:00
smallmodel
faf351a496
SurfIsOffScreen must only process faces + removed assertion 2023-10-01 11:36:54 +02:00
smallmodel
cd9315852e
Fixed num not being set when writing to memory archiver in commandthing_t::ArchiveToMemory 2023-09-30 11:57:04 +02:00
smallmodel
8c8487231a
Fixed P_DeleteViewModel when the viewmodel is NULL 2023-09-27 23:55:27 +02:00
smallmodel
65ebdf0862
Commented out UpdateNormals() till a solution is found 2023-09-27 23:51:12 +02:00
smallmodel
9704362501
Initialize m_bAnimMove 2023-09-27 23:49:23 +02:00
smallmodel
f0e87cd85a
Prefixed TIKI import functions 2023-09-27 23:21:34 +02:00
smallmodel
f6e6bf1d6b
Implemented SlidePush, MoveVehicle and Postthink 2023-09-27 23:20:09 +02:00
smallmodel
4b4e8f806b
Fixed vlink angles in Postthink 2023-09-27 23:17:14 +02:00
smallmodel
4141cee13f
Added MASK_MOVEVEHICLE 2023-09-27 20:22:33 +02:00
smallmodel
b2ee346f68
Formatted documents 2023-09-27 20:10:16 +02:00
smallmodel
2220f1ff05
Fixed vehicle move code 2023-09-27 20:01:08 +02:00
smallmodel
7ba48dd666
Made code lighter 2023-09-27 19:35:24 +02:00
smallmodel
2a48e2fd27
Formatted document 2023-09-27 19:24:41 +02:00
smallmodel
63a24c4448
Reimplemented a few methods (from moh 2.0 and above) 2023-09-26 23:51:12 +02:00
smallmodel
787df3362b
Fixed v_angle not being set in SetViewAngles + floor view angles 2023-09-26 20:51:25 +02:00
smallmodel
5ad0f60ee3
G_TestEntityPosition must check for sentient instead of player 2023-09-26 20:50:00 +02:00
smallmodel
d42f92361a
Fixed slot notsolid/solid for bound entities, for player and for weapons 2023-09-26 20:49:00 +02:00
smallmodel
0693db3ef5
Fixed Vehicle::VehicleDestroyed 2023-09-26 20:33:23 +02:00
smallmodel
fafb0e2793
Initialize max speed in EventDriveInternal and use cVehicleSpline instead of cSpline<4, 512> 2023-09-26 20:31:13 +02:00
smallmodel
0a4819d172
Using FindExitPosition() when detaching from driver, turret or passenger 2023-09-26 20:27:59 +02:00
smallmodel
ee03f32a3e
FindExitPosition() must return a boolean value 2023-09-26 20:14:39 +02:00
smallmodel
f4e01917a2
Set turrets target name on initialization + Fixed DetachTurretSlot exit angles + use FindExitPosition() in AttachTurretSlot() 2023-09-26 20:08:25 +02:00
smallmodel
eed9b36c9f
Added GetRawRemoteOwner() 2023-09-26 20:06:31 +02:00
smallmodel
055192c2a8
Implemented Vehicle::AutoPilot from moh >= 2.0 and above 2023-09-26 19:44:03 +02:00
smallmodel
cca39108dc
Added cVehicleSpline as an alias to cSpline<4, 512> 2023-09-26 19:43:42 +02:00
smallmodel
b1bbd5e366
Implemented mohaas/mohaab methods 2023-09-25 23:17:20 +02:00
smallmodel
afb718f01f
Removed vm, using m_bAnimMove instead 2023-09-25 21:18:43 +02:00
smallmodel
653b4e0ab7
Added methods, events and fields from moh 2.0 and above 2023-09-24 23:47:28 +02:00
smallmodel
c3d228a9f5
Fixed float vote options 2023-09-24 23:37:26 +02:00
smallmodel
15e10caca0
Fixed useless statement 2023-09-24 23:37:18 +02:00
smallmodel
46efa85441
Fixed switch/case no default value 2023-09-24 23:37:03 +02:00
smallmodel
bb42456653
Marked overridden methods as "override" 2023-09-24 23:36:30 +02:00
smallmodel
38bf80aa52
Export EV_Turret_SetMaxUseAngle 2023-09-24 23:20:43 +02:00
smallmodel
c5c2aa5348
Fully implemented VehicleTank 2023-09-24 19:14:50 +02:00
smallmodel
1e67aeb667
Added AnimMoveVehicle 2023-09-24 18:42:23 +02:00
smallmodel
9ac7bccba5
Added GetUserViewAngles / SetUserViewAngles 2023-09-24 18:42:13 +02:00
smallmodel
610b82cfb7
Added Vehicle::DriverAdded and NUM_VEHICLE_TIRES 2023-09-24 17:47:31 +02:00
smallmodel
c8144539d0
Fully implemented VehicleTurretGun 2023-09-24 17:19:23 +02:00
smallmodel
60f83597ee
Added HasVehicle() virtual method 2023-09-24 16:38:06 +02:00
smallmodel
46c0c6085d
Fixed GetMuzzlePosition using wrong parameters 2023-09-24 16:37:50 +02:00
smallmodel
36d4c4af61
Added MASK_TRANSPARENT 2023-09-24 16:37:36 +02:00
smallmodel
7406c3dc23
Implemented basic VehicleTurretGun methods 2023-09-24 01:14:35 +02:00
smallmodel
24bb15ce29
Renamed SOUND_STATE to SOUND_STATE_TURRET to avoid conflict with Vehicle's SOUND_STATE 2023-09-24 01:07:22 +02:00
smallmodel
f3ad05dc85
Added GetVehicle 2023-09-24 00:27:51 +02:00