#ifdef MEDIA351_G14ED_G20E_G21E
/* Colors */

#define C00_BORDER_COLOR_BLACK     0
#define C02_BORDER_COLOR_DARK_BLUE 2


/* Types.h */
typedef unsigned char byte, Byte;
typedef unsigned int16_t word, Word ;
typedef unsigned long longword, Longword, LongWord ;
typedef long longint, Longint ;
typedef char *ptr, *Ptr, *pointer, *Pointer;
typedef ptr *handle, *Handle;
typedef unsigned int16_t boolean, Boolean;
#define dispatcher 0xE10000L  /* tool locator dispatch address */
extern int16_t _toolErr;

/* GSOS */
typedef struct GSString255 {
        Word    length;                         /* Number of Chars in text field  */
        char    text[80];
} GSString255, *GSString255Ptr, **GSString255Hndl;
typedef GSString255Hndl *GSString255HndlPtr;

typedef struct GSString128 {
        Word    length;                         /* Number of Chars in text field  */
        char    text[128];
} GSString128, *GSString128Ptr, **GSString128Hndl;
typedef GSString128Hndl *GSString128HndlPtr;

typedef struct OSShutDownRecGS {
        Word        pCount;
        Word        shutdownFlag;
} OSShutDownRecGS, *OSShutDownRecPtrGS;
#ifdef EXETYPE
#if EXETYPE == C03_GAME
extern pascal PDosInt();
#endif
#if EXETYPE == C01_SWOOSH
extern pascal void PDosInt();
#endif
#endif
#define OSShutDownGS(pBlockPtr) PDosInt(0x2003,pBlockPtr)

typedef struct DIORecGS {
        Word            pCount;
        Word            devNum;
        Pointer         buffer;
        LongWord        requestCount;
        LongWord        startingBlock;
        Word            blockSize;
        LongWord        transferCount;
} DIORecGS, *DIORecPtrGS;
#define DReadGS(pBlockPtr) PDosInt(0x202F, pBlockPtr) /* PDosInt2 */

struct QuitRec {
   Ptr quitPathname; /*  */
   Word flags; /*  */
} ;
typedef struct QuitRec QuitRec, *QuitRecPtr;
#define QUIT(pBlockPtr) PDosInt(0x0029,pBlockPtr)
#define QUIT2(pBlockPtr) PDosInt(0x0029,pBlockPtr) /* PDosInt2 */

typedef struct QuitRecGS {
        Word            pCount;
        GSString128Ptr  pathname;       /* pathname of next app to run */
        Word            flags;
} QuitRecGS, *QuitRecPtrGS;
#define QuitGS(pBlockPtr) PDosInt(0x2029,pBlockPtr) /* PDosInt2 */


/*Locator.h*/
extern pascal void TLStartUp() inline(0x0201,dispatcher);
extern pascal TLShutDown() inline(0x0301,dispatcher); /* removed void return type (PLA/PHA instructions are not generated for inline call returning void) */

/* MiscTool.h */
extern pascal ClampMouse() inline(0x1C03,dispatcher); /* removed void return type (PLA/PHA instructions are not generated for inline call returning void) */
extern pascal void ClrHeartBeat() inline(0x1403,dispatcher);
extern pascal DelHeartBeat() inline(0x1303,dispatcher); /* removed void return type (PLA/PHA instructions are not generated for inline call returning void) */
extern pascal LongWord GetTick() inline(0x2503,dispatcher);
extern pascal Pointer GetAddr() inline(0x1603,dispatcher);
extern pascal Word GetIRQEnable() inline(0x2903,dispatcher);
extern pascal Word GetNewID() inline(0x2003,dispatcher);
extern pascal Pointer GetVector() inline(0x1103,dispatcher);
extern pascal IntSource() inline(0x2303,dispatcher); /* removed void return type (PLA/PHA instructions are not generated for inline call returning void) */
extern pascal void MTStartUp() inline(0x0203,dispatcher);
extern pascal MTShutDown() inline(0x0303,dispatcher); /* removed void return type (PLA/PHA instructions are not generated for inline call returning void) */
struct MouseRec {
   Byte mouseMode; /*  */
   Byte mouseStatus; /*  */
   Word yPos; /*  */
   Word xPos; /*  */
} ;
typedef struct MouseRec MouseRec, *MouseRecPtr, **MouseRecHndl;

extern MouseRec ReadMouse();
extern pascal void SysFailMgr2() inline(0x1503,dispatcher);
extern pascal SysFailMgr() inline(0x1503,dispatcher); /* removed void return type (PLA/PHA instructions are not generated for inline call returning void) */
extern pascal SetHeartBeat() inline(0x1203,dispatcher); /* removed void return type (PLA/PHA instructions are not generated for inline call returning void) */
extern pascal SetVector() inline(0x1003,dispatcher); /* removed void return type (PLA/PHA instructions are not generated for inline call returning void) */

/* Memory.h */
/* Handle Attribute Bits */
#define attrBank 0x0001  /* fixed bank */
#define attrPage 0x0004  /* page aligned */
#define attrNoCross 0x0010  /* may not cross banks */
#define attrFixed 0x4000  /* not movable */
#define attrLocked 0x8000  /* locked */
extern pascal void BlockMove() inline(0x2B02,dispatcher);
extern pascal CompactMem() inline(0x1F02,dispatcher); /* removed void return type (PLA/PHA instructions are not generated for inline call returning void) */
extern pascal DisposeAll() inline(0x1102,dispatcher); /* removed void return type (PLA/PHA instructions are not generated for inline call returning void) */
extern pascal void DisposeAll2() inline(0x1102,dispatcher);
extern pascal HUnlockAll() inline(0x2302,dispatcher); /* removed void return type (PLA/PHA instructions are not generated for inline call returning void) */
extern pascal LongWord MaxBlock() inline(0x1C02,dispatcher);
extern pascal MMShutDown() inline(0x0302,dispatcher); /* removed void return type (PLA/PHA instructions are not generated for inline call returning void) */
extern pascal void MMShutDown2() inline(0x0302,dispatcher);
extern pascal Word MMStartUp() inline(0x0202,dispatcher);
extern pascal Handle NewHandle() inline(0x0902,dispatcher);
extern pascal LongWord TotalMem() inline(0x1D02,dispatcher);


/* Event.h */
/* Event Codes */
#define mouseDownEvt 0x0001
#define mouseUpEvt 0x0002
#define keyDownEvt 0x0003
/* Event Masks */
#define everyEvent 0xFFFF
#define keyDownMask 0x0008
/* Modifiers Flags */
#define appleKey 0x0100  /* set if Apple key down */
#define optionKey 0x0800  /* set if option key down */
#define keyPad 0x2000  /* set if keypress from key pad */
extern pascal void EMStartUp() inline(0x0206,dispatcher);
extern pascal Boolean EMStatus() inline(0x0606,dispatcher);
extern pascal EMShutDown() inline(0x0306,dispatcher); /* removed void return type (PLA/PHA instructions are not generated for inline call returning void) */
extern pascal Boolean EventAvail() inline(0x0B06,dispatcher);
extern pascal Word FlushEvents() inline(0x1506,dispatcher);
extern pascal Boolean GetNextEvent() inline(0x0A06,dispatcher);
struct Point {
   short v;
   short h;
} ;
typedef struct Point Point, *PointPtr;
struct EventRecord {
   Word what; /* event code */
   LongWord message; /* event message */
   LongWord when; /* ticks since startup */
   Point where; /* mouse location */
   Word modifiers; /* modifier flags */
} ;
typedef struct EventRecord EventRecord, *EventRecordPtr, **EventRecordHndl;

/* QuickDraw.h */
extern pascal Word GetSCB() inline(0x1304,dispatcher);
extern pascal HideCursor() inline(0x9004,dispatcher); /* removed void return type (PLA/PHA instructions are not generated for inline call returning void) */
extern pascal void QDStartUp() inline(0x0204,dispatcher);
extern pascal Boolean QDStatus() inline(0x0604,dispatcher);
extern pascal QDShutDown() inline(0x0304,dispatcher); /* removed void return type (PLA/PHA instructions are not generated for inline call returning void) */
extern pascal void SetCursor() inline(0x8E04,dispatcher);
extern pascal SetSCB() inline(0x1204,dispatcher); /* removed void return type (PLA/PHA instructions are not generated for inline call returning void) */
extern pascal ShowCursor() inline(0x9104,dispatcher); /* removed void return type (PLA/PHA instructions are not generated for inline call returning void) */

/* Scheduler.h */
extern pascal Boolean SchAddTask() inline(0x0907,dispatcher);
extern pascal SchStartUp() inline(0x0207,dispatcher);
extern pascal void SchStartUp2() inline(0x0207,dispatcher);
extern pascal SchShutDown() inline(0x0307,dispatcher); /* removed void return type (PLA/PHA instructions are not generated for inline call returning void) */

/* SANE.h */
extern pascal void SANEStartUp() inline(0x020A,dispatcher);
extern pascal Word SANEStatus() inline(0x060A,dispatcher);
extern pascal SANEShutDown() inline(0x030A,dispatcher); /* removed void return type (PLA/PHA instructions are not generated for inline call returning void) */




struct TimeRec {
   Byte second;
   Byte minute;
   Byte hour;
   Byte year;
   Byte day;
   Byte month;
   Byte extra;
   Byte weekDay;
} ;
typedef struct TimeRec TimeRec, *TimeRecPtr, **TimeRecHndl;

typedef struct ResultBuf255 {
        Word            bufSize;
        GSString255     bufString;
} ResultBuf255, *ResultBuf255Ptr, **ResultBuf255Hndl;

/* ProDOS */
struct FileRec {
   Ptr pathname; /*  */
   Word fAccess; /*  */
   Word fileType; /*  */
   Longint auxType; /*  */
   Word storageType; /*  */
   Word createDate; /*  */
   Word createTime; /*  */
   Word modDate; /*  */
   Word modTime; /*  */
   Longint blocksUsed; /*  */
} ;
typedef struct FileRec FileRec, *FileRecPtr;
#define CREATE(pBlockPtr) PDosInt(0x0001,pBlockPtr)

struct PathNameRec {
   Ptr pathname; /*  */
   Ptr newPathname; /*  */
} ;
typedef struct PathNameRec PathNameRec, *PathNameRecPtr;
#define DESTROY(pBlockPtr) PDosInt(0x0002,pBlockPtr)
#define CHANGE_PATH(pBlockPtr) PDosInt(0x0004,pBlockPtr)

#define SET_FILE_INFO(pBlockPtr) PDosInt(0x0005,pBlockPtr)
#define GET_FILE_INFO(pBlockPtr) PDosInt(0x0006,pBlockPtr)

struct VolumeRec {
   Ptr deviceName; /*  */
   Ptr volName; /*  */
   LongWord totalBlocks; /*  */
   LongWord freeBlocks; /*  */
   Word fileSysID; /*  */
} ;
typedef struct VolumeRec VolumeRec, *VolumeRecPtr;
#define VOLUME(pBlockPtr) PDosInt(0x0008,pBlockPtr)

struct OpenRec {
   Word openRefNum; /*  */
   Ptr openPathname; /*  */
   Handle ioBuffer; /*  */
} ;
typedef struct OpenRec OpenRec, *OpenRecPtr;
#define OPEN(pBlockPtr) PDosInt(0x0010,pBlockPtr)

struct FileIORec {
   Word fileRefNum; /*  */
   Ptr dataBuffer; /*  */
   Longint requestCount; /*  */
   Longint transferCount; /*  */
} ;
typedef struct FileIORec FileIORec, *FileIORecPtr;
#define READ(pBlockPtr) PDosInt(0x0012,pBlockPtr)
#define WRITE(pBlockPtr) PDosInt(0x0013,pBlockPtr)
#define CLOSE(pBlockPtr) PDosInt(0x0014,pBlockPtr)

struct MarkRec {
   Word markRefNum; /*  */
   LongWord position; /*  */
} ;
typedef struct MarkRec MarkRec, *MarkRecPtr;
#define SET_MARK(pBlockPtr) PDosInt(0x0016,pBlockPtr)
#define GET_MARK(pBlockPtr) PDosInt(0x0017,pBlockPtr)

#define SET_EOF(pBlockPtr) PDosInt(0x0018,pBlockPtr)
#define GET_EOF(pBlockPtr) PDosInt(0x0019,pBlockPtr)

struct DevNumRec {
   Ptr devName; /*  */
   Word devNum; /*  */
} ;
typedef struct DevNumRec DevNumRec, *DevNumRecPtr;
#define GET_DEV_NUM(pBlockPtr) PDosInt(0x0020,pBlockPtr)

struct FormatRec {
   Ptr devName; /* device name pointer */
   Ptr volName; /* device name pointer */
   Word fileSysID; /* file system ID */
} ;
typedef struct FormatRec FormatRec, *FormatRecPtr;
#define FORMAT(pBlockPtr) PDosInt(0x0024,pBlockPtr)

#define GET_NAME(pBlockPtr) PDosInt(0x0027,pBlockPtr)
#define GET_BOOT_VOL(pBlockPtr) PDosInt(0x0028,pBlockPtr)




/* GSOS */
typedef struct SetPositionRecGS {
        Word                pCount;
        Word                refNum;
        Word                base;
        LongWord        displacement;
} SetPositionRecGS, *SetPositionRecPtrGS;
#define startPlus                                0x0000        /* base -> setMark = displacement */
#define SetMark(pBlockPtr) PDosInt(0x2016,pBlockPtr)

typedef struct IORecGS {
        Word                pCount;
        Word                refNum;
        Pointer                dataBuffer;
        LongWord        requestCount;
        LongWord        transferCount;
        Word                cachePriority;
} IORecGS, *IORecPtrGS;
#define cacheOff                                0x0000        /* do not cache blocks invloved in this read */
#define Read(pBlockPtr) PDosInt(0x2012,pBlockPtr)
#define Write(pBlockPtr) PDosInt(0x2013,pBlockPtr)

typedef struct OpenRecGS {
        Word                        pCount;
        Word                        refNum;
        GSString255Ptr        pathname;
        Word                        requestAccess;
        Word                        resourceNumber;        /* For extended files: dataFork/resourceFork */
        Word                        access;                        /* Value of file's access attribute */
        Word                        fileType;                /* Value of file's fileType attribute */
        LongWord                auxType;
        Word                        storageType;
        TimeRec                        createDateTime;
        TimeRec                        modDateTime;
        ResultBuf255Ptr        optionList;
        LongWord                eof;
        LongWord                blocksUsed;
        LongWord                resourceEOF;
        LongWord                resourceBlocks;
} OpenRecGS, *OpenRecPtrGS;
#define Open(pBlockPtr) PDosInt(0x2010,pBlockPtr)

