Commit graph

24 commits

Author SHA1 Message Date
smallmodel
8dba91fbcc
Reopen doors to the other side when blocked 2024-12-17 22:17:02 +01:00
smallmodel
a21d712f54
Reopen the door to the other side if it's blocked 2024-12-17 21:30:48 +01:00
smallmodel
4023c9d863
Fix isOpen event, must return true if it's not closed 2024-11-11 16:40:43 +01:00
smallmodel
aa118bceb3
Set the door speed based on the door type 2024-10-28 20:59:58 +01:00
smallmodel
253d4e2c4d
Fix jammed door message printed on the first client 2024-10-01 20:26:17 +02:00
smallmodel
6fef42d6e0
Localize the jammed door message 2024-10-01 20:25:51 +02:00
smallmodel
d6a00a5984
Fix IsOpen event not being used
Some multiplayer and single-player scripts rely on it
2024-10-01 20:24:12 +02:00
smallmodel
f9d264058b
Use safe version of sprintf and strcpy 2024-09-20 23:08:53 +02:00
smallmodel
a9a7c7fdb8
Adjust area portal when closing before broadcasting ai events 2024-09-01 18:49:41 +02:00
smallmodel
5baf5bccf2
Notify scripts when door has closed/opened 2024-09-01 18:43:38 +02:00
smallmodel
06d2eaf409
Fix doors opening and closing indefinitely by actors 2024-08-26 19:04:49 +02:00
smallmodel
444ce284ae
Spawn a trigger field even if the TOGGLE flag is set
This fixes Actors not being able to open doors
2024-08-26 18:55:10 +02:00
smallmodel
8fe054b063
Fixed door open direction 2024-02-06 23:32:33 +01:00
smallmodel
e50a041c12
SimpleEntity subclass flags name now starts with ECF_ prefix 2023-11-16 23:17:06 +01:00
smallmodel
30a1ccb2e2
Made stateString const char* 2023-11-14 01:04:22 +01:00
smallmodel
379a4b0ce4
Fixed AI not being able to open doors 2023-11-05 20:58:37 +01:00
smallmodel
4391912ee3
Implemented Door::ShowInfo, correctly implemented Door::FieldTouched + minor fixes 2023-10-08 20:56:15 +02:00
smallmodel
2aca32c44a
Added "isopen" door event + Renamed Door's class ID to "NormalDoor" 2023-09-19 21:24:00 +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
8227f7125b
Added SetDoorType and ShowInfo 2023-08-30 23:29:23 +02:00
smallmodel
3e44049abf
Removed unused trigger features 2023-08-08 23:51:46 +02:00
smallmodel
5333c7ff4a
Removed empty line before opening braces 2023-07-05 20:52:55 +02:00
OM
e275c4692e Fixed linked doors assertion failure 2023-06-25 20:04:11 +02:00
OM
e4fa0fff3a Renamed **game** to **fgame** 2023-06-15 23:44:02 +02:00
Renamed from code/game/doors.cpp (Browse further)