Commit graph

1913 commits

Author SHA1 Message Date
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
smallmodel
85d034b7fb
Added eActorNationality enum from mohaab 2023-10-12 23:16:18 +02:00
smallmodel
82b5468fb4
Implemented Actor destructor 2023-10-12 21:31:22 +02:00
smallmodel
89759c44af
Moved some methods to inline + added EV_NoAnimLerp 2023-10-12 21:30:53 +02:00
smallmodel
6f66a1d1c3
Moved Container::Archive to archive.h source file to avoid compilation errors 2023-10-12 20:45:49 +02:00
smallmodel
d4bac185f6
Added next enemy time field from moh 2.0 and above 2023-10-12 20:36:08 +02:00
smallmodel
658bba576e
Moved methods 2023-10-12 20:35:57 +02:00
smallmodel
31f3c25b18
Implemented Archive with only arc parameter 2023-10-12 20:30:17 +02:00
smallmodel
4a1f149051
Formatted actor source files 2023-10-12 20:18:22 +02:00
smallmodel
c55a78b8b4
Moved location of actor methods 2023-10-12 20:17:18 +02:00
smallmodel
3dbf957304
Include scriptthread 2023-10-12 20:06:00 +02:00
smallmodel
8f98f49f1b
Renamed source file 2023-10-12 20:05:10 +02:00
smallmodel
0a8322960b
Added methods from moh 2.0 and above 2023-10-12 19:57:46 +02:00
smallmodel
63d73c6f86
Added EF_NO_LERP entity flag 2023-10-12 19:57:41 +02:00
smallmodel
f8cbbe78a2
Reordered methods 2023-10-12 19:54:00 +02:00
smallmodel
2bb09503c6
Added SimpleActor destructor (it deletes the anim thread) 2023-10-12 19:45:16 +02:00
smallmodel
ba313decd1
Formatted simpleactor source files 2023-10-12 19:44:17 +02:00
smallmodel
0d6847c76c
Initialize new member fields 2023-10-12 19:42:20 +02:00
smallmodel
7b721c7849
Added fields and methods from mohaas and mohaab 2023-10-12 19:21:41 +02:00
smallmodel
1fb073fd6a
Added IsDisabled() 2023-10-12 19:04:47 +02:00
smallmodel
484272aed4
Added OpenActorStats and WriteActorStats (unimplemented) 2023-10-12 18:58:04 +02:00
smallmodel
57422ce793
Formatted actor source files 2023-10-12 18:19:22 +02:00
smallmodel
ba855cd064
Added events moved actor methods to the correct source files 2023-10-11 22:49:06 +02:00
smallmodel
39ac9f7de6
Added more const strings from 2.0 and above 2023-10-11 19:31:31 +02:00
smallmodel
4368035da4
Remove the weapon from owner when being destroyed 2023-10-09 19:32:08 +02:00
smallmodel
4391912ee3
Implemented Door::ShowInfo, correctly implemented Door::FieldTouched + minor fixes 2023-10-08 20:56:15 +02:00
smallmodel
fc17536f55
Use CONTENTS_WEAPONCLIP for stickybomb when using it 2023-10-08 20:45:34 +02:00
smallmodel
f59bdd6b9f
Fully implemented ProjectileGenerator classes + Fixed ThrobbingBox code 2023-10-08 20:21:00 +02:00
smallmodel
03f3676b00
Use correct values for fields 2023-10-08 19:13:16 +02:00
smallmodel
e0d7079745
Implemented VehicleWheelsX4 2023-10-08 19:11:23 +02:00
smallmodel
b7f421481f
Implemented VehicleWheelsX2 2023-10-08 18:52:09 +02:00
smallmodel
3506cb3f94
Fixed vlink's origin being incorrectly set 2023-10-08 18:28:01 +02:00
pryon
7280acee42
Implement UICheckBox (#77)
* Implement UICheckBox

* Remove UICheckBox destructor and unnecessary `str` initializations
2023-10-08 18:03:14 +02:00
smallmodel
d757fa6306
Renamed world.cpp and world.h to worldspawn.cpp and worldspawn.h 2023-10-08 00:08:47 +02:00