Core/Scripts: Implemented DOOR_TYPE_SPAWN_HOLE to use in instance script DoorData, marking doors that are only open if encounter is in progress, typically used with spawning points

This commit is contained in:
Shauren
2011-05-16 13:24:08 +02:00
parent 753718a7b0
commit 9650ba678b
2 changed files with 14 additions and 16 deletions
+3 -2
View File
@@ -58,8 +58,9 @@ enum EncounterState
enum DoorType
{
DOOR_TYPE_ROOM = 0,
DOOR_TYPE_PASSAGE,
DOOR_TYPE_ROOM = 0, // Door can open if encounter is not in progress
DOOR_TYPE_PASSAGE = 1, // Door can open if encounter is done
DOOR_TYPE_SPAWN_HOLE = 2, // Door can open if encounter is in progress, typically used for spawning places
MAX_DOOR_TYPES,
};