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 committed 2011-05-16 13:24:08 +02:00
1 parent 753718a7b0
commit 9650ba678b
2 files changed
+14 -16

No files matched your search

+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,
};