Commit graph

1890 commits

Author SHA1 Message Date
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
smallmodel
475fc92629
Fixed str() being passed as an instance for variadic arguments 2023-10-07 23:50:16 +02:00
smallmodel
f24303dd78
Use a correct implementation for fSign() 2023-10-07 23:49:49 +02:00
smallmodel
180a20f561
Made wheel_s a struct 2023-10-07 21:56:43 +02:00
smallmodel
2e5ca5b9dc
Return an empty string if the item name is not in the prefix list 2023-10-07 14:19:42 +02:00
smallmodel
decee20fd8
Fixed GetSentientOwner() not returning the owner if not remote controlled 2023-10-06 22:33:59 +02:00
smallmodel
3d9a60c415
Turn off vehicle sound entities when the tank is idle 2023-10-06 22:12:19 +02:00
smallmodel
a4a7002867
ScriptSlave::SetModelEvent: Corrected the case where the model is invalid 2023-10-06 20:18:18 +02:00
smallmodel
96c9a014e6
When getting string from event, store it in an str to avoid potential undefined behavior due to str destruction 2023-10-06 20:13:31 +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
739f54ed87
Use EV_TakeDamage on pTurret instead, and process all pending events 2023-10-06 19:46:47 +02:00
smallmodel
01be5bee72
Ignore user control when in autopilot 2023-10-04 20:13:00 +02:00
smallmodel
dfcf0da710
Added vehicle waittills 2023-10-04 19:17:57 +02:00
smallmodel
f47fb87d1b
Fixed vehicle path not working properly 2023-10-04 19:17:48 +02:00
smallmodel
bd639ba936
Added "info_vehiclepoint" class ID for VehiclePoint 2023-10-04 19:17:26 +02:00
smallmodel
e784e62a4e
Fixed damage event method
- Don't damage if health is already 0 or below
- Check for immunity
- Error if attacker or inflictor is NULL
- Don't apply velocity for vehicles
- Set the minimum mass to 20 and momentum to 1000
- Still process pain when in godmode
2023-10-04 00:33:27 +02:00
smallmodel
e4425dcbf8
Make sure to check if vehicle or turret is valid before locking 2023-10-04 00:25:55 +02:00
smallmodel
0dcffe8771
Fixed means of death strings 2023-10-03 18:40:38 +02:00
smallmodel
2b27f6c452
Formatted document 2023-10-03 18:35:06 +02:00
smallmodel
3ba3c728bc
By default, a Vehicle must be removed on death 2023-10-03 18:32:31 +02:00
smallmodel
7193198af2
Set the owner for SmokeGrenades 2023-10-03 18:32:09 +02:00
smallmodel
6691afd160
Use the correct clipmask for VehicleCollisionEntity 2023-10-03 18:30:35 +02:00
smallmodel
59fb220197
Added setOwner/getOwner 2023-10-03 18:30:19 +02:00