typedef struct RefNumRecGS {
        Word    pCount;
        Word    refNum;
} RefNumRecGS, *RefnumRecPtrGS;
#define Close(pBlockPtr) PDosInt(0x2014,pBlockPtr)

#define seedling                                0x0001  /* standard file with seedling structure */
#define readEnable                              0x0001
#define writeEnable                             0x0002
#define renameEnable                    0x0040  /* rename enable bit: CreateRec/ OpenRec access and requestAccess fields */
#define destroyEnable                   0x0080  /* destroy enable  bit: CreateRec/ OpenRec access and requestAccess fields */
typedef struct CreateRecGS {
        Word                    pCount;
        GSString255Ptr  pathname;
        Word                    access;
        Word                    fileType;
        LongWord                auxType;
        Word                    storageType;
        LongWord                eof;
        LongWord                resourceEOF;
} CreateRecGS, *CreateRecPtrGS;
#define Create(pBlockPtr) PDosInt(0x2001,pBlockPtr)

typedef struct NameRecGS {
        Word                    pCount;
        GSString255Ptr  pathname;       /* full pathname or a filename depending on call */
} NameRecGS, *NameRecPtrGS;
#define Destroy(pBlockPtr) PDosInt(0x2002,pBlockPtr)

typedef struct ChangePathRecGS {
        Word                    pCount;
        GSString255Ptr  pathname;
        GSString255Ptr  newPathname;
        Word                    flags;
} ChangePathRecGS, *ChangePathRecPtrGS;
#define ChangePath(pBlockPtr) PDosInt(0x2004,pBlockPtr)

typedef struct PositionRecGS {
        Word            pCount;
        Word            refNum;
        LongWord        position;
} PositionRecGS, *PositionRecPtrGS;
#define GetMark(pBlockPtr) PDosInt(0x2017,pBlockPtr)

typedef struct EOFRecGS {
        Word            pCount;
        Word            refNum;
        LongWord        eof;
} EOFRecGS, *EOFRecPtrGS;
#define GetEOF(pBlockPtr) PDosInt(0x2019,pBlockPtr)





#define devNotFound 0x10   /* device not found */
#define badDevRefNum 0x11  /* invalid device reference number */
#define noDevConnect 0x28  /* no device connected */
#define notBlkDevErr 0x58  /* not a blocked device */
#define ioError 0x27  /* I/O error */
#define versionErr 0x4A  /* version error (incompatible file format) */
#define badVolType 0x52  /* unsupported volume type */


/* GSOS */
typedef struct SysPrefsRecGS {
        Word    pCount;
        Word    preferences;
} SysPrefsRecGS, *SysPrefsRecPtrGS;
#define SetSysPrefs(pBlockPtr) PDosInt(0x200C,pBlockPtr)

typedef struct GSString32 {
        Word    length;                         /* Number of characters in text field */
        char    text[32];
} GSString32, *GSString32Ptr, **GSString32Hndl;

typedef struct DevNumRecGS {
        Word                    pCount;
        GSString32Ptr   devName;
        Word                    devNum;
} DevNumRecGS, *DevNumRecPtrGS;
#define GetDevNumber(pBlockPtr) PDosInt(0x2020,pBlockPtr)

typedef struct ResultBuf32 {
        Word            bufSize;
        GSString32      bufString;
} ResultBuf32, *ResultBuf32Ptr, **ResultBuf32Hndl;

typedef struct DInfoRecGS {
        Word                    pCount;         /* minimum = 2 */
        Word                    devNum;
        ResultBuf32Ptr  devName;
        Word                    characteristics;
        LongWord                totalBlocks;
        Word                    slotNum;
        Word                    unitNum;
        Word                    version;
        Word                    deviceID;
        Word                    headLink;
        Word                    forwardLink;
        Pointer                 extendedDIBPtr;
} DInfoRecGS, *DInfoRecPtrGS;
#define DInfo(pBlockPtr) PDosInt(0x202C,pBlockPtr)

typedef struct VolumeRecGS {
        Word                    pCount;
        GSString32Ptr   devName;
        ResultBuf32Ptr  volName;
        LongWord                totalBlocks;
        LongWord                freeBlocks;
        Word                    fileSysID;
        Word                    blockSize;
} VolumeRecGS, *VolumeRecPtrGS;
#define Volume(pBlockPtr) PDosInt(0x2008,pBlockPtr)

typedef struct FormatRecGS {
        Word                    pCount;
        GSString32Ptr   devName;                /* device name pointer */
        GSString32Ptr   volName;                /* volume name pointer */
        Word                    fileSysID;              /* file system ID */
        Word                    reqFileSysID;   /* in;  */
} FormatRecGS, *FormatRecPtrGS;
#define Format(pBlockPtr) PDosInt(0x2024,pBlockPtr)

typedef struct DAccessRecGS {
        Word            pCount;
        Word            devNum;
        Word            code;
        Pointer         list;
        LongWord        requestCount;
        LongWord        transferCount;
} DAccessRecGS, *DAccessRecPtrGS;
#define eject                                   0x0002
#define DControl(pBlockPtr) PDosInt(0x202E,pBlockPtr)


