Commit graph

13 commits

Author SHA1 Message Date
smallmodel
2aa46f5a52
Add getters to get facing dir and angles for FuncLadder 2025-02-08 22:22:53 +01:00
smallmodel
508ee871b9
Add a small offset for checking if the player can get off ladder
This compensates with the difference with floating-point precision between architectures
2024-12-13 23:30:01 +01:00
smallmodel
9b9642df8f
Add a very tiny offset off the facing dir as a workaround the 1 bit difference between 32-bit and 64-bit
In 64-bit, some windings are off by 1 bit (float values) compared to 32-bit, which causes issue on some maps like `dm/mp_stadt_dm` where the player would get stuck climbing up because of the blocking patch at the top
2024-10-06 17:33:48 +02:00
smallmodel
e564a97b05
Check if the delta is exactly 16 2024-10-06 17:31:02 +02:00
smallmodel
1da4113110
Added FuncLadder archive method
This fixes bug where ladder would get unusable after loading from save game (see #211)
2024-02-19 19:36:46 +01:00
smallmodel
f46078965d
info_null must inherits from Listener instead of Entity
This fixes Level::AllocEdict issues on some maps that use it a lot (like t2l4) #206
2024-02-15 21:15:37 +01:00
smallmodel
e50a041c12
SimpleEntity subclass flags name now starts with ECF_ prefix 2023-11-16 23:17:06 +01:00
smallmodel
0c04ffc1e8
Added and implemented InfoLandmark 2023-11-03 22:10:14 +01:00
smallmodel
9b9fa696e8
Added Waypoint and TempWaypoint constructor to set the SimpleEntity subclass type 2023-10-24 20:37:41 +02:00
smallmodel
4f9831faa4
Formatted document 2023-10-24 20:27:18 +02:00
smallmodel
bd639ba936
Added "info_vehiclepoint" class ID for VehiclePoint 2023-10-04 19:17:26 +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/misc.cpp (Browse further)