aboutsummaryrefslogtreecommitdiff
path: root/engines/agos/intern.h
diff options
context:
space:
mode:
authorTravis Howell2009-03-08 08:45:21 +0000
committerTravis Howell2009-03-08 08:45:21 +0000
commit2620d6836c001f2f295cb6efd6beab78f5a3c50f (patch)
tree81d5055b74abfc7b0be105bee13b39e6505fce91 /engines/agos/intern.h
parent7bfab75a0814d0655a2504bf4c461df0000da0e4 (diff)
downloadscummvm-rg350-2620d6836c001f2f295cb6efd6beab78f5a3c50f.tar.gz
scummvm-rg350-2620d6836c001f2f295cb6efd6beab78f5a3c50f.tar.bz2
scummvm-rg350-2620d6836c001f2f295cb6efd6beab78f5a3c50f.zip
Add initial support for Personal Nightmare.
Thanks to dreammaster for file decompression and icon decoding code. NOTE: setjmp/longjmp code will require conversion for portability. svn-id: r39216
Diffstat (limited to 'engines/agos/intern.h')
-rw-r--r--engines/agos/intern.h20
1 files changed, 19 insertions, 1 deletions
diff --git a/engines/agos/intern.h b/engines/agos/intern.h
index 823a9ed345..8d33634493 100644
--- a/engines/agos/intern.h
+++ b/engines/agos/intern.h
@@ -214,6 +214,22 @@ enum BoxFlags {
kBFBoxItem = 0x80
};
+enum OldBoxFlags_PN {
+ kOBFObject = 0x1,
+ kOBFExit = 0x2,
+ kOBFDraggable = 0x4,
+ kOBFUseEmptyLine = 0x8,
+ kOBFBoxDisabled = 0x10,
+ kOBFInventoryBox = 0x20,
+ kOBFRoomBox = 0x40,
+ kOBFMoreBox = 0x80,
+ kOBFNoShowName = 0x100,
+ kOBFUseMessageList = 0x400,
+ // ScummVM specific
+ kOBFBoxSelected = 0x800,
+ kOBFInvertTouch = 0x1000
+};
+
enum SubObjectFlags {
kOFText = 0x1,
kOFSize = 0x2,
@@ -251,11 +267,13 @@ enum GameFileTypes {
GAME_TBLFILE = 1 << 7,
GAME_XTBLFILE = 1 << 8,
GAME_RESTFILE = 1 << 9,
+ GAME_TEXTFILE = 1 << 10,
- GAME_GFXIDXFILE = 1 << 10
+ GAME_GFXIDXFILE = 1 << 11
};
enum GameIds {
+ GID_PN,
GID_ELVIRA1,
GID_ELVIRA2,
GID_WAXWORKS,