/* The length of global variable and function identifiers must be carefully controlled because:
- DUMPOBJ (APW) & DumpObjIIGS (MPW IIGS) hang or crash with identifiers longer than 57 characters
- The compiler may generate different branch instructions depending on the length of identifiers (for example BNE BRL instead of BEQ, or BEQ BRL instead of BNE) */
#define G0000_ai_Graphic562_Box_SpellArea                                        G0000_
#define G0001_ai_Graphic562_Box_ActionArea                                       G0001_
#define G0002_ai_Graphic562_Box_MovementArrows                                   G0002_
#define G0003_ai_Graphic562_Box_Title_StrikesBack_Destination                    G0003_
#define G0004_ai_Graphic562_Box_Title_StrikesBack_Source                         G0004_
#define G0005_ai_Graphic562_Box_Title_Presents                                   G0005_
#define G0006_ai_Graphic562_Box_Entrance_DungeonView                             G0006_
#define G0007_ai_Graphic562_Box_Entrance_OpeningDoorLeft                         G0007_
#define G0008_ai_Graphic562_Box_Entrance_OpeningDoorRight                        G0008_
#define G0009_ai_Graphic562_Box_Entrance_Doors                                   G0009_
#define G0010_ai_Graphic562_Box_Entrance_ClosedDoorLeft                          G0010_
#define G0011_ai_Graphic562_Box_Entrance_ClosedDoorRight                         G0011_
#define G0012_ai_Graphic562_Box_Endgame_TheEnd                                   G0012_
#define G0013_ai_Graphic562_Box_Endgame_Restart_Outer                            G0013_
#define G0014_ai_Graphic562_Box_Endgame_Restart_Inner                            G0014_
#define G0015_ai_Graphic562_Box_Endgame_ChampionMirror                           G0015_
#define G0016_ai_Graphic562_Box_Endgame_ChampionPortrait                         G0016_
#define G0017_auc_Graphic562_PaletteChanges_NoChanges                            G0017_
#define G0018_ai_Graphic562_MandatoryGraphicIndices                              G0018_
#define G0019_aui_Graphic562_Palette_Credits                                     G0019_
#define G0020_aui_Graphic562_Palette_Entrance                                    G0020_
#define G0021_aaui_Graphic562_Palette_DungeonView                                G0021_
#define G0022_i_Graphic562_IndirectStopExpiringEvent_CPSE                        G0022_
#define G0023_aac_Graphic562_OrderedCellsToAttack                                G0023_
#define G0024_auc_Graphic562_WoundProbabilityIndexToWoundMask                    G0024_
#define G0025_auc_Graphic562_StealFromSlotIndices                                G0025_
#define G0026_ai_Graphic562_IconGraphicFirstIconIndex                            G0026_
#define G0027_auc_Graphic562_Box_Unreferenced                                    G0027_
#define G0028_ai_Graphic562_Box_LeaderHandObjectName                             G0028_
#define G0029_auc_Graphic562_ChargeCountToTorchType                              G0029_
#define G0030_as_Graphic562_SlotBoxes                                            G0030_
#define G0031_i_Graphic562_FuzzySectorAnalyzed_CPSE                              G0031_
#define G0032_ai_Graphic562_Box_Panel                                            G0032_
#define G0033_ai_Graphic562_Box_ArrowOrEye                                       G0033_
#define G0034_ai_Graphic562_Box_ObjectDescriptionCircle                          G0034_
#define G0035_ai_Graphic562_Box_Food                                             G0035_
#define G0036_ai_Graphic562_Box_Water                                            G0036_
#define G0037_ai_Graphic562_Box_Poisoned                                         G0037_
#define G0038_ai_Graphic562_SlotMasks                                            G0038_
#define G0039_ai_Graphic562_LightPowerToLightAmount                              G0039_
#define G0040_ai_Graphic562_PaletteIndexToLightAmount                            G0040_
#define G0041_ai_Graphic562_Box_ViewportFloppyZzzCross                           G0041_
#define G0042_auc_Graphic562_Bitmap_ArrowPointer                                 G0042_
#define G0043_auc_Graphic562_Bitmap_HandPointer                                  G0043_
#define G0044_auc_Graphic562_PaletteChanges_MousePointerIcon                     G0044_
#define G0045_auc_Graphic562_PaletteChanges_MousePointerIconShadow               G0045_
#define G0046_auc_Graphic562_ChampionColor                                       G0046_
#define G0047_auc_Graphic562_Box_ChampionPortrait                                G0047_
#define G0048_ai_Graphic562_Box_Mouth                                            G0048_
#define G0049_ai_Graphic562_Box_Eye                                              G0049_
#define G0050_auc_Graphic562_WoundDefenseFactor                                  G0050_
#define G0051_ac_Graphic562_UnderscoreCharacterString                            G0051_
#define G0052_ac_Graphic562_RenameChampionInputCharacterString                   G0052_
#define G0053_ac_Graphic562_ReincarnateSpecialCharacters                         G0053_
#define G0054_ai_Graphic562_Box_ChampionIcons                                    G0054_
#define G0057_ai_Graphic562_SlotDropOrder                                        G0057_
#define G0058_i_Graphic562_Useless_CPSD                                          G0058_
#define G0059_auc_Graphic562_SquareTypeToEventType                               G0059_
#define G0060_as_Graphic562_Sounds                                               G0060_
#define G0061_ai_Graphic562_Box_ScreenTop                                        G0061_
#define G0062_ai_Graphic562_Box_ScreenRight                                      G0062_
#define G0063_ai_Graphic562_Box_ScreenBottom                                     G0063_
#define G0064_al_Graphic562_PrintTextMasks2                                      G0064_
#define G0065_al_Graphic562_PrintTextMasks1                                      G0065_
#define G0066_ac_Graphic562_LineFeedCharacterString                              G0066_
#define G0068_i_CheckLastEvent22Time_CPSE                                        G0068_
#define G0074_puc_Bitmap_Temporary                                               G0074_
#define G0075_apuc_PaletteChanges_Projectile                                     G0075_
#define G0076_B_UseFlippedWallAndFootprintsBitmaps                               G0076_
#define G0077_B_DoNotDrawFluxcagesDuringEndgame                                  G0077_
#define G0084_puc_Bitmap_Floor                                                   G0084_
#define G0085_puc_Bitmap_Ceiling                                                 G0085_
#define G0086_puc_Bitmap_ViewportBlackArea                                       G0086_
#define G0087_puc_Bitmap_ViewportFloorArea                                       G0087_
#define G0090_puc_Bitmap_WallD3LCR_Flipped                                       G0090_
#define G0091_puc_Bitmap_WallD2LCR_Flipped                                       G0091_
#define G0092_puc_Bitmap_WallD1LCR_Flipped                                       G0092_
#define G0093_puc_Bitmap_WallD0L_Flipped                                         G0093_
#define G0094_puc_Bitmap_WallD0R_Flipped                                         G0094_
#define G0095_puc_Bitmap_WallD3LCR_Native                                        G0095_
#define G0096_puc_Bitmap_WallD2LCR_Native                                        G0096_
#define G0097_puc_Bitmap_WallD1LCR_Native                                        G0097_
#define G0098_puc_Bitmap_WallD0L_Native                                          G0098_
#define G0099_puc_Bitmap_WallD0R_Native                                          G0099_
#define G0101_as_CurrentMapWallOrnamentsInfo                                     G0101_
#define G0102_as_CurrentMapFloorOrnamentsInfo                                    G0102_
#define G0103_as_CurrentMapDoorOrnamentsInfo                                     G0103_
#define G0105_auc_Graphic558_Box_ExplosionPattern_D0C                            G0105_
#define G0106_auc_Graphic558_Box_ThievesEye_ViewportVisibleArea                  G0106_
#define G0107_auc_Graphic558_Box_ThievesEye_VisibleArea                          G0107_
#define G0108_auc_Graphic558_Box_ThievesEye_HoleInDoorFrame                      G0108_
#define G0109_auc_Graphic558_Box_ChampionPortraitOnWall                          G0109_
#define G0110_auc_Graphic558_Frame_StairsUpFront_D3L                             G0110_
#define G0111_auc_Graphic558_Frame_StairsUpFront_D3C                             G0111_
#define G0112_auc_Graphic558_Frame_StairsUpFront_D3R                             G0112_
#define G0113_auc_Graphic558_Frame_StairsUpFront_D2L                             G0113_
#define G0114_auc_Graphic558_Frame_StairsUpFront_D2C                             G0114_
#define G0115_auc_Graphic558_Frame_StairsUpFront_D2R                             G0115_
#define G0116_auc_Graphic558_Frame_StairsUpFront_D1L                             G0116_
#define G0117_auc_Graphic558_Frame_StairsUpFront_D1C                             G0117_
#define G0118_auc_Graphic558_Frame_StairsUpFront_D1R                             G0118_
#define G0119_auc_Graphic558_Frame_StairsUpFront_D0L                             G0119_
#define G0120_auc_Graphic558_Frame_StairsUpFront_D0R                             G0120_
#define G0121_auc_Graphic558_Frame_StairsDownFront_D3L                           G0121_
#define G0122_auc_Graphic558_Frame_StairsDownFront_D3C                           G0122_
#define G0123_auc_Graphic558_Frame_StairsDownFront_D3R                           G0123_
#define G0124_auc_Graphic558_Frame_StairsDownFront_D2L                           G0124_
#define G0125_auc_Graphic558_Frame_StairsDownFront_D2C                           G0125_
#define G0126_auc_Graphic558_Frame_StairsDownFront_D2R                           G0126_
#define G0127_auc_Graphic558_Frame_StairsDownFront_D1L                           G0127_
#define G0128_auc_Graphic558_Frame_StairsDownFront_D1C                           G0128_
#define G0129_auc_Graphic558_Frame_StairsDownFront_D1R                           G0129_
#define G0130_auc_Graphic558_Frame_StairsDownFront_D0L                           G0130_
#define G0131_auc_Graphic558_Frame_StairsDownFront_D0R                           G0131_
#define G0132_auc_Graphic558_Frame_StairsSide_D2L                                G0132_
#define G0133_auc_Graphic558_Frame_StairsSide_D2R                                G0133_
#define G0134_auc_Graphic558_Frame_StairsUpSide_D1L                              G0134_
#define G0135_auc_Graphic558_Frame_StairsUpSide_D1R                              G0135_
#define G0136_auc_Graphic558_Frame_StairsDownSide_D1L                            G0136_
#define G0137_auc_Graphic558_Frame_StairsDownSide_D1R                            G0137_
#define G0138_auc_Graphic558_Frame_StairsSide_D0L                                G0138_
#define G0139_auc_Graphic558_Frame_StairsSide_D0R                                G0139_
#define G0140_auc_Graphic558_Frame_FloorPit_D3L                                  G0140_
#define G0141_auc_Graphic558_Frame_FloorPit_D3C                                  G0141_
#define G0142_auc_Graphic558_Frame_FloorPit_D3R                                  G0142_
#define G0143_auc_Graphic558_Frame_FloorPit_D2L                                  G0143_
#define G0144_auc_Graphic558_Frame_FloorPit_D2C                                  G0144_
#define G0145_auc_Graphic558_Frame_FloorPit_D2R                                  G0145_
#define G0146_auc_Graphic558_Frame_FloorPit_D1L                                  G0146_
#define G0147_auc_Graphic558_Frame_FloorPit_D1C                                  G0147_
#define G0148_auc_Graphic558_Frame_FloorPit_D1R                                  G0148_
#define G0149_auc_Graphic558_Frame_FloorPit_D0L                                  G0149_
#define G0150_auc_Graphic558_Frame_FloorPit_D0C                                  G0150_
#define G0151_auc_Graphic558_Frame_FloorPit_D0R                                  G0151_
#define G0152_auc_Graphic558_Frame_CeilingPit_D2L                                G0152_
#define G0153_auc_Graphic558_Frame_CeilingPit_D2C                                G0153_
#define G0154_auc_Graphic558_Frame_CeilingPit_D2R                                G0154_
#define G0155_auc_Graphic558_Frame_CeilingPit_D1L                                G0155_
#define G0156_auc_Graphic558_Frame_CeilingPit_D1C                                G0156_
#define G0157_auc_Graphic558_Frame_CeilingPit_D1R                                G0157_
#define G0158_auc_Graphic558_Frame_CeilingPit_D0L                                G0158_
#define G0159_auc_Graphic558_Frame_CeilingPit_D0C                                G0159_
#define G0160_auc_Graphic558_Frame_CeilingPit_D0R                                G0160_
#define G0161_auc_Graphic558_Box_WallBitmap_D3LCR                                G0161_
#define G0162_auc_Graphic558_Box_WallBitmap_D2LCR                                G0162_
#define G0163_aauc_Graphic558_Frame_Walls                                        G0163_
#define G0164_auc_Graphic558_Frame_DoorFrameLeft_D3L                             G0164_
#define G0165_auc_Graphic558_Frame_DoorFrameRight_D3R                            G0165_
#define G0166_auc_Graphic558_Frame_DoorFrameLeft_D3C                             G0166_
#define G0167_auc_Graphic558_Frame_DoorFrameRight_D3C                            G0167_
#define G0168_auc_Graphic558_Frame_DoorFrameLeft_D2C                             G0168_
#define G0169_auc_Graphic558_Frame_DoorFrameRight_D2C                            G0169_
#define G0170_auc_Graphic558_Frame_DoorFrameLeft_D1C                             G0170_
#define G0171_auc_Graphic558_Frame_DoorFrameRight_D1C                            G0171_
#define G0172_auc_Graphic558_Frame_DoorFrame_D0C                                 G0172_
#define G0173_auc_Graphic558_Frame_DoorFrameTop_D2L                              G0173_
#define G0174_auc_Graphic558_Frame_DoorFrameTop_D2C                              G0174_
#define G0175_auc_Graphic558_Frame_DoorFrameTop_D2R                              G0175_
#define G0176_auc_Graphic558_Frame_DoorFrameTop_D1L                              G0176_
#define G0177_auc_Graphic558_Frame_DoorFrameTop_D1C                              G0177_
#define G0178_auc_Graphic558_Frame_DoorFrameTop_D1R                              G0178_
#define G0179_s_Graphic558_Frames_Door_D3L                                       G0179_
#define G0180_s_Graphic558_Frames_Door_D3C                                       G0180_
#define G0181_s_Graphic558_Frames_Door_D3R                                       G0181_
#define G0182_s_Graphic558_Frames_Door_D2L                                       G0182_
#define G0183_s_Graphic558_Frames_Door_D2C                                       G0183_
#define G0184_s_Graphic558_Frames_Door_D2R                                       G0184_
#define G0185_s_Graphic558_Frames_Door_D1L                                       G0185_
#define G0186_s_Graphic558_Frames_Door_D1C                                       G0186_
#define G0187_s_Graphic558_Frames_Door_D1R                                       G0187_
#define G0188_aauc_Graphic558_FieldAspects                                       G0188_
#define G0189_i_Graphic558_StopAddingEvents_CPSE                                 G0189_
#define G0190_auc_Graphic558_WallOrnamentDerivedBitmapIndexIncrement             G0190_
#define G0191_auc_Graphic558_FloorOrnamentNativeBitmapIndexIncrements            G0191_
/*#define G0192_auc_Graphic558_AlcoveOrnamentIndices                               G0192_*/
#define G0193_ai_Graphic558_FountainOrnamentIndices                              G0193_
#define G0194_auc_Graphic558_WallOrnamentCoordinateSetIndices                    G0194_
#define G0195_auc_Graphic558_FloorOrnamentCoordinateSetIndices                   G0195_
#define G0196_auc_Graphic558_DoorOrnamentCoordinateSetIndices                    G0196_
#define G0197_auc_Graphic558_DoorButtonCoordinateSet                             G0197_
#define G0198_auc_Graphic558_PaletteChanges_DoorButtonAndWallOrnament_D3         G0198_
#define G0199_auc_Graphic558_PaletteChanges_DoorButtonAndWallOrnament_D2         G0199_
#define G0200_auc_Graphic558_PaletteChanges_DoorOrnament_D3                      G0200_
#define G0201_auc_Graphic558_PaletteChanges_DoorOrnament_D2                      G0201_
#define G0202_auc_Graphic558_Box_WallPatchBehindInscription                      G0202_
#define G0203_auc_Graphic558_InscriptionLineY                                    G0203_
/*#define G0204_auc_Graphic558_UnreadableInscriptionBoxY2                          G0204_*/
#define G0205_aaauc_Graphic558_WallOrnamentCoordinateSets                        G0205_
#define G0206_aaauc_Graphic558_FloorOrnamentCoordinateSets                       G0206_
#define G0207_aaauc_Graphic558_DoorOrnamentCoordinateSets                        G0207_
#define G0208_aaauc_Graphic558_DoorButtonCoordinateSets                          G0208_
#define G0209_as_Graphic558_ObjectAspects                                        G0209_
#define G0210_as_Graphic558_ProjectileAspects                                    G0210_
#define G0211_as_Graphic558_ExplosionAspects                                     G0211_
#define G0212_auc_Graphic558_PaletteChanges_Smoke                                G0212_
#define G0213_auc_Graphic558_PaletteChanges_FloorOrnament_D3                     G0213_
#define G0214_auc_Graphic558_PaletteChanges_FloorOrnament_D2                     G0214_
#define G0215_auc_Graphic558_ProjectileScales                                    G0215_
#define G0216_auc_Graphic558_ExplosionBaseScales                                 G0216_
#define G0217_aauc_Graphic558_ObjectPileShiftSetIndices                          G0217_
#define G0218_aaaauc_Graphic558_ObjectCoordinateSets                             G0218_
#define G0219_as_Graphic558_CreatureAspects                                      G0219_
/*#define G0220_as_Graphic558_CreatureReplacementColorSets                         G0220_*/
#define G0221_auc_Graphic558_PaletteChanges_Creature_D3                          G0221_
#define G0222_auc_Graphic558_PaletteChanges_Creature_D2                          G0222_
#define G0223_aac_Graphic558_ShiftSets                                           G0223_
#define G0224_aaaauc_Graphic558_CreatureCoordinateSets                           G0224_
#define G0225_aai_Graphic558_CenteredExplosionCoordinates                        G0225_
#define G0226_aaai_Graphic558_ExplosionCoordinates                               G0226_
#define G0227_aai_Graphic558_RebirthStep2ExplosionCoordinates                    G0227_
#define G0228_aai_Graphic558_RebirthStep1ExplosionCoordinates                    G0228_
#define G0230_i_CurrentFloorSet                                                  G0230_
#define G0231_i_CurrentWallSet                                                   G0231_
#define G0232_B_FirstFunctionCall                                                G0232_
#define G0233_ai_Graphic559_DirectionToStepEastCount                             G0233_
#define G0234_ai_Graphic559_DirectionToStepNorthCount                            G0234_
#define G0235_auc_Graphic559_ThingDataByteCount                                  G0235_
#define G0236_auc_Graphic559_AdditionalThingCounts                               G0236_
#define G0237_as_Graphic559_ObjectInfo                                           G0237_
#define G0238_as_Graphic559_WeaponInfo                                           G0238_
#define G0239_as_Graphic559_ArmourInfo                                           G0239_
#define G0240_i_Graphic559_State_CPSD                                            G0240_
#define G0241_auc_Graphic559_JunkInfo                                            G0241_
#define G0242_ai_Graphic559_FoodAmounts                                          G0242_
#define G0243_as_Graphic559_CreatureInfo                                         G0243_
#define G0244_auc_Graphic559_CreatureAttackSounds                                G0244_
#define G0245_aui_Graphic559_FixedPossessionsCreature12Skeleton                  G0245_
#define G0246_aui_Graphic559_FixedPossessionsCreature09StoneGolem                G0246_
#define G0247_aui_Graphic559_FixedPossessionsCreature16Trolin_Antman             G0247_
#define G0248_aui_Graphic559_FixedPossessionsCreature18AnimatedArmour_DethKnight G0248_
#define G0249_aui_Graphic559_FixedPossessionsCreature07Rock_RockPile             G0249_
#define G0250_aui_Graphic559_FixedPossessionsCreature04PainRat_Hellhound         G0250_
#define G0251_aui_Graphic559_FixedPossessionsCreature06Screamer                  G0251_
#define G0252_aui_Graphic559_FixedPossessionsCreature15MagentaWorm_Worm          G0252_
#define G0253_aui_Graphic559_FixedPossessionsCreature24RedDragon                 G0253_
#define G0254_as_Graphic559_DoorInfo                                             G0254_
#define G0255_aac_Graphic559_MessageAndScrollEscapeReplacementStrings            G0255_
#define G0256_aac_Graphic559_EscapeReplacementCharacters                         G0256_
#define G0257_aac_Graphic559_InscriptionEscapeReplacementStrings                 G0257_
#define G0258_auc_Graphic559_GroupDirections                                     G0258_
#define G0260_pui_DungeonTextData                                                G0260_
#define G0261_auc_CurrentMapWallOrnamentIndices                                  G0261_
#define G0262_auc_CurrentMapFloorOrnamentIndices                                 G0262_
#define G0263_auc_CurrentMapDoorOrnamentIndices                                  G0263_
#define G0264_puc_CurrentMapAllowedCreatureTypes                                 G0264_
#define G0265_i_CurrentMapInscriptionWallOrnamentIndex                           G0265_
#define G0266_i_CurrentMapViAltarWallOrnamentIndex                               G0266_
#define G0267_ai_CurrentMapAlcoveOrnamentIndices                                 G0267_
#define G0268_ai_CurrentMapFountainOrnamentIndices                               G0268_
#define G0269_ps_CurrentMap                                                      G0269_
#define G0270_pui_CurrentMapColumnsCumulativeSquareFirstThingCount               G0270_
#define G0271_ppuc_CurrentMapData                                                G0271_
#define G0272_i_CurrentMapIndex                                                  G0272_
#define G0273_i_CurrentMapWidth                                                  G0273_
#define G0274_i_CurrentMapHeight                                                 G0274_
#define G0275_as_CurrentMapDoorInfo                                              G0275_
#define G0276_puc_DungeonRawMapData                                              G0276_
#define G0277_ps_DungeonMaps                                                     G0277_
#define G0278_ps_DungeonHeader                                                   G0278_
#define G0279_pppuc_DungeonMapData                                               G0279_
#define G0280_pui_DungeonColumnsCumulativeSquareThingCount                       G0280_
#define G0281_pui_DungeonMapsFirstColumnIndex                                    G0281_
#define G0282_ui_DungeonColumnCount                                              G0282_
#define G0283_pT_SquareFirstThings                                               G0283_
#define G0284_apuc_ThingData                                                     G0284_
#define G0285_i_SquareAheadElement                                               G0285_
#define G0286_B_FacingAlcove                                                     G0286_
#define G0287_B_FacingViAltar                                                    G0287_
#define G0288_B_FacingFountain                                                   G0288_
/*#define G0289_i_DungeonView_ChampionPortraitOrdinal                              G0289_*/
#define G0290_T_DungeonView_InscriptionThing                                     G0290_
#define G0291_aauc_DungeonViewClickableBoxes                                     G0291_
#define G0292_aT_PileTopObject                                                   G0292_
#define G0293_ai_FuzzyBits_CPSE                                                  G0293_
#define G0294_auc_LastDiscardedThingMapIndex                                     G0294_
#define G0295_ac_FuzzySectorReadingBuffer_CPSE                                   G0295_
#define G0296_puc_Bitmap_Viewport                                                G0296_
#define G0297_B_DrawFloorAndCeilingRequested                                     G0297_
#define G0298_B_NewGame                                                          G0298_
#define G0299_ui_CandidateChampionOrdinal                                        G0299_
#define G0300_B_PartyIsResting                                                   G0300_
#define G0301_B_GameTimeTicking                                                  G0301_
#define G0302_B_GameWon                                                          G0302_
#define G0303_B_PartyDead                                                        G0303_
#define G0304_i_DungeonViewPaletteIndex                                          G0304_
#define G0305_ui_PartyChampionCount                                              G0305_ui_Pa
#define G0306_i_PartyMapX                                                        G0306_
#define G0307_i_PartyMapY                                                        G0307_
#define G0308_i_PartyDirection                                                   G0308_
#define G0309_i_PartyMapIndex                                                    G0309_
#define G0310_i_DisabledMovementTicks                                            G0310_
#define G0311_i_ProjectileDisabledMovementTicks                                  G0311_
#define G0312_i_LastProjectileDisabledMovementDirection                          G0312_
#define G0313_ul_GameTime                                                        G0313_
#define G0317_i_WaitForInputVerticalBlankCount                                   G0317_
#define G0318_i_WaitForInputMaximumVerticalBlankCount                            G0318_
#define G0319_ul_LoadGameTime                                               G0319_
#define G0321_B_StopWaitingForPlayerInput                                        G0321_
#define G0322_B_PaletteSwitchingEnabled                                          G0322_
#define G0323_B_EnablePaletteSwitchingRequested                                  G0323_
#define G0324_B_DrawViewportRequested                                            G0324_
#define G0325_B_SetMousePointerToObjectInMainLoop                                G0325_
#define G0326_B_RefreshMousePointerInMainLoop                                    G0326_
#define G0327_i_NewPartyMapIndex                                                 G0327_
#define G0328_i_TimeBombToKillParty_CPSF                                         G0328_
#define G0330_i_StopExpiringEvents_CPSE                                          G0330_
#define G0331_B_PressingEye                                                      G0331_
#define G0332_B_StopPressingEye                                                  G0332_
#define G0333_B_PressingMouth                                                    G0333_
#define G0334_B_StopPressingMouth                                                G0334_
#define G0335_ui_SelectedDialogChoice                                            G0335_
#define G0336_i_HighlightBoxX1                                                   G0336_
#define G0337_i_HighlightBoxX2                                                   G0337_
#define G0338_i_HighlightBoxY1                                                   G0338_
#define G0339_i_HighlightBoxY2                                                   G0339_
#define G0340_B_HighlightBoxInversionRequested                                   G0340_
#define G0341_B_HighlightBoxEnabled                                              G0341_
#define G0342_B_RefreshDungeonViewPaletteRequested                               G0342_
#define G0343_puc_Graphic_DialogBox                                              G0343_
#define G0344_ai_CodePatch1_CPSE                                                 G0344_
#define G0345_aui_BlankBuffer                                                    G0345_
#define G0347_aui_Palette_TopAndBottomScreen                                     G0347_
#define G0348_Bitmap_Screen                                                      G0348_
#define G0349_ul_LastRandomNumber                                                G0349_
#define G0352_apc_ObjectNames                                                    G0352_
#define G0353_ac_StringBuildBuffer                                               G0353_
#define G0355_B_ScrollMessageArea                                                G0355_
#define G0358_i_MessageAreaCursorRow                                             G0358_
#define G0359_i_MessageAreaCursorColumn                                          G0359_
#define G0360_al_MessageAreaRowExpirationTime                                    G0360_
#define G0361_l_LastCreatureAttackTime                                           G0361_
#define G0362_l_LastPartyMovementTime                                            G0362_
#define G0363_i_SecondaryDirectionToOrFromParty                                  G0363_
#define G0364_i_CreatureDamageOutcome                                            G0364_
#define G0365_B_CreateLauncherProjectile                                         G0365_
#define G0366_i_ProjectilePoisonAttack                                           G0366_
#define G0367_i_ProjectileAttackType                                             G0367_
#define G0368_api_CodePatches_CPSE                                               G0368_
#define G0369_EventMaximumCount                                                  G0369_
#define G0370_ps_Events                                                          G0370_
#define G0371_pui_Timeline                                                       G0371_
#define G0372_ui_EventCount                                                      G0372_
#define G0373_ui_FirstUnusedEventIndex                                           G0373_
#define G0374_l_WatchdogTime_CPSE                                                G0374_
#define G0375_ps_ActiveGroups                                                    G0375_
#define G0376_ui_MaximumActiveGroupCount                                         G0376_
#define G0377_ui_CurrentActiveGroupCount                                         G0377_
#define G0378_i_CurrentGroupMapX                                                 G0378_
#define G0379_i_CurrentGroupMapY                                                 G0379_
#define G0380_T_CurrentGroupThing                                                G0380_
#define G0381_ui_CurrentGroupDistanceToParty                                     G0381_
#define G0382_i_CurrentGroupPrimaryDirectionToParty                              G0382_
#define G0383_i_CurrentGroupSecondaryDirectionToParty                            G0383_
#define G0384_auc_GroupMovementTestedDirections                                  G0384_
#define G0385_ac_FluxCages                                                       G0385_
/*#define G0386_ui_FluxCageCount                                                   G0386_*/
#define G0387_B_GroupMovementBlockedByWallStairsPitFakeWallFluxcageTeleporter    G0387_
#define G0388_T_GroupMovementBlockedByGroupThing                                 G0388_
#define G0389_B_GroupMovementBlockedByDoor                                       G0389_
#define G0390_B_GroupMovementBlockedByParty                                      G0390_
#define G0391_ui_DropMovingCreatureFixedPossessionsCellCount                     G0391_
#define G0392_auc_DropMovingCreatureFixedPossessionsCells                        G0392_
#define G0393_ai_CodePatch4_CPSE                                                 G0393_
#define G0394_auc_StealFromSlotIndices                                           G0394_
#define G0395_l_TwoHalfSquareSizedCreaturesGroupLastDirectionSetTime             G0395_
#define G0396_ps_TwoHalfSquareSizedCreaturesGroupLastDirectionSetActiveGroup     G0396_
#define G0397_i_MoveResultMapX                                                   G0397_
#define G0398_i_MoveResultMapY                                                   G0398_
#define G0399_ui_MoveResultMapIndex                                              G0399_
#define G0400_i_MoveResultDirection                                              G0400_
#define G0401_ui_MoveResultCell                                                  G0401_
#define G0402_B_UseRopeToClimbDownPit                                            G0402_
#define G0403_i_SensorRotationEffect                                             G0403_
#define G0404_i_SensorRotationEffectMapX                                         G0404_
#define G0405_i_SensorRotationEffectMapY                                         G0405_
#define G0406_i_SensorRotationEffectCell                                         G0406_
#define G0407_s_Party                                                            G0407_
#define G0408_ai_CodePatch3_CPSE                                                 G0408_
#define G0409_ai_ChampionPendingDamage                                           G0409_
#define G0410_ai_ChampionPendingWounds                                           G0410_
#define G0411_i_LeaderIndex                                                      G0411_
#define G4055_s_LeaderHandObject                                                 G4055_
#define G0415_ui_LeaderEmptyHanded                                                G0415_
#define G0416_i_DelayMouse_Useless                                               G0416_
#define G0417_apc_BaseSkillNames                                                 G0417_
#define G0418_l_LastEvent22Time_CPSE                                             G0418_
#define G0419_ac_IntegerToStringConversionBuffer                                 G0419_
#define G0420_B_MousePointerHiddenToDrawChangedObjectIconOnScreen                G0420_
#define G0421_i_ObjectDescriptionTextX                                           G0421_
#define G0422_i_ObjectDescriptionTextY                                           G0422_
#define G0423_i_InventoryChampionOrdinal                                         G0423_
#define G0424_i_PanelContent                                                     G0424_
#define G0425_aT_ChestSlots                                                      G0425_
#define G0426_T_OpenChest                                                        G0426_
#define G0427_ai_CodePatch5_CPSE                                                 G0427_
#define G0428_apc_SkillLevelNames                                                G0428_
#define G0429_api_Graphic21Result_CPSE                                           G0429_
#define G0430_apc_DirectionNames                                                 G0430_
#define G0431_apc_StatisticNames                                                 G0431_
#define G0432_as_CommandQueue                                                    G0432_
#define G0433_i_CommandQueueFirstIndex                                           G0433_
/*#define G0434_i_CommandQueueLastIndex                                            G0434_*/
#define G0435_B_CommandQueueLocked                                               G0435_
#define G0436_B_PendingClickPresent                                              G0436_
#define G0437_i_PendingClickX                                                    G0437_
#define G0438_i_PendingClickY                                                    G0438_
#define G0439_i_PendingClickButtonsStatus                                        G0439_
#define G0440_B_Consequence_StopSearchingMouseInput_CPSC                         G0440_
#define G0441_ps_PrimaryMouseInput                                               G0441_
#define G0442_ps_SecondaryMouseInput                                             G0442_
#define G0443_ps_PrimaryKeyboardInput                                            G0443_
#define G0444_ps_SecondaryKeyboardInput                                          G0444_
#define G0445_as_Graphic561_PrimaryMouseInput_Entrance                           G0445_
#define G0446_as_Graphic561_PrimaryMouseInput_RestartGame                        G0446_
#define G0447_as_Graphic561_PrimaryMouseInput_Interface                          G0447_
#define G0448_as_Graphic561_SecondaryMouseInput_Movement                         G0448_
#define G0449_as_Graphic561_SecondaryMouseInput_ChampionInventory                G0449_
#define G0450_as_Graphic561_PrimaryMouseInput_PartyResting                       G0450_
#define G0451_as_Graphic561_PrimaryMouseInput_FrozenGame                         G0451_
#define G0452_as_Graphic561_MouseInput_ActionAreaNames                           G0452_
#define G0453_as_Graphic561_MouseInput_ActionAreaIcons                           G0453_
#define G0454_as_Graphic561_MouseInput_SpellArea                                 G0454_
#define G0455_as_Graphic561_MouseInput_ChampionNamesHands                        G0455_
#define G0456_as_Graphic561_MouseInput_PanelChest                                G0456_
#define G0457_as_Graphic561_MouseInput_PanelResurrectReincarnateCancel           G0457_
#define G0458_as_Graphic561_PrimaryKeyboardInput_Interface                       G0458_
#define G0459_as_Graphic561_SecondaryKeyboardInput_Movement                      G0459_
#define G0460_as_Graphic561_PrimaryKeyboardInput_PartyResting                    G0460_
#define G0461_as_Graphic561_PrimaryKeyboardInput_FrozenGame                      G0461_
#define G0462_aauc_Graphic561_Box_ObjectPiles                                    G0462_
#define G0463_aai_Graphic561_Box_MovementArrows                                  G0463_
#define G0464_aai_Graphic561_Box_SpellSymbolsAndDelete                           G0464_
#define G0465_ai_Graphic561_MovementArrowToStepForwardCount                      G0465_
#define G0466_ai_Graphic561_MovementArrowToStepRightCount                        G0466_
#define G0467_ai_Graphic561_Box_Dialog1ChoicePatchA                              G0467_
#define G0468_ai_Graphic561_Box_Dialog1ChoicePatchB                              G0468_
#define G0469_ai_Graphic561_Box_Dialog2ChoicesPatch                              G0469_
#define G0470_ai_Graphic561_Box_Dialog4ChoicesPatch                              G0470_
#define G0471_as_Graphic561_PrimaryMouseInput_ViewportDialog1Choice              G0471_
#define G0472_as_Graphic561_PrimaryMouseInput_ViewportDialog2Choices             G0472_
#define G0473_as_Graphic561_PrimaryMouseInput_ViewportDialog3Choices             G0473_
#define G0474_as_Graphic561_PrimaryMouseInput_ViewportDialog4Choices             G0474_
#define G0475_as_Graphic561_PrimaryMouseInput_ScreenDialog1Choice                G0475_
#define G0476_as_Graphic561_PrimaryMouseInput_ScreenDialog2Choices               G0476_
#define G0477_as_Graphic561_PrimaryMouseInput_ScreenDialog3Choices               G0477_
#define G0478_as_Graphic561_PrimaryMouseInput_ScreenDialog4Choices               G0478_
#define G0480_aaps_PrimaryMouseInput_DialogSets                                  G0480_
#define G0481_ps_PrimaryKeyboardInputBackup                                      G0481_
#define G0482_ps_SecondaryKeyboardInputBackup                                    G0482_
#define G0483_ps_PrimaryMouseInputBackup                                         G0483_
#define G0484_ps_SecondaryMouseInputBackup                                       G0484_
#define G0485_aauc_Graphic560_SymbolBaseManaCost                                 G0485_
#define G0486_auc_Graphic560_SymbolManaCostMultiplier                            G0486_
#define G0487_as_Graphic560_Spells                                               G0487_
#define G0488_i_Graphic560_RequestCheckFuzzyBitCount_CPSE                        G0488_
#define G0489_as_Graphic560_ActionSets                                           G0489_
#define G0490_ac_Graphic560_ActionNames                                          G0490_
#define G0491_auc_Graphic560_ActionDisabledTicks                                 G0491_
#define G0492_auc_Graphic560_ActionDamageFactor                                  G0492_
#define G0493_auc_Graphic560_ActionHitProbability                                G0493_
#define G0494_auc_Graphic560_ActionStamina                                       G0494_
#define G0495_ac_Graphic560_ActionDefense                                        G0495_
#define G0496_auc_Graphic560_ActionSkillIndex                                    G0496_
#define G0497_auc_Graphic560_ActionExperienceGain                                G0497_
#define G0498_auc_Graphic560_PaletteChanges_ActionAreaObjectIcon                 G0498_
#define G0499_ai_Graphic560_Box_ActionArea3ActionsMenu                           G0499_
#define G0500_ai_Graphic560_Box_ActionArea2ActionsMenu                           G0500_
#define G0501_ai_Graphic560_Box_ActionArea1ActionMenu                            G0501_
#define G0502_ai_Graphic560_Box_ActionAreaMediumDamage                           G0502_
#define G0503_ai_Graphic560_Box_ActionAreaSmallDamage                            G0503_
#define G0504_ai_Graphic560_Box_SpellAreaControls                                G0504_
#define G0506_ui_ActingChampionOrdinal                                           G0506_
#define G0507_ui_ActionCount                                                     G0507_
#define G0508_B_RefreshActionArea                                                G0508_
#define G0509_B_ActionAreaContainsIcons                                          G0509_
#define G0513_i_ActionDamage                                                     G0513_
#define G0514_i_MagicCasterChampionIndex                                         G0514_
#define G0515_aui_Bitmap_SpellAreaLine                                           G0515_
#define G0516_aaui_Bitmap_SpellAreaLines                                         G0516_
#define G0517_T_ActionTargetGroupThing                                           G0517_
#define G0521_i_GameFileHandle                                                   G0521_
#define G0522_l_Unreferenced                                                     G0522_
#define G0523_B_RestartGameRequested                                             G0523_
#define G0524_B_RestartGameAllowed                                               G0524_
#define G0525_l_GameID                                                           G0525_
#define G0526_ui_DungeonID                                                       G0526_
#define G0527_i_Platform                                                         G0527_
#define G0528_i_Format                                                           G0528_
#define G0529_i_Useless                                                          G0529_
#define G0530_B_LoadingCompressedDungeon                                         G0530_
#define G0531_puc_DecompressedDungeonCurrentPosition                             G0531_
#define G0532_l_DecompressedDungeonRemainingByteCount                            G0532_
#define G0533_ai_CodePatch2_CPSE                                                 G0533_
#define G0534_ac_SaveHeaderAdditionalData                                        G0534_
#define G0536_pc_GAMELOADEDREADYTOPLAY                                           G0536_
#define G0537_pc_CANTMODIFYGAMEDISK                                              G0537_
#define G0538_pc_THATSNOTTHEMASTERDISK                                           G0538_
#define G0539_pc_CANTFINDSAVEDGAME                                               G0539_
#define G0540_pc_UNABLETOSAVEGAME                                                G0540_
#define G0541_pc_UNABLETOFORMATDISK                                              G0541_
#define G0542_pc_THATSTHEGAMEDISK                                                G0542_
#define G0543_pc_THATSAGAMESAVEDISK                                              G0543_
#define G0544_pc_THATDISKISWRITEPROTECTED                                        G0544_
#define G0545_pc_THATDISKISUNREADABLE                                            G0545_
#define G0546_pc_THATSNOTTHESAMEGAME                                             G0546_
#define G0547_pc_SAVEDGAMEDAMAGED                                                G0547_
#define G0548_pc_PUTTHEGAMESAVEDISKIN                                            G0548_
#define G0549_pc_PUTTHEGAMEDISKIN                                                G0549_
#define G0550_pc_PUTABLANKDISKIN                                                 G0550_
#define G0551_pc_SAVINGGAME                                                      G0551_
#define G0552_pc_LOADINGGAME                                                     G0552_
#define G0553_pc_FORMATTINGDISK                                                  G0553_
#define G0554_pc_FORMATDISKANYWAY                                                G0554_
#define G0555_pc_THEREISNODISKIN                                                 G0555_
#define G0556_pc_LOADSAVEDGAME                                                   G0556_
#define G0557_pc_SAVEANDPLAY                                                     G0557_
#define G0558_pc_SAVEANDQUIT                                                     G0558_
#define G0559_pc_FORMATFLOPPY                                                    G0559_
#define G0560_pc_OK                                                              G0560_
#define G0561_pc_CANCEL                                                          G0561_
#define G0562_apuc_Bitmap_EntranceDoorAnimationSteps                             G0562_
#define G0563_puc_Graphic4_InterfaceEntranceScreen                               G0563_
#define G0564_puc_Graphic5_InterfaceCredits                                      G0564_
#define G0565_puc_Graphic535_Sound02DoorRattle                                   G0565_
#define G0566_puc_Graphic534_Sound01Switch                                       G0566_
#define G0567_B_GameAndSaveDiskUseSameDrive                                      G0567_
/*#define G0568_ui_DiskType                                                        G0568_*/
#define G0569_pc_SavedGameFileName                                               G0569_
#define G0570_pc_SavedGameBackupFileName                                         G0570_
#define G0571_puc_GameDiskDriveName                                              G0571_
#define G0572_puc_SavedGameDiskDriveName                                         G0572_
#define G0578_B_UseByteBoxCoordinates                                            G0578_
#define G0585_ai_CodePatch0_CPSE                                                 G0585_
#define G0587_i_HideMousePointerRequestCount                                     G0587_
#define G0588_i_MouseButtonsStatus                                               G0588_
#define G0589_i_MousePointerHotspotX                                             G0589_
#define G0590_i_MousePointerHotspotY                                             G0590_
#define G0591_l_MousePointerYX                                                   G0591_
#define G0592_B_BuildMousePointerScreenAreaRequested                             G0592_
#define G0593_B_BuildMousePointerScreenAreaCompleted                             G0593_
#define G0594_B_BuildMousePointerScreenAreaRequestedInMouseException             G0594_
#define G0595_B_MousePointerVisible                                              G0595_
#define G0596_B_NoDrawInVerticalBlankWhileHidingMousePointer                     G0596_
#define G0597_B_IgnoreMouseMovements                                             G0597_
#define G0598_B_MousePointerBitmapUpdated                                        G0598_
#define G0599_ui_UseChampionIconOrdinalAsMousePointerBitmap                      G0599_
#define G0600_B_UseObjectAsMousePointerBitmap                                    G0600_
#define G0601_B_UseHandAsMousePointerBitmap                                      G0601_
#define G0603_i_MousePointerScreenAreaCurrentX                                   G0603_
#define G0604_i_MousePointerScreenAreaCurrentY                                   G0604_
#define G0605_i_MousePointerBitmapHotspotX                                       G0605_
#define G0606_i_MousePointerBitmapHotspotY                                       G0606_
#define G0618_puc_Bitmap_MousePointerHiddenScreenArea                            G0618_
#define G0621_ai_Box_MousePointer_ChampionIconShadow                             G0621_
#define G0622_ai_Box_MousePointer_ChampionIcon                                   G0622_
#define G0630_i_GraphicsDatFileHandle                                            G0630_
#define G0631_i_GraphicsDatFileReferenceCount                                    G0631_
#define G0632_ui_GraphicCount                                                    G0632_
#define G0633_l_GraphicsDatFileSize                                              G0633_
#define G0634_pui_GraphicCompressedByteCount                                     G0634_
#define G0635_pui_GraphicDecompressedByteCount                                   G0635_
#define G0636_ppuc_Graphics                                                      G0636_
#define G0637_pui_NativeBitmapBlockIndices                                       G0637_
#define G0638_pui_DerivedBitmapBlockIndices                                      G0638_
#define G0639_DerivedBitmapByteCount                                             G0639_
#define G0640_i_FloppyDiskReadBufferGraphicsDatChunkIndex                        G0640_
#define G0641_puc_CacheMemoryBottom                                              G0641_
#define G0642_puc_GraphicMemoryBottom                                            G0642_
#define G0643_puc_FloppyDiskReadBuffer_CPSDF                                     G0643_
#define G0644_i_FloppyDiskReadBufferContentType_CPSDF                            G0644_
#define G0645_puc_HeapMemoryTop                                                  G0645_
#define G0646_puc_AvailableHeapMemoryTop                                         G0646_
#define G0647_l_Unreferenced                                                     G0647_
#define G0648_l_AvailableHeapMemoryByteCount                                     G0648_
#define G0649_puc_GraphicMemoryTop                                               G0649_
#define G0650_puc_GraphicMemoryBottomTemp                                        G0650_
#define G0651_puc_CacheMemoryTop                                                 G0651_
/*#define G0652_puc_AvailableGEMMemoryBottom                                       G0652_*/
#define G0653_l_AvailableGEMMemoryByteCount                                      G0653_
#define G0654_B_GraphicMemoryInitialized                                         G0654_
#define G0655_ppuc_Blocks                                                        G0655_
#define G0656_l_AvailableCacheMemoryByteCount                                    G0656_
#define G0657_puc_FirstUnusedBlock                                               G0657_
#define G0658_puc_FirstUsedBlock                                                 G0658_
#define G0659_puc_LastUsedBlock                                                  G0659_
#define G0660_puc_FirstReferencedUsedBlock                                       G0660_
#define G0661_B_LargeHeapMemory                                                  G0661_
#define G0662_l_LastResetCacheUsageCountsTime                                    G0662_
#define G0663_B_LZW_RepetitionEnabled                                            G0663_
#define G0664_i_LZW_CodeBitCount                                                 G0664_
#define G0665_i_LZW_CurrentMaximumCode                                           G0665_
#define G0666_i_LZW_AbsoluteMaximumCode                                          G0666_
#define G0667_ac_LZW_InputBuffer                                                 G0667_
#define G0668_i_LZW_DictionaryNextAvailableCode                                  G0668_
#define G0669_B_LZW_DictionaryFlushed                                            G0669_
#define G0670_auc_LZW_Unreferenced                                               G0670_
#define G0671_auc_LZW_LeastSignificantBitMasks                                   G0671_
#define G0672_i_LZW_InputBufferBitIndex                                          G0672_
#define G0673_i_LZW_InputBufferBitCount                                          G0673_
#define G0674_i_LZW_CharacterToRepeat                                            G0674_
#define G0675_i_StairsNativeBitmapIndex_Up_Front_D3L                             G0675_
#define G0676_i_StairsNativeBitmapIndex_Up_Front_D3C                             G0676_
#define G0677_i_StairsNativeBitmapIndex_Up_Front_D2L                             G0677_
#define G0678_i_StairsNativeBitmapIndex_Up_Front_D2C                             G0678_
#define G0679_i_StairsNativeBitmapIndex_Up_Front_D1L                             G0679_
#define G0680_i_StairsNativeBitmapIndex_Up_Front_D1C                             G0680_
#define G0681_i_StairsNativeBitmapIndex_Up_Front_D0C_Left                        G0681_
#define G0682_i_StairsNativeBitmapIndex_Down_Front_D3L                           G0682_
#define G0683_i_StairsNativeBitmapIndex_Down_Front_D3C                           G0683_
#define G0684_i_StairsNativeBitmapIndex_Down_Front_D2L                           G0684_
#define G0685_i_StairsNativeBitmapIndex_Down_Front_D2C                           G0685_
#define G0686_i_StairsNativeBitmapIndex_Down_Front_D1L                           G0686_
#define G0687_i_StairsNativeBitmapIndex_Down_Front_D1C                           G0687_
#define G0688_i_StairsNativeBitmapIndex_Down_Front_D0C_Left                      G0688_
#define G0689_i_StairsNativeBitmapIndex_Side_D2L                                 G0689_
#define G0690_i_StairsNativeBitmapIndex_Up_Side_D1L                              G0690_
#define G0691_i_StairsNativeBitmapIndex_Down_Side_D1L                            G0691_
#define G0692_i_StairsNativeBitmapIndex_Side_D0L                                 G0692_
#define G0693_ai_DoorNativeBitmapIndex_Front_D3LCR                               G0693_
#define G0694_ai_DoorNativeBitmapIndex_Front_D2LCR                               G0694_
#define G0695_ai_DoorNativeBitmapIndex_Front_D1LCR                               G0695_
#define G0696_puc_Bitmap_WallSet_Wall_D3R2                                       G0696_
#define G0697_puc_Bitmap_WallSet_Wall_D3L2                                       G0697_
#define G0698_puc_Bitmap_WallSet_Wall_D3LCR                                      G0698_
#define G0699_puc_Bitmap_WallSet_Wall_D2LCR                                      G0699_
#define G0700_puc_Bitmap_WallSet_Wall_D1LCR                                      G0700_
#define G0701_puc_Bitmap_WallSet_Wall_D0L                                        G0701_
#define G0702_puc_Bitmap_WallSet_Wall_D0R                                        G0702_
#define G0703_puc_Bitmap_WallSet_DoorFrameTop_D2LCR                              G0703_
#define G0704_puc_Bitmap_WallSet_DoorFrameTop_D1LCR                              G0704_
#define G0705_puc_Bitmap_WallSet_DoorFrameLeft_D3L                               G0705_
#define G0706_puc_Bitmap_WallSet_DoorFrameLeft_D3C                               G0706_
#define G0707_puc_Bitmap_WallSet_DoorFrameLeft_D2C                               G0707_
#define G0708_puc_Bitmap_WallSet_DoorFrameLeft_D1C                               G0708_
#define G0709_puc_Bitmap_WallSet_DoorFrameFront                                  G0709_
#define G0710_puc_Bitmap_WallSet_DoorFrameRight_D1C                              G0710_
#define G0711_auc_Graphic558_Frame_Wall_D3L2                                     G0711_
#define G0712_auc_Graphic558_Frame_Wall_D3R2                                     G0712_
#define G0713_s_ActionList                                                       G0713_
#define G1028_aauc_DistanceToSoundVolume                                         G1028_
#define G1072_s_Box_SpellAreaLine2                                               G1072_
#define G1073_s_Box_SpellAreaLine3                                               G1073_
#define G1103_auc_InterfaceAndScrollsFont                                        G1103_
#define G1147_B_LoadBonusDungeon                                                 G1147_
#define G2164_i_MousePointerChampionIndex                                        G2164_
#define G3949_pui_Palette_MiddleScreen                                           G3949_
#define G3952_puc_                                                               G3952_
#define G3953_i_SoundVolumeLevel                                                 G3953_
#define G3956_i_CPSX                                                                 G3956_
#define G3957_i_CPSX                                                                 G3957_
#define G3971_auc_Bitmap_MessageAreaNewRow                                       G3971_
#define G3972_i_                                                                 G3972_
#define G3973_i_                                                                 G3973_
#define G3974_puc_                                                               G3974_
#define G3976_B_                                                                 G3976_
#define G3977_puc_                                                               G3977_
#define G3978_auc_FlippedPixels                                                               G3978_
#define G3979_puc_                                                               G3979_
#define G3980_apuc_                                                              G3980_
#define G3981_apuc_                                                              G3981_
#define G3983_aauc_                                                              G3983_
#define G3984_aauc_                                                              G3984_
#define G3988_ac_                                                                G3988_
#define G3989_i_GameDiskDrive                                                                 G3989_
#define G3990_ac_                                                                G3990_
#define G3991_ac_                                                                G3991_
#define G3994_ac_                                                                G3994_
#define G3995_ac_                                                                G3995_
#define G3996_ac_                                                                G3996_
#define G3997_ac_                                                                G3997_
#define G3998_i_SaveDiskDrive                                                                 G3998_
#define G4001_ac_                                                                G4001_
#define G4002_ac_                                                                G4002_
#define G4003_s_                                                                 G4003_
#define G4004_s_                                                                 G4004_
#define G4005_ac_                                                                G4005_
#define G4006_ac_                                                                G4006_
#define G4007_ac_                                                                G4007_
#define G4008_ac_                                                                G4008_
#define G4009_puc_Bitmap_MousePointerObject                                      G4009_
#define G4010_auc_PaletteChanges                                                 G4010_
#define G4011_auc_PaletteChanges                                                 G4011_
#define G4012_pc_                                                                G4012_
#define G4013_auc_PaletteChanges                                                 G4013_
#define G4014_pc_                                                                G4014_pc_012345678901234567890123456789
#define G4015_puc_Bitmap_MousePointerChampion                                    G4015_
#define G4016_puc_                                                               G4016_
#define G4017_puc_                                                               G4017_
#define G4018_B_                                                                 G4018_
#define G4019_pui_                                                               G4019_
#define G4020_pui_                                                               G4020_
#define G4025_B_                                                                 G4025_
#define G4026_as_                                                                G4026_
#define G4028_B_PreventSoundPlay_CPSX                                             G4028_
#define G4029_ui_PlayedSoundCount_CPSX                                            G4029_
#define G4030_al_                                                                G4030_
#define G4031_l_                                                                 G4031_
#define G4033_c_                                                                 G4033_
#define G4034_ac_                                                                G4034_
#define G4035_ai_                                                                G4035_
#define G4036_ac_                                                                G4036_
#define G4037_apui_                                                              G4037_
#define G4038_ai_                                                                G4038_
#define G4039_ac_                                                                G4039_
#define G4040_ac_                                                                G4040_
#define G4041_ac_                                                                G4041_
#ifdef MEDIA349_G14ED
/*#define G4042_i_                                                                 G4042_i_*/
#endif
#ifdef MEDIA388_G20E_G21E
#define G4042_i_                                                                 G4042_i_012345678901234567890123456789
#endif
#define G4043_c_                                                                 G4043_
#define G4044_i_                                                                 G4044_
#define G4045_c_                                                                 G4045_
#define G4046_i_                                                                 G4046_
#define G4049_pui_Palette_                                                       G4049_
#define G4050_puc_Bitmap_Floor_Flipped                                           G4050_
#define G4051_puc_Bitmap_Ceiling_Flipped                                         G4051_
#define G4052_puc_Bitmap_Floor_Native                                            G4052_
#define G4053_puc_Bitmap_Ceiling_Native                                          G4053_
#define G4054_l_Unreferenced                                                     G4054_
/*#define G3958_                                                                   G_3958_*/
/*#define _ownerid                                                                 _ownerid*/
/*#define G4048_                                                                   G_4048_*/

#define F0002_MAIN_GameLoop_CPSDF                                                 F0002_
#define F0003_MAIN_ProcessNewPartyMap_CPSE                                        F0003_
#define F0006_MAIN_HighlightScreenBox                                             F0006_
#define F0007_MAIN_CopyBytes                                                      F0007_
#define F0008_MAIN_ClearBytes                                                     F0008_
#define F0009_MAIN_WriteSpacedBytes                                               F0009_
#define F0010_MAIN_WriteSpacedWords                                               F0010_
#define F0018_MAIN_SetExceptionVectors                                            F0018_
#define F0019_MAIN_DisplayErrorAndStop                                            F0019_
#define F0020_MAIN_BlitToViewport                                                 F0020_
#define F0021_MAIN_BlitToScreen                                                   F0021_
#define F0022_MAIN_Delay                                                          F0022_
#define F0023_MAIN_GetAbsoluteValue                                               F0023_
#define F0024_MAIN_GetMinimumValue                                                F0024_
#define F0025_MAIN_GetMaximumValue                                                F0025_
#define F0026_MAIN_GetBoundedValue                                                F0026_
#define F0027_MAIN_Get16bitRandomNumber                                           F0027_
#define F0028_MAIN_Get1BitRandomNumber                                            F0028_
#ifdef MEDIA349_G14ED
#define F0029_MAIN_Get2BitRandomNumber                                            F29_
#endif
#ifdef MEDIA388_G20E_G21E
#define F0029_MAIN_Get2BitRandomNumber                                            F0029_
#endif
#define F0030_MAIN_GetScaledProduct                                               F0030_
#define F0031_OBJECT_LoadNames                                                    F0031_
#define F0032_OBJECT_GetType                                                      F0032_
/*#define F0033_OBJECT_GetIconIndex                                                 F0033_*/
#define F0034_OBJECT_DrawLeaderHandObjectName                                     F0034_
#define F0035_OBJECT_ClearLeaderHandObjectName                                    F0035_
#define F0036_OBJECT_ExtractIconFromBitmap                                        F0036_
#define F0037_OBJECT_DrawIconToScreen                                             F0037_
#define F0038_OBJECT_DrawIconInSlotBox                                            F0038_
#define F0039_OBJECT_GetIconIndexInSlotBox                                        F0039_
#define F0040_TEXT_Print                                                          F0040_
#define F0041_TEXT_PrintWithTrailingSpaces                                        F0041_
#define F0042_TEXT_MESSAGEAREA_MoveCursor                                         F0042_
/*#define F0043_TEXT_MESSAGEAREA_ClearAllRows                                       F0043_*/
#define F0044_TEXT_MESSAGEAREA_ClearExpiredRows                                   F0044_
#define F0045_TEXT_MESSAGEAREA_CreateNewRow                                       F0045_
#define F0046_TEXT_MESSAGEAREA_PrintString                                        F0046_
#define F0047_TEXT_MESSAGEAREA_PrintMessage                                       F0047_
#define F0048_TEXT_MESSAGEAREA_PrintCharacter                                     F0048_
#define F0049_TEXT_MESSAGEAREA_PrintInteger_Unreferenced                          F0049_
#define F0050_TEXT_MESSAGEAREA_PrintSpace_Unreferenced                            F0050_
#define F0051_TEXT_MESSAGEAREA_PrintLineFeed                                      F0051_
#define F0052_TEXT_PrintToViewport                                                F0052_
#define F0053_TEXT_PrintToLogicalScreen                                           F0053_
#define F0054_TEXT_Initialize                                                     F0054_
/*#define F0060_SOUND_Play_CPSX                                                          F0060_*/
#define F0061_SOUND_SetChannelAmplitudes                                          F0061_
#define F0062_SOUND_Initialize                                                    F0062_
#define F0063_SOUND_KeyClickOff                                                   F0063_
#define F0064_SOUND_RequestPlay_CPSD                                              F0064_
#define F0065_SOUND_PlayPendingSound_CPSD                                         F0065_
#define F0066_MOUSE_Initialize                                                    F0066_
#define F0067_MOUSE_SetPointerToNormal                                            F0067_
#define F0068_MOUSE_SetPointerToObject                                            F0068_
#define F0069_MOUSE_SetPointer                                                    F0069_
#define F0070_MOUSE_ProcessCommands125To128_ClickOnChampionIcon                   F0070_
#define F0071_MOUSE_DropChampionIcon                                              F0071_
#define F0073_MOUSE_BuildPointerScreenArea                                        F0073_
#define F0074_MOUSE_DrawPointerScreenArea                                         F0074_
#define F0075_MOUSE_Exception70Handler_IKBD_MIDI_MouseStatus                      F0075_
#define F0076_MOUSE_OnMouseButtonsStatusChange                                    F0076_
/*#define F0077_MOUSE_EnableScreenUpdate_CPSE                                       F0077_*/
#define F0078_MOUSE_DisableScreenUpdate                                           F0078_
#define F0079_CPSC_GetChecksumAdd                                                 F0079_
#define F0093_DUNGEONVIEW_ApplyCreatureReplacementColors                          F0093_
#define F0094_DUNGEONVIEW_LoadFloorSet                                            F0094_
#define F0095_DUNGEONVIEW_LoadWallSet                                             F0095_
#define F0096_DUNGEONVIEW_LoadCurrentMapGraphics_CPSDF                            F0096_
#define F0097_DUNGEONVIEW_DrawViewport                                            F0097_
#define F0098_DUNGEONVIEW_DrawFloorAndCeiling                                     F0098_
/*#define F0099_DUNGEONVIEW_CopyBitmapAndFlipHorizontal                             F0099_*/
#define F0100_DUNGEONVIEW_DrawWallSetBitmap                                       F0100_
#define F0101_DUNGEONVIEW_DrawWallSetBitmapWithoutTransparency                    F0101_
#define F0102_DUNGEONVIEW_DrawDoorBitmap                                          F0102_
#define F0103_DUNGEONVIEW_DrawDoorFrameBitmapFlippedHorizontally                  F0103_
#define F0104_DUNGEONVIEW_DrawFloorPitOrStairsBitmap                              F0104_
#define F0105_DUNGEONVIEW_DrawFloorPitOrStairsBitmapFlippedHorizontally           F0105_
#define F0106_DUNGEONVIEW_TestResetToStep1_CPSF                                   F0106_
#define F0107_DUNGEONVIEW_IsDrawnWallOrnamentAnAlcove_CPSF                        F0107_
#define F0108_DUNGEONVIEW_DrawFloorOrnament                                       F0108_
#define F0109_DUNGEONVIEW_DrawDoorOrnament                                        F0109_
#define F0110_DUNGEONVIEW_DrawDoorButton                                          F0110_
#define F0111_DUNGEONVIEW_DrawDoor                                                F0111_
#define F0112_DUNGEONVIEW_DrawCeilingPit                                          F0112_
/*#define F0113_DUNGEONVIEW_DrawField                                               F0113_*/
#define F0114_DUNGEONVIEW_GetExplosionBitmap                                      F0114_
#define F0115_DUNGEONVIEW_DrawObjectsCreaturesProjectilesExplosions_CPSEF         F0115_
#define F0116_DUNGEONVIEW_DrawSquareD3L                                           F0116_
#define F0117_DUNGEONVIEW_DrawSquareD3R                                           F0117_
#define F0118_DUNGEONVIEW_DrawSquareD3C_CPSF                                      F0118_
#define F0119_DUNGEONVIEW_DrawSquareD2L                                           F0119_
#define F0120_DUNGEONVIEW_DrawSquareD2R_CPSF                                      F0120_
#define F0121_DUNGEONVIEW_DrawSquareD2C                                           F0121_
#define F0122_DUNGEONVIEW_DrawSquareD1L                                           F0122_
#define F0123_DUNGEONVIEW_DrawSquareD1R                                           F0123_
#define F0124_DUNGEONVIEW_DrawSquareD1C                                           F0124_
#define F0125_DUNGEONVIEW_DrawSquareD0L                                           F0125_
#define F0126_DUNGEONVIEW_DrawSquareD0R                                           F0126_
#define F0127_DUNGEONVIEW_DrawSquareD0C                                           F0127_
#define F0128_DUNGEONVIEW_Draw_CPSF                                               F0128_
#define F0129_VIDEO_BlitShrinkWithPaletteChanges                                  F0129_
#define F0130_VIDEO_FlipHorizontal                                                F0130_
#define F0131_VIDEO_FlipVertical                                                  F0131_
#define F0132_VIDEO_Blit                                                          F0132_
#define F0133_VIDEO_BlitBoxFilledWithMaskedBitmap                                 F0133_
#define F0134_VIDEO_FillBitmap                                                    F0134_
#define F0135_VIDEO_FillBox                                                       F0135_
#define F0136_VIDEO_HatchScreenBox                                                F0136_
#define F0137_CPSEF_PatchFunctionWithHiddenCodeLauncher                           F0137_
/*#define R0138_CPSEF_HiddenCodeLauncher                                            R0138_*/
/*#define F0139_DUNGEON_IsCreatureAllowedOnMap                                      F0139_*/
#define F0140_DUNGEON_GetObjectWeight                                             F0140_
#define F0141_DUNGEON_GetObjectInfoIndex                                          F0141_
#define F0142_DUNGEON_GetProjectileAspect                                         F0142_
#define F0143_DUNGEON_GetArmourDefense                                            F0143_
#define F0144_DUNGEON_GetCreatureAttributes                                       F0144_
#define F0145_DUNGEON_GetGroupCells                                               F0145_
#define F0146_DUNGEON_SetGroupCells                                               F0146_
#define F0147_DUNGEON_GetGroupDirections                                          F0147_
#define F0148_DUNGEON_SetGroupDirections                                          F0148_
#define F0149_DUNGEON_IsWallOrnamentAnAlcove                                      F0149_
#define F0150_DUNGEON_UpdateMapCoordinatesAfterRelativeMovement                   F0150_
#define F0151_DUNGEON_GetSquare                                                   F0151_
#define F0152_DUNGEON_GetRelativeSquare                                           F0152_
#define F0153_DUNGEON_GetRelativeSquareType                                       F0153_
#define F0154_DUNGEON_GetLocationAfterLevelChange                                 F0154_
#define F0155_DUNGEON_GetStairsExitDirection                                      F0155_
#define F0156_DUNGEON_GetThingData                                                F0156_
#define F0157_DUNGEON_GetSquareFirstThingData                                     F0157_
#define F0158_DUNGEON_GetWeaponInfo                                               F0158_
#define F0159_DUNGEON_GetNextThing                                                F0159_
#define F0160_DUNGEON_GetSquareFirstThingIndex                                    F0160_
#define F0161_DUNGEON_GetSquareFirstThing                                         F0161_
#define F0162_DUNGEON_GetSquareFirstObject                                        F0162_
#define F0163_DUNGEON_LinkThingToList                                             F0163_
#define F0164_DUNGEON_UnlinkThingFromList                                         F0164_
#define F0165_DUNGEON_GetDiscardedThing                                           F0165_
#define F0166_DUNGEON_GetUnusedThing                                              F0166_
#define F0167_DUNGEON_GetObjectForProjectileLauncherOrObjectGenerator             F0167_
#define F0168_DUNGEON_DecodeText                                                  F0168_
#define F0169_DUNGEON_GetRandomOrnamentIndex                                      F0169_
#define F0170_DUNGEON_GetRandomOrnamentOrdinal                                    F0170_
#define F0171_DUNGEON_SetSquareAspectRandomWallOrnamentOrdinals                   F0171_
#define F0172_DUNGEON_SetSquareAspect                                             F0172_
#define F0173_DUNGEON_SetCurrentMap                                               F0173_
#define F0174_DUNGEON_SetCurrentMapAndPartyMap                                    F0174_
#define F0175_GROUP_GetThing                                                      F0175_
#define F0176_GROUP_GetCreatureOrdinalInCell                                      F0176_
#define F0177_GROUP_GetMeleeTargetCreatureOrdinal                                 F0177_
#define F0178_GROUP_GetGroupValueUpdatedWithCreatureValue                         F0178_
#define F0179_GROUP_GetCreatureAspectUpdateTime                                   F0179_
#define F0180_GROUP_StartWandering                                                F0180_
#define F0181_GROUP_DeleteEvents                                                  F0181_
#define F0182_GROUP_StopAttacking                                                 F0182_
#define F0183_GROUP_AddActiveGroup                                                F0183_
#define F0184_GROUP_RemoveActiveGroup                                             F0184_
#define F0185_GROUP_GetGenerated                                                  F0185_
/*#define F0186_GROUP_DropCreatureFixedPossessions                                  F0186_*/
/*#define F0187_GROUP_DropMovingCreatureFixedPossessions                            F0187_*/
#define F0188_GROUP_DropGroupPossessions                                          F0188_
#define F0189_GROUP_Delete                                                        F0189_
#define F0190_GROUP_GetDamageCreatureOutcome                                      F0190_
#define F0191_GROUP_GetDamageAllCreaturesOutcome                                  F0191_
#define F0192_GROUP_GetResistanceAdjustedPoisonAttack                             F0192_
#define F0193_GROUP_StealFromChampion                                             F0193_
#define F0194_GROUP_RemoveAllActiveGroups                                         F0194_
#define F0195_GROUP_AddAllActiveGroups                                            F0195_
#define F0196_GROUP_InitializeActiveGroups                                        F0196_
#define F0197_GROUP_IsViewPartyBlocked                                            F0197_
#define F0198_GROUP_IsSmellPartyBlocked                                           F0198_
#define F0199_GROUP_GetDistanceBetweenUnblockedSquares                            F0199_
#define F0200_GROUP_GetDistanceToVisibleParty                                     F0200_
#define F0201_GROUP_GetSmelledPartyPrimaryDirectionOrdinal                        F0201_
#define F0202_GROUP_IsMovementPossible                                            F0202_
#define F0203_GROUP_GetFirstPossibleMovementDirectionOrdinal                      F0203_
#define F0204_GROUP_IsArchenemyDoubleMovementPossible                             F0204_
#define F0205_GROUP_SetDirection                                                  F0205_
#define F0206_GROUP_SetDirectionGroup                                             F0206_
#define F0207_GROUP_IsCreatureAttacking                                           F0207_
#define F0208_GROUP_AddEvent                                                      F0208_
#define F0209_GROUP_ProcessEvents29to41                                           F0209_
#define F0210_CPSE_ProcessEvent22_IsFuzzySectorValid_NormalBytes                  F0210_
#define F0212_PROJECTILE_Create                                                   F0212_
#define F0213_EXPLOSION_Create                                                    F0213_
#define F0214_PROJECTILE_DeleteEvent                                              F0214_
#define F0215_PROJECTILE_Delete                                                   F0215_
#define F0216_PROJECTILE_GetImpactAttack                                          F0216_
#define F0217_PROJECTILE_HasImpactOccured                                         F0217_
/*#define F0218_PROJECTILE_GetImpactCount                                           F0218_*/
#define F0219_PROJECTILE_ProcessEvents48To49_Projectile                           F0219_
#define F0220_EXPLOSION_ProcessEvent25_Explosion                                  F0220_
#define F0221_GROUP_IsFluxcageOnSquare                                            F0221_
#define F0222_GROUP_IsLordChaosOnSquare                                           F0222_
#define F0223_GROUP_IsLordChaosAllowed                          F0223_
#define F0224_GROUP_FluxCageAction                                                F0224_
#define F0225_GROUP_FuseAction                                                    F0225_
#define F0226_GROUP_GetDistanceBetweenSquares                                     F0226_
#define F0227_GROUP_IsDestinationVisibleFromSource                                F0227_
#define F0228_GROUP_GetDirectionsWhereDestinationIsVisibleFromSource              F0228_
#define F0229_GROUP_SetOrderedCellsToAttack                                       F0229_
#define F0230_GROUP_GetChampionDamage                                             F0230_
#define F0231_GROUP_GetMeleeActionDamage                                          F0231_
#define F0232_GROUP_IsDoorDestroyedByAttack                                       F0232_
#define F0233_TIMELINE_Initialize_CPSE                                                 F0233_
#define F0234_TIMELINE_IsEventABeforeEventB                                       F0234_
#define F0235_TIMELINE_GetIndex                                                   F0235_
/*#define F0236_TIMELINE_FixPlacement                                               F0236_*/
#define F0237_TIMELINE_DeleteEvent                                                F0237_
#define F0238_TIMELINE_AddEvent_GetEventIndex_CPSE                                F0238_
#define F0239_TIMELINE_ExtractFirstEvent                                          F0239_
#define F0240_TIMELINE_IsFirstEventExpired_CPSE                                   F0240_
#define F0241_TIMELINE_ProcessEvent1_DoorAnimation                                F0241_
#define F0242_TIMELINE_ProcessEvent7_Square_FakeWall                              F0242_
#define F0243_TIMELINE_ProcessEvent2_DoorDestruction                              F0243_
#define F0244_TIMELINE_ProcessEvent10_Square_Door                                 F0244_
#define F0245_TIMELINE_ProcessEvent5_Square_Corridor                              F0245_
#define F0246_TIMELINE_ProcessEvent65_EnableGroupGenerator                        F0246_
#define F0247_TIMELINE_TriggerProjectileLauncher                                  F0247_
#define F0248_TIMELINE_ProcessEvent6_Square_Wall                                  F0248_
#define F0249_TIMELINE_MoveTeleporterOrPitSquareThings                            F0249_
#define F0250_TIMELINE_ProcessEvent8_Square_Teleporter                            F0250_
#define F0251_TIMELINE_ProcessEvent9_Square_Pit                                   F0251_
#define F0252_TIMELINE_ProcessEvents60to61_MoveGroup                              F0252_
#define F0253_TIMELINE_ProcessEvent11Part1_EnableChampionAction                   F0253_
#define F0254_TIMELINE_ProcessEvent12_HideDamageReceived                          F0254_
#define F0255_TIMELINE_ProcessEvent13_ViAltarRebirth                              F0255_
#define F0256_TIMELINE_ProcessEvent53_Watchdog_CPSE                               F0256_
#define F0257_TIMELINE_ProcessEvent70_Light                                       F0257_
#define F0258_TIMELINE_HasWeaponMovedToSlot                                       F0258_
#define F0259_TIMELINE_ProcessEvent11Part2_MoveWeaponFromQuiverToSlot             F0259_
#define F0260_TIMELINE_RefreshAllChampionStatusBoxes                              F0260_
#define F0261_TIMELINE_Process_CPSEF                                              F0261_
#define F0262_MOVE_GetTeleporterRotatedGroupResult                                F0262_
#define F0263_MOVE_GetTeleporterRotatedProjectileThing                            F0263_
#define F0264_MOVE_IsLevitating                                                   F0264_
#define F0265_MOVE_CreateEvent60To61_MoveGroup                                    F0265_
#define F0266_MOVE_IsKilledByProjectileImpact                                     F0266_
#define F0267_MOVE_GetMoveResult_CPSCE                                            F0267_MOVE_GetMoveRes
#define F0268_SENSOR_AddEvent                                                     F0268_
#define F0269_SENSOR_AddSkillExperience                                           F0269_
#define F0270_SENSOR_TriggerLocalEffect                                           F0270_
#define F0271_SENSOR_ProcessRotationEffect                                        F0271_
#define F0272_SENSOR_TriggerEffect                                                F0272_
#define F0273_SENSOR_GetObjectOfTypeInCell                                        F0273_
#define F0274_SENSOR_IsObjectInPartyPossession                                    F0274_
#define F0275_SENSOR_IsTriggeredByClickOnWall                                     F0275_
#define F0276_SENSOR_ProcessThingAdditionOrRemoval                                F0276_
#define F0277_CPSE_IsFuzzySectorValid_FuzzyBits                                   F0277_
#define F0278_CHAMPION_ResetDataToStartGame                                       F0278_
#define F0279_CHAMPION_GetDecodedValue                                            F0279_
#define F0280_CHAMPION_AddCandidateChampionToParty                                F0280_
#define F0281_CHAMPION_Rename                                                     F0281_
#define F0282_CHAMPION_ProcessCommands160To162_ClickInResurrectReincarnatePanel   F0282_
#define F0283_CHAMPION_ViAltarRebirth                                             F0283_
#define F0284_CHAMPION_SetPartyDirection                                          F0284_
#define F0285_CHAMPION_GetIndexInCell                                             F0285_
#define F0286_CHAMPION_GetTargetChampionIndex                                     F0286_
#define F0287_CHAMPION_DrawBarGraphs                                              F0287_
#define F0288_CHAMPION_GetStringFromInteger                                       F0288_
#define F0289_CHAMPION_DrawHealthOrStaminaOrManaValue                             F0289_
#define F0290_CHAMPION_DrawHealthStaminaManaValues                                F0290_
#define F0291_CHAMPION_DrawSlot                                                   F0291_
#define F0292_CHAMPION_DrawState                                                  F0292_
#define F0293_CHAMPION_DrawAllChampionStates                                      F0293_
/*#define F0294_CHAMPION_IsAmmunitionCompatibleWithWeapon                           F0294_*/
#define F0295_CHAMPION_HasObjectIconInSlotBoxChanged                              F0295_
#define F0296_CHAMPION_DrawChangedObjectIcons                                     F0296_
#define F0297_CHAMPION_PutObjectInLeaderHand                                      F0297_
#define F0298_CHAMPION_GetObjectRemovedFromLeaderHand                             F0298_
#define F0299_CHAMPION_ApplyObjectModifiersToStatistics                           F0299_
#define F0300_CHAMPION_GetObjectRemovedFromSlot                                   F0300_
#define F0301_CHAMPION_AddObjectInSlot                                            F0301_
/*#define F0302_CHAMPION_ProcessCommands28To65_ClickOnSlotBox                       F0302_*/
#define F0303_CHAMPION_GetSkillLevel                                              F0303_
#define F0304_CHAMPION_AddSkillExperience                                         F0304_
#define F0305_CHAMPION_GetThrowingStaminaCost                                     F0305_
#define F0306_CHAMPION_GetStaminaAdjustedValue                                    F0306_
#define F0307_CHAMPION_GetStatisticAdjustedAttack                                 F0307_
#define F0308_CHAMPION_IsLucky                                                    F0308_
#define F0309_CHAMPION_GetMaximumLoad                                             F0309_
#define F0310_CHAMPION_GetMovementTicks                                           F0310_
#define F0311_CHAMPION_GetDexterity                                               F0311_
#define F0312_CHAMPION_GetStrength                                                F0312_
#define F0313_CHAMPION_GetWoundDefense                                            F0313_
#define F0314_CHAMPION_WakeUp                                                     F0314_
#define F0315_CHAMPION_GetScentOrdinal                                            F0315_
#define F0316_CHAMPION_DeleteScent                                                F0316_
#define F0317_CHAMPION_AddScentStrength                                           F0317_
#define F0318_CHAMPION_DropAllObjects                                             F0318_
#define F0319_CHAMPION_Kill                                                       F0319_
#define F0320_CHAMPION_ApplyAndDrawPendingDamageAndWounds                         F0320_
#define F0321_CHAMPION_AddPendingDamageAndWounds_GetDamage                        F0321_
#define F0322_CHAMPION_Poison                                                     F0322_
#define F0323_CHAMPION_Unpoison                                                   F0323_
#define F0324_CHAMPION_DamageAll_GetDamagedChampionCount                          F0324_
#define F0325_CHAMPION_DecrementStamina                                           F0325_
#define F0326_CHAMPION_ShootProjectile                                            F0326_
#define F0327_CHAMPION_IsProjectileSpellCast                                      F0327_
#define F0328_CHAMPION_IsObjectThrown                                             F0328_
/*#define F0329_CHAMPION_IsLeaderHandObjectThrown                                   F0329_*/
#define F0330_CHAMPION_DisableAction                                              F0330_
#define F0331_CHAMPION_ApplyTimeEffects_CPSF                                      F0331_
#define F0332_INVENTORY_DrawIconToViewport                                        F0332_
#define F0333_INVENTORY_OpenAndDrawChest                                          F0333_
#define F0334_INVENTORY_CloseChest                                                F0334_
/*#define F0335_INVENTORY_DrawPanel_ObjectDescriptionString                         F0335_*/
#define F0336_INVENTORY_DrawPanel_BuildObjectAttributesString                     F0336_
#define F0337_INVENTORY_SetDungeonViewPalette                                     F0337_
#define F0338_INVENTORY_DecreaseTorchesLightPower_CPSE                            F0338_
#define F0339_INVENTORY_DrawPanel_ArrowOrEye                                      F0339_
#define F0340_INVENTORY_DrawPanel_ScrollTextLine                                  F0340_
#define F0341_INVENTORY_DrawPanel_Scroll                                          F0341_
#define F0342_INVENTORY_DrawPanel_Object                                          F0342_
#define F0343_INVENTORY_DrawPanel_HorizontalBar                                   F0343_
#define F0344_INVENTORY_DrawPanel_FoodOrWaterBar                                  F0344_
#define F0345_INVENTORY_DrawPanel_FoodWaterPoisoned                               F0345_
#define F0346_INVENTORY_DrawPanel_ResurrectReincarnate                            F0346_
#define F0347_INVENTORY_DrawPanel                                                 F0347_
#define F0348_INVENTORY_AdjustStatisticCurrentValue                               F0348_
#define F0349_INVENTORY_ProcessCommand70_ClickOnMouth                             F0349_
#define F0350_INVENTORY_DrawStopPressingMouth                                     F0350_
#define F0351_INVENTORY_DrawChampionSkillsAndStatistics                           F0351_
#define F0352_INVENTORY_ProcessCommand71_ClickOnEye                               F0352_
#define F0353_INVENTORY_DrawStopPressingEye                                       F0353_
#define F0354_INVENTORY_DrawStatusBoxPortrait                                     F0354_
#define F0355_INVENTORY_Toggle_CPSE                                               F0355_
#define F0356_CPSE_IsFuzzySectorValid_ByteValuesAndFuzzyBitCount                  F0356_
#define F0357_COMMAND_DiscardAllInput                                             F0357_
#define F0358_COMMAND_GetCommandFromMouseInput_CPSC                               F0358_
#define F0359_COMMAND_ProcessClick_CPSC                                           F0359_
#define F0360_COMMAND_ProcessPendingClick                                         F0360_
#define F0361_COMMAND_ProcessKeyPress                                             F0361_
#ifdef MEDIA349_G14ED
/*#define F0362_COMMAND_HighlightBoxEnable                                          F0362_*/ /* Required but moved to CLIKMENU.C otherwise compilation of COMMAND.C fails */
#endif
#ifdef MEDIA388_G20E_G21E
/*#define F0362_COMMAND_HighlightBoxEnable                                          F0362_*/
#endif
#define F0363_COMMAND_HighlightBoxDisable                                         F0363_
#define F0364_COMMAND_TakeStairs                                                  F0364_
#define F0365_COMMAND_ProcessTypes1To2_TurnParty                                  F0365_
#define F0366_COMMAND_ProcessTypes3To6_MoveParty                                  F0366_
#define F0367_COMMAND_ProcessTypes12To27_ClickInChampionStatusBox                 F0367_
#define F0368_COMMAND_SetLeader                                                   F0368_
#define F0369_COMMAND_ProcessTypes101To108_ClickInSpellSymbolsArea_CPSE           F0369_
#define F0370_COMMAND_ProcessType100_ClickInSpellArea_CPSE                             F0370_
#define F0371_COMMAND_ProcessType111To115_ClickInActionArea_CPSE                  F0371_
#define F0372_COMMAND_ProcessType80_ClickInDungeonView_TouchFrontWallSensor       F0372_
#define F0373_COMMAND_ProcessType80_ClickInDungeonView_GrabLeaderHandObject       F0373_COMMAND_ProcessType80_ClickInDungeonView_GrabLeader
#define F0374_COMMAND_ProcessType80_ClickInDungeonView_DropLeaderHandObject       F0374_
#define F0375_COMMAND_ProcessType80_ClickInDungeonView_IsLeaderHandObjectThrown   F0375_COMMAND_ProcessType80_ClickInDungeonView_IsLeaderHa
#define F0376_COMMAND_IsPointInBox                                                F0376_
#define F0377_COMMAND_ProcessType80_ClickInDungeonView                            F0377_
#define F0378_COMMAND_ProcessType81_ClickInPanel                                  F0378_
#define F0379_COMMAND_DrawRestScreen                                              F0379_
#define F0380_COMMAND_ProcessQueue_CPSC                                           F0380_
#define F0381_MENUS_PrintMessageAfterReplacements                                 F0381_
#define F0382_MENUS_GetActionObjectChargeCount                                    F0382_
/*#define F0383_MENUS_SetActionList                                                 F0383_*/
/*#define F0384_MENUS_GetActionName                                                 F0384_*/
#define F0385_MENUS_DrawActionDamage                                              F0385_
#define F0386_MENUS_DrawActionIcon                                                F0386_
#define F0387_MENUS_DrawActionArea                                                F0387_
#define F0388_MENUS_ClearActingChampion                                           F0388_
#define F0389_MENUS_ProcessCommands116To119_SetActingChampion                     F0389_
#define F0390_MENUS_RefreshActionAreaAndSetChampionDirectionMaximumDamageReceived F0390_
#define F0391_MENUS_DidClickTriggerAction                                         F0391_
#define F0392_MENUS_BuildSpellAreaLine                                            F0392_
#define F0393_MENUS_DrawSpellAreaControls                                         F0393_
#define F0394_MENUS_SetMagicCasterAndDrawSpellArea                                F0394_
#define F0395_MENUS_DrawMovementArrows                                            F0395_
#define F0396_MENUS_LoadSpellAreaLinesBitmap                                      F0396_
#define F0397_MENUS_DrawAvailableSymbols                                          F0397_
#define F0398_MENUS_DrawChampionSymbols                                           F0398_
#ifdef MEDIA388_G20E_G21E
#define F0399_MENUS_AddChampionSymbol                                             F0399_
#define F0400_MENUS_DeleteChampionSymbol                                          F0400_
#endif
#define F0401_MENUS_IsGroupFrightenedByAction                                     F0401_
#define F0402_MENUS_IsMeleeActionPerformed                                        F0402_
#define F0403_MENUS_IsPartySpellOrFireShieldSuccessful                            F0403_
#define F0404_MENUS_CreateEvent70_Light                                           F0404_
#define F0405_MENUS_DecrementCharges                                              F0405_
#define F0406_MENUS_SetChampionDirectionToPartyDirection                          F0406_
#define F0407_MENUS_IsActionPerformed                                             F0407_
#ifdef MEDIA388_G20E_G21E
#define F0408_MENUS_GetClickOnSpellCastResult                                     F0408_
#endif
#define F0409_MENUS_GetSpellFromSymbols                                           F0409_
#define F0410_MENUS_PrintSpellFailureMessage                                      F0410_
#define F0411_MENUS_GetEmptyFlaskInHand                                           F0411_
#define F0412_MENUS_GetChampionSpellCastResult                                    F0412_
#define F0413_CPSC_GetChecksumEor                                                 F0413_
#define F0414_SAVEUTIL_ReplaceTildeByDriveLetterInString                          F0414_
#define F0415_SAVEUTIL_IsReadBytesSuccessful                                      F0415_
#define F0416_SAVEUTIL_IsWriteBytesSuccessful                                     F0416_
#define F0417_SAVEUTIL_GetChecksumAndObfuscate                                    F0417_
#define F0418_SAVEUTIL_GetChecksum                                                F0418_
#define F0419_SAVEUTIL_IsReadObfuscatedBytesAndValidateChecksumSuccessful         F0419_
#define F0420_SAVEUTIL_IsWriteObfuscatedSavePartSuccessful                        F0420_
#define F0421_SAVEUTIL_IsReadBytesWithChecksumSuccessful                          F0421_
#define F0422_SAVEUTIL_IsWriteBytesWithChecksumSuccessful                         F0422_
#define F0423_SAVEUTIL_FixClonedThings                                            F0423_
/*#define F0424_DIALOG_GetChoice                                                    F0424_*/
/*#define F0425_DIALOG_PrintCenteredChoice                                          F0425_*/
#define F0426_DIALOG_IsMessageOnTwoLines                                          F0426_
#define F0427_DIALOG_Draw                                                         F0427_
#define F0428_DIALOG_RequireGameDiskInDrive_NoDialogDrawn                         F0428_
#define F0429_STARTEND_IsReadSaveHeaderSuccessful                                 F0429_
#define F0430_STARTEND_IsWriteObfuscatedSaveHeaderSuccessful                      F0430_
#define F0431_STARTEND_GetDarkenedColor                                           F0431_
/*#define F0432_STARTEND_FormatDiskMenu                                             F0432_*/
#define F0433_STARTEND_ProcessCommand140_SaveGame_CPSCDF                          F0433_
#define F0434_STARTEND_IsLoadDungeonSuccessful_CPSC                               F0434_
#define F0435_STARTEND_LoadGame                                              F0435_
#define F0436_STARTEND_FadeToPalette                                              F0436_
#define F0437_STARTEND_DrawTitle                                                  F0437_
#define F0438_STARTEND_OpenEntranceDoors                                          F0438_
#define F0439_STARTEND_DrawEntrance                                               F0439_
#define F0440_STARTEND_GetTemporarilyLoadedGraphicByteCount                       F0440_
#define F0441_STARTEND_ProcessEntrance                                            F0441_
/*#define F0442_STARTEND_ProcessCommand202_EntranceDrawCredits                      F0442_*/
#define F0443_STARTEND_EndgamePrintString                                         F0443_
#define F0444_STARTEND_Endgame                                                    F0444_
#define F0445_STARTEND_FuseSequenceUpdate                                         F0445_
#define F0446_STARTEND_FuseSequence                                               F0446_
#define F0447_STARTEND_HangIfFalse_CPSA                                           F0447_
#define F0448_STARTUP1_InitializeMemoryManager_CPSADEF                            F0448_
#define F0449_FLOPPY_IsDiskWriteProtected                                         F0449_
#define F0450_FLOPPY_ForceMediaChangeDetection                                    F0450_
#define F0451_FLOPPY_Initialize                                                   F0451_
#define F0452_FLOPPY_GetDiskTypeInDrive_CPSB                                      F0452_
#define F0453_FLOPPY_IsFormatDiskSuccessful                                       F0453_
#define F0454_FLOPPY_IsSaveDiskTypeInSaveDiskDrive                                F0454_
#define F0455_FLOPPY_DecompressDungeon                                            F0455_
#define F0456_START_DrawDisabledMenus                                             F0456_
#define F0457_START_DrawEnabledMenus_CPSF                                         F0457_
#define F0458_START_GetCommandLineParameters_CPSA                                 F0458_
#define F0459_START_GetScaledBitmapByteCount                                      F0459_
#define F0460_START_InitializeGraphicData                                         F0460_
#define F0461_START_AllocateFlippedWallBitmaps                                    F0461_
#define F0462_START_StartGame_CPSEF                                                F0462_
#define F0463_START_InitializeGame_CPSADEF                                        F0463_
#define F0464_CPSC_GetChecksumSub                                                 F0464_
#define F0466_EXPAND_GraphicToBitmap                                              F0466_
#define F0467_MEMORY_GetGraphicOffset                                             F0467_
#define F0468_MEMORY_Allocate                                                     F0468_
#define F0469_MEMORY_FreeAtHeapTop                                                F0469_
#define F0470_MEMORY_FreeAtHeapBottom                                             F0470_
#define F0471_CACHE_RemoveUnusedBlock                                             F0471_
#define F0472_CACHE_AddUnusedBlock                                                F0472_
#define F0473_MEMORY_SortValues                                                   F0473_
#define F0474_MEMORY_LoadGraphic_CPSDF                                            F0474_
#define F0475_MEMORY_Initialize                                                   F0475_
/*#define F0476_MEMORY_InitializeGraphicMemory                                      F0476_*/
#define F0477_MEMORY_OpenGraphicsDat_CPSDF                                        F0477_
#define F0478_MEMORY_CloseGraphicsDat_CPSDF                                       F0478_
#define F0479_MEMORY_ReadGraphicsDatHeader                                        F0479_
/*#define F0480_CACHE_ReleaseBlock                                                  F0480_*/
#define F0481_CACHE_FreeMemory                                                    F0481_
#define F0482_CACHE_Defragment                                                    F0482_
#define F0483_CACHE_GetNewBlock                                                   F0483_
#define F0484_MEMORY_LoadGraphics_CPSDEF                                          F0484_
#define F0485_CACHE_ResetUsageCounts                                              F0485_
#define F0486_MEMORY_AddBlockToUsedList                                           F0486_
#define F0487_CACHE_GetBlockAndIncrementUsageCount                                F0487_
#define F0488_MEMORY_ExpandGraphicToBitmap                                        F0488_
#define F0489_MEMORY_GetNativeBitmapOrGraphic                                     F0489_
#define F0490_MEMORY_LoadDecompressAndExpandGraphic                               F0490_
#define F0491_CACHE_IsDerivedBitmapInCache                                        F0491_
#define F0492_CACHE_GetDerivedBitmap                                              F0492_
#define F0493_CACHE_AddDerivedBitmap                                              F0493_
#define F0494_MEMORY_GetGraphicDecompressedByteCount                              F0494_
#define F0495_LZW_GetNextInputCode                                                F0495_
#define F0496_LZW_OutputCharacter                                                 F0496_
#define F0497_LZW_Decompress                                                      F0497_
/*#define F0505_SOUND_GetVolume                                                     F0505_*/
#define F0514_MOVE_GetSound                                                       F0514_
/*#define F0527_FLOPPY_ReadFuzzySector_CPSX                                              F0527_*/
/*#define F0528_FLOPPY_Eject                                                        F0528_*/
/*#define F0529_FLOPPY_IsFloppyInDrive                                              F0529_*/
/*#define F0539_INPUT_Cconis                                                        F0539_*/
#define F0540_INPUT_Crawcin                                                       F0540_
/*#define F0550_VIDEO_FillScreenBox                                                 F0550_*/
/*#define F0693_WaitVerticalBlank                                                               F0693_*/
/*#define F0696_UpdateMessageArea                                                   F0696_*/
/*#define F0712_AnyKeyboardOrMouseInput                                             F0712_*/
/*#define F0770_FILE_Open                                                           F0770_*/
/*#define F0771_FILE_Close                                                          F0771_*/
/*#define F0772_FILE_Read                                                           F0772_*/
/*#define F0773_FILE_Write                                                          F0773_*/
/*#define F0774_FILE_Seek                                                           F0774_*/
#define F0775_FILE_GetSize                                                        F0775_
/*#define F0776_FILE_Create                                                         F0776_*/
/*#define F0777_FILE_Delete                                                         F0777_*/
/*#define F0778_FILE_Rename                                                         F0778_*/
#define F0779_FILE_Tell                                                           F0779_
/*#define F0780_FILE_IsHandleInvalid                                                F0780_*/
#define F0797_STARTEND_DrawEntranceMicroDungeon                                   F0797_
/*#define F2145_sub_F0007_1                                                         F2145_*/
/*#define F2146_sub_F0007_2                                                         F2146_*/
/*#define F2147_EnableSuperHiResGraphics                                            F2147_*/
/*#define F2148_DisableSuperHiResGraphics                                           F2148_*/
#define F2151_CPSX                                                                    F2151_01234567890123456789
#define F2152_CPSX                                                                    F2152_
#define F2153_subF0136_                                                           F2153_
/*#define F2158_GetMouseButtonsStatus                                               F2158_*/
/*#define F2159_ClampMousePointerOnASinglePixel                                     F2159_*/
/*#define F2160_GetMousePointerHotspotX                                             F2160_*/
/*#define F2161_GetMousePointerHotspotY                                             F2161_*/
#define F2163_SetBorderColor                                                      F2163_
#define F2167_BuildAppleIIGSMouseCursor                                           F2167_
/* F0007_sub1_XXXXXXXXXX_XXXXXXXXXX_XXXXXXXXXX
F0007_sub2_XXXXXXXXXX_XXXXXXXXXX_XXXXXXXXXX */

#define F2232_DisplayErrorAndStop                                                 F2232_

#endif
