#ifdef MEDIA551_F20E_F20J_F31E_F31J

/* Set 'char' type as signed */
#pragma On(Char_is_rep);
#pragma Off(Char_default_unsigned);

/* Interrupt enable */
#define CLI _inline(0xfa)

/* Interrupt disable */
#define STI _inline(0xfb)

#ifdef MEDIA487_F20E
/* Define symbols as present in the original executable of F20E */
#define F0003_MAIN_ProcessNewPartyMap_CPSE                                        CHANGE_LEVEL
#define main                                                                      MAIN
#define F0212_PROJECTILE_Create                                                   LAUNCH_PROJECTILE
#define F0213_EXPLOSION_Create                                                    CREATE_EXPLOSION
#define F0214_PROJECTILE_DeleteEvent                                              STOP_PUPDATE
#define F0215_PROJECTILE_Delete                                                   DROP_PROJECTILE
#define F0217_PROJECTILE_HasImpactOccured                                         IMPACT_PROJECTILE
#define F0218_PROJECTILE_GetImpactCount                                           SS_IMPACT_CHECK
#define F0219_PROJECTILE_ProcessEvents48To49_Projectile                           UPDATE_PROJECTILE
#define F0220_EXPLOSION_ProcessEvent25_Explosion                                  UPDATE_EXPLOSION
#define F0223_GROUP_IsLordChaosAllowed                                            CAN_HAVE_LORD
#define F0224_GROUP_FluxCageAction                                                CREATE_CAGE
#define F0225_GROUP_FuseAction                                                    FUSE_CHAOS
#define F0226_GROUP_GetDistanceBetweenSquares                                     DISTANCE
#define F0227_GROUP_IsDestinationVisibleFromSource                                MIGHT_SEE
#define F0228_GROUP_GetDirectionsWhereDestinationIsVisibleFromSource              FACE_TO_FACE
#define F0229_GROUP_SetOrderedCellsToAttack                                       SS_ORIENTATION
#define F0230_GROUP_GetChampionDamage                                             CRE_ATTACKS_PLAYER
#define F0231_GROUP_GetMeleeActionDamage                                          PLAY_ATTACKS_CRE
#define F0232_GROUP_IsDoorDestroyedByAttack                                       ATTACK_DOOR
#define F0424_DIALOG_GetChoice                                                    GET_BUTTON
#define F0427_DIALOG_Draw                                                         MESS_INFO
#define F0139_DUNGEON_IsCreatureAllowedOnMap                                      BELONGS_ON_LEVEL
#define F0140_DUNGEON_GetObjectWeight                                             WEIGHT_OF
#define F0141_DUNGEON_GetObjectInfoIndex                                          OICON_INDEX
#define F0142_DUNGEON_GetProjectileAspect                                         PIC_PROJECTILE
#define F0143_DUNGEON_GetArmourDefense                                            ARMT_STRENGTH
#define F0144_DUNGEON_GetCreatureAttributes                                       CRET_FLAGS
#define F0145_DUNGEON_GetGroupCells                                               CRE_CELLS
#define F0146_DUNGEON_SetGroupCells                                               SET_CRE_CELLS
#define F0147_DUNGEON_GetGroupDirections                                          CRE_FACINGS
#define F0148_DUNGEON_SetGroupDirections                                          SET_CRE_FACINGS
#define F0149_DUNGEON_IsWallOrnamentAnAlcove                                      IS_AN_ALCOVE
#define F0150_DUNGEON_UpdateMapCoordinatesAfterRelativeMovement                   MOVE
#define F0151_DUNGEON_GetSquare                                                   SQUARE
#define F0152_DUNGEON_GetRelativeSquare                                           SQUARE_AT
#define F0153_DUNGEON_GetRelativeSquareType                                       SQTYPE_AT
#define F0154_DUNGEON_GetLocationAfterLevelChange                                 SQ_ABOVE_BELOW
#define F0155_DUNGEON_GetStairsExitDirection                                      STAIR_FACING
#define F0156_DUNGEON_GetThingData                                                THING_ADDR
#define F0157_DUNGEON_GetSquareFirstThingData                                     ROOT_ADDR
#define F0158_DUNGEON_GetWeaponInfo                                               WTYPE_ADDR
#define F0159_DUNGEON_GetNextThing                                                NEXT_LINK
#define F0161_DUNGEON_GetSquareFirstThing                                         SQROOT
#define F0162_DUNGEON_GetSquareFirstObject                                        SQDROOT
#define F0163_DUNGEON_LinkThingToList                                             APPEND_THING
#define F0164_DUNGEON_UnlinkThingFromList                                         UNLINK_THING
#define F0166_DUNGEON_GetUnusedThing                                              NEW_THING
#define F0167_DUNGEON_GetObjectForProjectileLauncherOrObjectGenerator             NEW_ICON_THING
#define F0168_DUNGEON_DecodeText                                                  GET_DUN_TEXT
#define F0172_DUNGEON_SetSquareAspect                                             SQUARE_DESC
#define F0173_DUNGEON_SetCurrentMap                                               SET_WORK_LEVEL
#define F0174_DUNGEON_SetCurrentMapAndPartyMap                                    SET_DUN_LEVEL
#define F0395_MENUS_DrawMovementArrows                                            SHOW_MOVE_BUTTONS
#define F0393_MENUS_DrawSpellAreaControls                                         DRAW_STA_SEL
#define F0397_MENUS_DrawAvailableSymbols                                          SET_SPELL_MENU
#define F0398_MENUS_DrawChampionSymbols                                           DRAW_SPELL_SOFAR
#define F0394_MENUS_SetMagicCasterAndDrawSpellArea                                SET_STA_PLAYER
#define F0384_MENUS_GetActionName                                                 GET_LABEL
#define F0385_MENUS_DrawActionDamage                                              DRAW_POW
#define F0386_MENUS_DrawActionIcon                                                DRAW_ICN_BUTTON
#define F0387_MENUS_DrawActionArea                                                DRAW_DMENU
#define F0410_MENUS_PrintSpellFailureMessage                                      FIZZLE_SPELL
#define F0444_STARTEND_Endgame                                                    GAME_OVER
#define F0446_STARTEND_FuseSequence                                               WIN_GAME
#define F0357_COMMAND_DiscardAllInput                                             FLUSH_EVENTS
#define F0358_COMMAND_GetCommandFromMouseInput_CPSC                               FIND_MOUSE_BUT
#define F0359_COMMAND_ProcessClick_CPSC                                           DO_MOUSE_EVENT
#define F0361_COMMAND_ProcessKeyPress                                             DO_KEY_EVENT
#define F0629_IsPointInZoneIndex                                                  IS_IN_CRD_BOX
#define F0368_COMMAND_SetLeader                                                   SET_LEAD_PLAYER
#define F0379_COMMAND_DrawRestScreen                                              WAKEUP_BUF
#define F0380_COMMAND_ProcessQueue_CPSC                                           DO_EVENT
#define F0175_GROUP_GetThing                                                      SQCREATURE
#define F0176_GROUP_GetCreatureOrdinalInCell                                      SS_OCCUPIED
#define F0177_GROUP_GetMeleeTargetCreatureOrdinal                                 CREAT_NEXT_TO
#define F0178_GROUP_GetGroupValueUpdatedWithCreatureValue                         CA_SET_ARRAY
#define F0180_GROUP_StartWandering                                                START_CUPDATE
#define F0181_GROUP_DeleteEvents                                                  STOP_CUPDATE
#define F0182_GROUP_StopAttacking                                                 ABORT_CUPDATE
#define F0183_GROUP_AddActiveGroup                                                ACTIVATE
#define F0184_GROUP_RemoveActiveGroup                                             DEACTIVATE
#define F0185_GROUP_GetGenerated                                                  NEW_CREATURE
#define F0187_GROUP_DropMovingCreatureFixedPossessions                            STRIP_FIXED
#define F0188_GROUP_DropGroupPossessions                                          STRIP_CREATURES
#define F0189_GROUP_Delete                                                        KILL_GROUP_OF_CREATURES
#define F0190_GROUP_GetDamageCreatureOutcome                                      DAMAGE_CREATURE
#define F0191_GROUP_GetDamageAllCreaturesOutcome                                  DAMAGE_GROUP_OF_CREATURES
#define F0192_GROUP_GetResistanceAdjustedPoisonAttack                             POISON_CRE_DAMAGE
#define F0194_GROUP_RemoveAllActiveGroups                                         SHUTDOWN_LEVEL_FRED
#define F0195_GROUP_AddAllActiveGroups                                            NEW_LEVEL_FRED
#define F0196_GROUP_InitializeActiveGroups                                        WAKEUP_FRED
#define F0209_GROUP_ProcessEvents29to41                                           YO_FRED
#define F0468_MEMORY_Allocate                                                     PUSH_MEM
#define F0469_MEMORY_FreeAtHeapTop                                                POP_MEM
#define F0470_MEMORY_FreeAtHeapBottom                                             POP_JUNK
#define F0475_MEMORY_Initialize                                                   INIT_MEM
#define F0476_MEMORY_InitializeGraphicMemory                                      INIT_DYNAMIC
#define F0477_MEMORY_OpenGraphicsDat_CPSDF                                        OPEN_PIC_LIB
#define F0478_MEMORY_CloseGraphicsDat_CPSDF                                       CLOSE_PIC_LIB
#define F0479_MEMORY_ReadGraphicsDatHeader                                        INIT_PIC_LIB
#define F0480_CACHE_ReleaseBlock                                                  DELETE_DECODED
#define F0484_MEMORY_LoadGraphics_CPSDEF                                          LOAD_ENCODED
#define F0488_MEMORY_ExpandGraphicToBitmap                                        DECODE_TO_BUF
#define F0489_MEMORY_GetNativeBitmapOrGraphic                                     GET_DECODED
#define F0490_MEMORY_LoadDecompressAndExpandGraphic                               GET_MY_DECODED
#define F0491_CACHE_IsDerivedBitmapInCache                                        CHECK_PICBLOCK
#define F0492_CACHE_GetDerivedBitmap                                              GET_PICBLOCK
#define F0493_CACHE_AddDerivedBitmap                                              FREE_PICBLOCK
#define F0615_CopyBitmapDimensions                                                COPY_DEC_EXTRA
#define F0616_CopyBitmap                                                          COPY_GRAF
#define F0494_MEMORY_GetGraphicDecompressedByteCount                              PIC_SIZE
#define F0428_DIALOG_RequireGameDiskInDrive_NoDialogDrawn                         GET_GAME_DISK
#define F0433_STARTEND_ProcessCommand140_SaveGame_CPSCDF                          SAVE_GAME
#define F0435_STARTEND_LoadGame                                              GET_GAME
#define F0031_OBJECT_LoadNames                                                    INIT_ICON
#define F0032_OBJECT_GetType                                                      THING_BICON
#define F0033_OBJECT_GetIconIndex                                                 THING_ICON
#define F0034_OBJECT_DrawLeaderHandObjectName                                     IDENT_ICON
#define F0035_OBJECT_ClearLeaderHandObjectName                                    UNIDENT_ICON
#define F0036_OBJECT_ExtractIconFromBitmap                                        LOAD_ICON
#define F0618_LoadZone                                                            GET_ICON_COORDS
#define F0619_GetSlotBoxBorderCoordinates                                         GET_IBOX_COORDS
#define F0038_OBJECT_DrawIconInSlotBox                                            PUT_ICON
#define F0039_OBJECT_GetIconIndexInSlotBox                                        ICON_IN_BOX
#define F0441_STARTEND_ProcessEntrance                                            DO_ENTRANCE
#define F0442_STARTEND_ProcessCommand202_EntranceDrawCredits                      CREDITS_PAGE
#define F0437_STARTEND_DrawTitle                                                  DO_TITLE_ANIMATION
#define F0388_MENUS_ClearActingChampion                                           CANCEL_DMENU
#define F0389_MENUS_ProcessCommands116To119_SetActingChampion                     BRING_UP_DYNAMIC
#define F0390_MENUS_RefreshActionAreaAndSetChampionDirectionMaximumDamageReceived UPDATE_DYNAMIC
#define F0391_MENUS_DidClickTriggerAction                                         DO_DYNAMIC
#define F0408_MENUS_GetClickOnSpellCastResult                                     DO_STATIC
#define F0412_MENUS_GetChampionSpellCastResult                                    DO_SPELL
#define F0399_MENUS_AddChampionSymbol                                             DO_SPELL_BUTTON
#define F0400_MENUS_DeleteChampionSymbol                                          UNDO_SPELLCH
#define F0078_MOUSE_DisableScreenUpdate                                           MOUSE_ON
#define F0077_MOUSE_EnableScreenUpdate_CPSE                                       MOUSE_OFF
#define F0706_GetMouseState                                                       GET_MOUSE_STATE
#define F0785_SetMousePointerCoordinates                                          SET_MOUSE_POSITION
#define F2236_IODRV_9_SetMousePointerBitmap                                       MSH_REGISTER_MOUSE_FORM
#define F2237_IODRV_10_SetMousePointer                                            MSH_SET_MOUSE_FORM
#define F1040_SetMouseBoundEvent                                                  MSH_SET_BOUND_EVENT
#define F0781_MouseHandler                                                        CHANGE_EVENT
#define F2239_TownsMouseHandler                                                   MOUSE_EVENT
#define F0700_TriggerImmediateMouseEvent                                          UPDATE_MOUSE
#define F2240_INIT_TOWNS_MOUSE                                                    INIT_TOWNS_MOUSE
#define F2241_RESTORE_TOWNS_MOUSE                                                 RESTORE_TOWNS_MOUSE
#define F0066_MOUSE_Initialize                                                    INIT_MOUSE
#define F0783_LockMouse                                                           LOCK_MOUSE
#define F0784_UnlockMouse                                                         UNLOCK_MOUSE
#define F0702_BuildObjectMousePointerIcon                                         SHADOW_ICON
#define F0067_MOUSE_SetPointerToNormal                                            SET_CYAN_MOUSE
#define F0068_MOUSE_SetPointerToObject                                            SET_MOUSE_ICON
#define F0069_MOUSE_SetPointer                                                    SET_HAND_MOUSE
#define F0070_MOUSE_ProcessCommands125To128_ClickOnChampionIcon                   DO_SUBSQ_MOUSE
#define F0703_ReleaseChampionIcon                                                 SUBSQ_SNAP
#define F0712_AnyKeyboardOrMouseInput                                             ANY_EVENT
#define F0284_CHAMPION_SetPartyDirection                                          ORIENT_PARTY
#define F0285_CHAMPION_GetIndexInCell                                             PLAYER_AT
#define F0286_CHAMPION_GetTargetChampionIndex                                     PLAYER_NEXT_TO
#define F0294_CHAMPION_IsAmmunitionCompatibleWithWeapon                           WEAPON_PAIR
#define F0297_CHAMPION_PutObjectInLeaderHand                                      PUTIN_THE_HAND
#define F0298_CHAMPION_GetObjectRemovedFromLeaderHand                             EMPTY_THE_HAND
#define F0300_CHAMPION_GetObjectRemovedFromSlot                                   TAKE_OBJECT
#define F0301_CHAMPION_AddObjectInSlot                                            GIVE_OBJECT
#define F0302_CHAMPION_ProcessCommands28To65_ClickOnSlotBox                       SWAP_THING
#define F0303_CHAMPION_GetSkillLevel                                              EXP_LEVEL
#define F0304_CHAMPION_AddSkillExperience                                         ADD_EXPERIENCE
#define F0305_CHAMPION_GetThrowingStaminaCost                                     ENDUR_COST
#define F0307_CHAMPION_GetStatisticAdjustedAttack                                 ATTR_ADJUST
#define F0308_CHAMPION_IsLucky                                                    LUCK_PROB
#define F0309_CHAMPION_GetMaximumLoad                                             MAX_WEIGHT
#define F0310_CHAMPION_GetMovementTicks                                           MAX_SPEED
#define F0311_CHAMPION_GetDexterity                                               DEX_PROB
#define F0312_CHAMPION_GetStrength                                                STR_WITH
#define F0313_CHAMPION_GetWoundDefense                                            ARMOUR_AT
#define F0314_CHAMPION_WakeUp                                                     WAKEUP_PARTY
#define F0315_CHAMPION_GetScentOrdinal                                            FIND_SCENT
#define F0316_CHAMPION_DeleteScent                                                DELETE_SCENT
#define F0317_CHAMPION_AddScentStrength                                           ADD_SCENT_STR
#define F0319_CHAMPION_Kill                                                       KILL_PLAYER
#define F0320_CHAMPION_ApplyAndDrawPendingDamageAndWounds                         DO_DAMAGES
#define F0321_CHAMPION_AddPendingDamageAndWounds_GetDamage                        DAMAGE_PLAYER
#define F0322_CHAMPION_Poison                                                     POISON_PLAYER
#define F0323_CHAMPION_Unpoison                                                   UNPOISON_PLAYER
#define F0324_CHAMPION_DamageAll_GetDamagedChampionCount                          DAMAGE_PARTY
#define F0325_CHAMPION_DecrementStamina                                           TIRE_PLAYER
#define F0326_CHAMPION_ShootProjectile                                            PLAYER_PROJECTILE
#define F0327_CHAMPION_IsProjectileSpellCast                                      CONJURE_PROJECTILE
#define F0328_CHAMPION_IsObjectThrown                                             THROW_PROJECTILE
#define F0329_CHAMPION_IsLeaderHandObjectThrown                                   THROW_DIRECT
#define F0330_CHAMPION_DisableAction                                              BUSY_PLAYER
#define F0331_CHAMPION_ApplyTimeEffects_CPSF                                      UPDATE_PLAYERS
#define F0459_START_GetScaledBitmapByteCount                                      PBSIZE
#define F0094_DUNGEONVIEW_LoadFloorSet                                            LOAD_FLOOR_SET
#define F0095_DUNGEONVIEW_LoadWallSet                                             LOAD_WALL_SET
#define F0096_DUNGEONVIEW_LoadCurrentMapGraphics_CPSDF                            LOAD_3D_GRAPHICS
#define F0098_DUNGEONVIEW_DrawFloorAndCeiling                                     SETUP_BUF
#define F0113_DUNGEONVIEW_DrawField                                               TELE_PATBLOT
#define F0128_DUNGEONVIEW_Draw_CPSF                                               SHOW_DUNGEON
#define F0621_ClearChampionIconBox                                                ERASE_SUBSQ
#define F0622_PrepareChampionIconBitmap                                           SUBSQ_GRAPHIC
#define F0288_CHAMPION_GetStringFromInteger                                       DIGIT_STR
#define F0291_CHAMPION_DrawSlot                                                   DRAW_SLOT
#define F0623_DrawDamageToChampion_F0320_sub                                      DRAW_PL_POW
#define F0292_CHAMPION_DrawState                                                  DRAW_PLAYER
#define F0293_CHAMPION_DrawAllChampionStates                                      DRAW_ALL_PLAYERS
#define F0296_CHAMPION_DrawChangedObjectIcons                                     UPDATE_ICONS
#define F0278_CHAMPION_ResetDataToStartGame                                       SET_UP_PLAYER
#define F0280_CHAMPION_AddCandidateChampionToParty                                PICK_CHARACTER
#define F0282_CHAMPION_ProcessCommands160To162_ClickInResurrectReincarnatePanel   ADD_CHARACTER
#define F0283_CHAMPION_ViAltarRebirth                                             RESURECT_CHARACTER
#define F0264_MOVE_IsLevitating                                                   THING_IN_AIR
#define F0267_MOVE_GetMoveResult_CPSCE                                            MOVE_THING
#define F0268_SENSOR_AddEvent                                                     SET_SWITCH
#define F0271_SENSOR_ProcessRotationEffect                                        DO_SPECIAL_EFFECT
#define F0272_SENSOR_TriggerEffect                                                TRIP_SENSOR
#define F0273_SENSOR_GetObjectOfTypeInCell                                        SQ_HAS_ICON
#define F0275_SENSOR_IsTriggeredByClickOnWall                                     CHECK_ORN_SENSORS
#define F0276_SENSOR_ProcessThingAdditionOrRemoval                                CHECK_OBJ_SENSORS
#define F0787_GetZoneInitializedFromCoordinates                                   STUFF_WIN
#define F0630_InitBitmapStruct2                                                   GET_PICLOC
#define F0631_GetBitmapPointer                                                    GET_PICADDR
#define F0632_COORD_SetNegativeBitmapPointer                                      SET_PICADDR
#define F0635_                                                                    GET_COORD
#define F0788_                                                                    GET_GCOORD
#define F0636_GetZoneTopLeftCoordinatesWith1PixelMargin                           GET_POINT
#define F0637_GetProportionalZone                                                 GET_SCL_COORD
#define F0638_GetZone                                                             GET_RGN_COORD
#define F0641_InitializeLayout                                                    INIT_COORDS
#define F0064_SOUND_RequestPlay_CPSD                                              SOUND
#define F0065_SOUND_PlayPendingSound_CPSD                                         PLAY_SOUND
#define F2242_MEM_AVAIL                                                           MEM_AVAIL
#define F0448_STARTUP1_InitializeMemoryManager_CPSADEF                            INIT_IBMPC
#define F0456_START_DrawDisabledMenus                                             BEFORE_ZAP
#define F0457_START_DrawEnabledMenus_CPSF                                         AFTER_ZAP
#define F0461_START_AllocateFlippedWallBitmaps                                    GONZO_PERM
#define F0462_START_StartGame_CPSEF                                                START_GAME
#define F0463_START_InitializeGame_CPSADEF                                        ONE_TIME_INIT
#define F0770_FILE_Open                                                           FILE_OPEN
#define F0771_FILE_Close                                                          FILE_CLOSE
#define F0772_FILE_Read                                                           FILE_READ
#define F0773_FILE_Write                                                          FILE_WRITE
#define F0774_FILE_Seek                                                           FILE_SEEK
#define F0779_FILE_Tell                                                           FILE_TELL
#define F0775_FILE_GetSize                                                        FILE_SIZE
#define F0776_FILE_Create                                                         FILE_CREATE
#define F0777_FILE_Delete                                                         FILE_DELETE
#define F0778_FILE_Rename                                                         FILE_RENAME
#define F0780_FILE_IsHandleInvalid                                                FERR_OPEN
#define F0540_INPUT_Crawcin                                                       KEY_READ
#define F0539_INPUT_Cconis                                                        KEY_AVAIL
#define F0451_FLOPPY_Initialize                                                   INIT_DISK_VARS
#define F0452_FLOPPY_GetDiskTypeInDrive_CPSB                                      DISK_TYPE
#define F0454_FLOPPY_IsSaveDiskTypeInSaveDiskDrive                                CHECK_SAVE_DRIVE
#define F0453_FLOPPY_IsFormatDiskSuccessful                                       FORMAT_DISK
#define F0529_FLOPPY_IsFloppyInDrive                                              NEW_VOLUME_MOUNTED
#define F0642_AllocateFontMemory                                                  INIT_PC_TEXT
#define F0644_PrintTextAlt                                                        DO_DRAW_TEXT
#define F0645_GetStringPixelDimensions                                            TEXT_SIZE
#define F0646_GetLargestPrintableSubString                                        BUILD_STRING
#define F0040_TEXT_Print                                                          DO_DRAW_CTEXT
#define F0041_TEXT_PrintWithTrailingSpaces                                        DO_FDRAW_TEXT
#define F0768_TEXT_PrintToZoneWithTrailingSpaces                                  DO_FDRAW_CTEXT
#define F0042_TEXT_MESSAGEAREA_MoveCursor                                         GOTO_X_Y
#define F0043_TEXT_MESSAGEAREA_ClearAllRows                                       CLEAR_TEXT
#define F0044_TEXT_MESSAGEAREA_ClearExpiredRows                                   ERASE_OLD_TEXT
#define F0047_TEXT_MESSAGEAREA_PrintMessage                                       WRITE_TEXT
#define F0048_TEXT_MESSAGEAREA_PrintCharacter                                     WRITE_CHAR
#define F0049_TEXT_MESSAGEAREA_PrintInteger_Unreferenced                          WRITE_NUM
#define F0050_TEXT_MESSAGEAREA_PrintSpace_Unreferenced                            WRITE_SPACE
#define F0051_TEXT_MESSAGEAREA_PrintLineFeed                                      NEW_LINE
#define F0052_TEXT_PrintToViewport                                                DUNBUF_TEXT
#define F0053_TEXT_PrintToLogicalScreen                                           SCREEN_TEXT
#define F0648_PrintTextInViewportZone                                             DUNBUF_CTEXT
#define F0649_PrintCenteredTextToViewportZone                                     DUNBUF_CBTEXT
#define F0650_PrintCenteredTextToScreenZone                                       SCREEN_CTEXT
#define F0054_TEXT_Initialize                                                     INIT_TEXT
#define F0233_TIMELINE_Initialize_CPSE                                                 TE_INIT
#define F0235_TIMELINE_GetIndex                                                   INDEX_OF_SLOT
#define F0236_TIMELINE_FixPlacement                                               TE_BUBBLE
#define F0237_TIMELINE_DeleteEvent                                                TE_KILL
#define F0238_TIMELINE_AddEvent_GetEventIndex_CPSE                                TE_INSERT
#define F0260_TIMELINE_RefreshAllChampionStatusBoxes                              DIRTY_PBOXES
#define F0261_TIMELINE_Process_CPSEF                                              DO_TIMELINE
#define F0007_MAIN_CopyBytes                                                      MOVERAM
#define F0008_MAIN_ClearBytes                                                     CLEAR_RAM
#define F0009_MAIN_WriteSpacedBytes                                               FILL_BYTE
#define F0010_MAIN_WriteSpacedWords                                               FILL_WORD
#define F0019_MAIN_DisplayErrorAndStop                                            SYSTEM_ERROR
#define F0653_GetBitmapByteCount                                                  GRAFSIZE
#define F0654_Call_F0132_VIDEO_Blit                                               GRAFBLOT
#define F0020_MAIN_BlitToViewport                                                 DUNBUFBLOT
#define F0656_BlitBitmapToViewportZoneIndexWithTransparency                       DC_BLOT
#define F0657_BlitBitmapIndexToViewportZoneWithTransparency                       DUNPICBLOT
#define F0658_BlitBitmapIndexToZoneIndexWithTransparency                          DPC_BLOT
#define F0766_BlitToScreen                                                        SCREENBLOT
#define F0021_MAIN_BlitToScreen                                                   SC_BLOT
#define F0659_                                                                    SCRPICBLOT
#define F0660_                                                                    SPC_BLOT
#define F0767_                                                                    SCALE_PICBLOCK
#define F0661_GetShrinkedBitmap                                                   GET_SCALE_PICBLOCK
#define F0662_ApplyPaletteChanges                                                 CHANGE_COLORS
#define F0663_CopyBitmapWithPaletteChanges                                        MCHANGE_COLORS
#define F1006_                                                                    HFLIP_GRAF
#define F1030_                                                                    VFLIP_GRAF
#define F0022_MAIN_Delay                                                          DELAY
#define F0023_MAIN_GetAbsoluteValue                                               ABS
#define F0024_MAIN_GetMinimumValue                                                MIN
#define F0025_MAIN_GetMaximumValue                                                MAX
#define F0026_MAIN_GetBoundedValue                                                MINMAX
#define F0027_MAIN_Get16bitRandomNumber                                           RANDOM
#define F0028_MAIN_Get1BitRandomNumber                                            RNDBIT
#define F0029_MAIN_Get2BitRandomNumber                                            RND3
#define F0030_MAIN_GetScaledProduct                                               FRAC_ADJUST
#define F0333_INVENTORY_OpenAndDrawChest                                          SHOW_CHEST
#define F0334_INVENTORY_CloseChest                                                PACK_CHEST
#define F0337_INVENTORY_SetDungeonViewPalette                                     DO_LIGHT_LEVEL
#define F0338_INVENTORY_DecreaseTorchesLightPower_CPSE                            REDUCE_TORCHES
#define F0345_INVENTORY_DrawPanel_FoodWaterPoisoned                               DO_FOOD_WATER
#define F0347_INVENTORY_DrawPanel                                                 SHOW_INFO_AREA
#define F0349_INVENTORY_ProcessCommand70_ClickOnMouth                             CONSUME_THING
#define F0350_INVENTORY_DrawStopPressingMouth                                     UNDO_FOOD_WATER
#define F0351_INVENTORY_DrawChampionSkillsAndStatistics                           SHOW_EXPERIENCE
#define F0352_INVENTORY_ProcessCommand71_ClickOnEye                               EXAMINE_THING
#define F0353_INVENTORY_DrawStopPressingEye                                       UNEXAMINE_THING
#define F0354_INVENTORY_DrawStatusBoxPortrait                                     DRAW_FACE
#define F0355_INVENTORY_Toggle_CPSE                                               DO_INVENTORY
#define F0377_COMMAND_ProcessType80_ClickInDungeonView                            DUNGEON_EVENT
#define F0363_COMMAND_HighlightBoxDisable                                         HIDE_BUTTON
#define F0365_COMMAND_ProcessTypes1To2_TurnParty                                  TURN_EVENT
#define F0366_COMMAND_ProcessTypes3To6_MoveParty                                  MOVE_EVENT
#define F0370_COMMAND_ProcessType100_ClickInSpellArea_CPSE                             STATIC_EVENT
#define F0371_COMMAND_ProcessType111To115_ClickInActionArea_CPSE                  DYNAMIC_EVENT
#define F0731_InvertZone                                                          INVERSE_CBUTTON
#define F0134_VIDEO_FillBitmap                                                    COLOR_BUF
#define F0732_FillScreenArea                                                      FILL_SCREEN
#define F0735_FillViewportBox                                                     FILL_DUNBUF
#define F0733_FillZoneByIndex                                                     FILL_CSCREEN
#define F0136_VIDEO_HatchScreenBox                                                HATCH_CSCREEN
#define F0734_ClearZoneInInventory                                                FILL_CDUNBUF
#define F0689_IMG_ExpandGraphicToBitmap                                           DECODEGRAPHIC
#define F0466_EXPAND_GraphicToBitmap                                              _DECODE
#define F2259_INIT_TOWNS_SCREEN                                                   INIT_TOWNS_SCREEN
#define F2260_RESTORE_TOWNS_SCREEN                                                RESTORE_TOWNS_SCREEN
#define F0697_HatchScreenBox                                                      HATCH_SCREEN
#define F0698_InvertBox                                                           INVERSE_BUTTON
#define F0135_VIDEO_FillBox                                                       FILL_RECT
#define F0132_VIDEO_Blit                                                          PIX_BLOT
#define F0130_VIDEO_FlipHorizontal                                                _HFLIP
#define F0131_VIDEO_FlipVertical                                                  _VFLIP
#define F0129_VIDEO_BlitShrinkWithPaletteChanges                                  _CSCALE
#define F0696_UpdateMessageArea                                                   SMOOTH_SCROLL
#define F0694_SetMultipleColorsInPalette                                          FADE
#define F1012_PALETTE_SetCurtain                                                  SET_CURTAIN
#define F0695_SetCreatureReplacementColors                                        DEFINE_CREATURE_COLOR
#define F0693_WaitVerticalBlank                                                               VSYNC
#define F0097_DUNGEONVIEW_DrawViewport                                            WIPE_DUNBUF
#define F0060_SOUND_Play_CPSX                                                          DO_SOUND
#define F0710_WaitSoundPlayComplete                                               SOUND_DELAY
#define F2262_TIMER_A_EVENT                                                       TIMER_A_EVENT
#define F2263_INIT_TIMER                                                          INIT_TIMER
#define F2264_INIT_PCM_SOUND                                                      INIT_PCM_SOUND
#define F2245_INIT_TOWNS                                                          INIT_TOWNS
#define F2247_RESTORE_TOWNS                                                       RESTORE_TOWNS
#define F0952_JAPANESE_Print                                                      JAPANESE
#define F2249_CLEAR_FRONT_SCREEN                                                  CLEAR_FRONT_SCREEN
#define F2234_ClearBothScreenBuffers                                                         CLEAR_SCREEN
#define F0090_strlen                                                              STR_LEN
#define F0086_strcat                                                              STR_CAT
#define F0087_strcmp                                                              STR_CMP
#define F0088_strcpy                                                              STR_CPY
#define F0089_strncpy                                                             STR_NCPY
#define F0091_strchr                                                              STR_CHR
#define F0133_VIDEO_BlitBoxFilledWithMaskedBitmap                                 PAT_BLOT
#define F0022_MAIN_SwooshDelay                                                    SWOOSH_DELAY
#define F1374_ApplyPaletteAndWaitForDelay                                         SET_PAL
#define F2255_SWOOSH_main                                                         DO_SWOOSH
#define F2256_CD_INIT_CPSX                                                             CD_INIT
#define F0719_PlayMusicTrack                                                      CD_PLAY
#define F2235_MUSIC_StopCD                                                        CD_STOP
#define F0739_MUSIC_Stop                                                          CD_DATA
#define F0741_MUSIC_PlayGameMusic                                                 DM_SONG
#define F0742_MUSIC_SetTrack                                                      CD_LEVEL_SONG
#define F0743_MUSIC_Update                                                        CD_MUSIC_UPDATE
#define G0361_l_LastCreatureAttackTime                                            LAST_ATTACK
#define G0362_l_LastPartyMovementTime                                             LAST_MOVE
#define G0363_i_SecondaryDirectionToOrFromParty                                   OTHER_FACE
#define G0364_i_CreatureDamageOutcome                                             EXPL_RESULT
#define G0365_B_CreateLauncherProjectile                                          IS_WALL_PROJECTILE
#define G0233_ai_Graphic559_DirectionToStepEastCount                              DIR_XDELTA
#define G0234_ai_Graphic559_DirectionToStepNorthCount                             DIR_YDELTA
#define G0235_auc_Graphic559_ThingDataByteCount                                   SIZE_THINGS
#define G0236_auc_Graphic559_AdditionalThingCounts                                EXTRA_THINGS
#define G0237_as_Graphic559_ObjectInfo                                            OICON
#define G0245_aui_Graphic559_FixedPossessionsCreature12Skeleton                   OI_SKELETON
#define G0246_aui_Graphic559_FixedPossessionsCreature09StoneGolem                 OI_GOLEM
#define G0247_aui_Graphic559_FixedPossessionsCreature16Trolin_Antman              OI_TROLIN
#define G0248_aui_Graphic559_FixedPossessionsCreature18AnimatedArmour_DethKnight  OI_ANI_ARMOUR
#define G0249_aui_Graphic559_FixedPossessionsCreature07Rock_RockPile              OI_ROCKPILE
#define G0250_aui_Graphic559_FixedPossessionsCreature04PainRat_Hellhound          OI_PAIN_RAT
#define G0251_aui_Graphic559_FixedPossessionsCreature06Screamer                   OI_SHRIEKER
#define G0252_aui_Graphic559_FixedPossessionsCreature15MagentaWorm_Worm           OI_WORM
#define G0253_aui_Graphic559_FixedPossessionsCreature24RedDragon                  OI_DRAGON
#define G0238_as_Graphic559_WeaponInfo                                            WEAPTYPE
#define G0239_as_Graphic559_ArmourInfo                                            ARMRTYPE
#define G0241_auc_Graphic559_JunkInfo                                             JUNK_WEIGHT
#define G0242_ai_Graphic559_FoodAmounts                                           CALORIES
#define G0243_as_Graphic559_CreatureInfo                                          CREATYPE
#define G0244_auc_Graphic559_CreatureAttackSounds                                 CREASOUNDS
#define G0254_as_Graphic559_DoorInfo                                              DOORTYPE
#define G0260_pui_DungeonTextData                                                 STRING_DATA
#define G0261_auc_CurrentMapWallOrnamentIndices                                   WALL_ORNS
#define G0262_auc_CurrentMapFloorOrnamentIndices                                  FLOOR_ORNS
#define G0263_auc_CurrentMapDoorOrnamentIndices                                   DOOR_ORNS
#define G0264_puc_CurrentMapAllowedCreatureTypes                                  MONSTER_NUMS
#define G0265_i_CurrentMapInscriptionWallOrnamentIndex                            STRING_ORN
#define G0266_i_CurrentMapViAltarWallOrnamentIndex                                RESURECT_ORN
#define G0267_ai_CurrentMapAlcoveOrnamentIndices                                  ALCOVE_ORN
#define G0268_ai_CurrentMapFountainOrnamentIndices                                WATER_ORN
#define G0276_puc_DungeonRawMapData                                               LEV_BASE
#define G0269_ps_CurrentMap                                                       LEV_HEAD
#define G0270_pui_CurrentMapColumnsCumulativeSquareFirstThingCount                LEV_COL_BASE
#define G0271_ppuc_CurrentMapData                                                 WLEVEL
#define G0272_i_CurrentMapIndex                                                   WLEV
#define G0273_i_CurrentMapWidth                                                   LEV_XSIZE
#define G0274_i_CurrentMapHeight                                                  LEV_YSIZE
#define G0275_as_CurrentMapDoorInfo                                               LEV_DOOR
#define G0277_ps_DungeonMaps                                                      DUN_LEVS
#define G0278_ps_DungeonHeader                                                    DUN_INFO
#define G0279_pppuc_DungeonMapData                                                LEVEL
#define G0280_pui_DungeonColumnsCumulativeSquareThingCount                        OBJ_COL_COUNT
#define G0281_pui_DungeonMapsFirstColumnIndex                                     LEV_COL_OFFS
#define G0282_ui_DungeonColumnCount                                               COL_CNT_SIZE
#define G0283_pT_SquareFirstThings                                                THING_ROOTS
#define G0284_apuc_ThingData                                                      THING_BASES
#define G0285_i_SquareAheadElement                                                NEXT_SQTYPE
#define G0286_B_FacingAlcove                                                      NEXT_HAS_ALCOVE
#define G0287_B_FacingViAltar                                                     NEXT_HAS_RESURECT
#define G0288_B_FacingFountain                                                    NEXT_HAS_WATER
#define G0289_i_DungeonView_ChampionPortraitOrdinal                               NEXT_HAS_MUGSHOT
#define G0290_T_DungeonView_InscriptionThing                                      WALL_TEXT
#define G2210_aai_XYZ_DungeonViewClickable                                        DUN_BOX
#define G0292_aT_PileTopObject                                                    BOX_THINGS
#define G0441_ps_PrimaryMouseInput                                                BUT1_LIST
#define G0442_ps_SecondaryMouseInput                                              BUT2_LIST
#define G0445_as_Graphic561_PrimaryMouseInput_Entrance                            ENT_MSE_LIST
#define G0446_as_Graphic561_PrimaryMouseInput_RestartGame                         RESTRT_MSE_LIST
#define G0447_as_Graphic561_PrimaryMouseInput_Interface                           STAT_MSE_LIST
#define G0448_as_Graphic561_SecondaryMouseInput_Movement                          DUN_MSE_LIST
#define G0449_as_Graphic561_SecondaryMouseInput_ChampionInventory                 INV_MSE_LIST
#define G2045_as_MouseInput_PanelChampionRename                                   NAME_CH_OPTIONS
#define G0454_as_Graphic561_MouseInput_SpellArea                                  SPELL_MSE_LIST
#define G0452_as_Graphic561_MouseInput_ActionAreaNames                            DYNB_MSE_LIST
#define G0453_as_Graphic561_MouseInput_ActionAreaIcons                            DYNI_MSE_LIST
#define G0443_ps_PrimaryKeyboardInput                                             KEY1_LIST
#define G0444_ps_SecondaryKeyboardInput                                           KEY2_LIST
#define G0458_as_Graphic561_PrimaryKeyboardInput_Interface                        STAT_KEY_LIST
#define G0459_as_Graphic561_SecondaryKeyboardInput_Movement                       DUN_KEY_LIST
#define G2046_as_PrimaryKeyboardInput_PanelChampionRename                         NAME_CH_KEY_LIST
#define G0480_aaps_PrimaryMouseInput_DialogSets                                   MESSAGE_LIST
#define G0375_ps_ActiveGroups                                                     CREACTIVE
#define G0376_ui_MaximumActiveGroupCount                                          MAX_CREACTIVE
#define G0377_ui_CurrentActiveGroupCount                                          NUM_ACTIVE
#define G0631_i_GraphicsDatFileReferenceCount                                     LIB_LEVEL
#define G2232_B_GraphicMemoryInitialized                                          DYNMEM_INITED
#define G0661_B_LargeHeapMemory                                                   GONZO_MEM
#define G0648_l_AvailableHeapMemoryByteCount                                      TEMP_AVAIL
#define G0639_DerivedBitmapByteCount                                              PBLK_SIZES
#define G2005_GraphicWidthHeight                                                  GPIC_SIZES
#define G0644_i_FloppyDiskReadBufferContentType_CPSDF                             DISKDIRTY
#define G0643_puc_FloppyDiskReadBuffer_CPSDF                                      DISKBUF
#define G0536_pc_GAMELOADEDREADYTOPLAY                                            MDONE_LOADING
#define G0560_pc_OK                                                               LOK
#define G0352_apc_ObjectNames                                                     ICON_NAMES
#define G2007_ai_XYZ                                                              ICON_WINDOW
#define G0514_i_MagicCasterChampionIndex                                          STAT_PLAYER
#define G0506_ui_ActingChampionOrdinal                                            MENU_OWNER
#define G0507_ui_ActionCount                                                      NUM_DYNABTNS
#define G0508_B_RefreshActionArea                                                 REDRAW_MENU
#define G0509_B_ActionAreaContainsIcons                                           MENU_ICONS
#define G0495_ac_Graphic560_ActionDefense                                         ARMR_OPTS
#define G0713_s_ActionList                                                        DYNAMENU
#define G0490_ac_Graphic560_ActionNames                                           DYNA_BUTTONS
#define G0487_as_Graphic560_Spells                                                SPELLS
#define G0485_aauc_Graphic560_SymbolBaseManaCost                                  SPELL_COSTS
#define G0486_auc_Graphic560_SymbolManaCostMultiplier                             SPELL_MULT
#define G0587_i_HideMousePointerRequestCount                                      MOUSE_CURSE
#define G0588_i_MouseButtonsStatus                                                BUTTONS
#define G2010_                                                                    MOUSE_X
#define G2011_                                                                    MOUSE_Y
#define G4128_VIS_MX                                                              VIS_MX
#define G4129_VIS_MY                                                              VIS_MY
#define G4130_MOUSE_SAVE                                                          MOUSE_SAVE
#define G4131_MMOUSE_VECT                                                         MMOUSE_VECT
#define G4132_BMOUSE_VECT                                                         BMOUSE_VECT
#define G0592_B_BuildMousePointerScreenAreaRequested                              MSE_REDRAW
#define G0593_B_BuildMousePointerScreenAreaCompleted                              DRAW_MOUSE
#define G0594_B_BuildMousePointerScreenAreaRequestedInMouseException              MSE_ON
#define G0595_B_MousePointerVisible                                               MSE_SEEN
#define G0596_B_NoDrawInVerticalBlankWhileHidingMousePointer                      IN_MOUSE_OFF
#define G0597_B_IgnoreMouseMovements                                              MOUSE_LOCKED
#define G0598_B_MousePointerBitmapUpdated                                         MOUSE_CHANGED
#define G0600_B_UseObjectAsMousePointerBitmap                                     ICON_MOUSE
#define G0601_B_UseHandAsMousePointerBitmap                                       HAND_MOUSE
#define G0599_ui_UseChampionIconOrdinalAsMousePointerBitmap                       SUBSQ_MOUSE
#define G4137_MSE_SHAPE                                                           MSE_SHAPE
#define G4138_CURSORFLAG                                                          CURSORFLAG
#define G4139_CYAN_ARROW_CURSOR                                                   CYAN_ARROW_CURSOR
#define G4140_CYAN_HAND_CURSOR                                                    CYAN_HAND_CURSOR
#define G0615_puc_Bitmap_MousePointerOriginalColorsObject                         COLOR_ICON_CURSOR
#define G0616_puc_Bitmap_MousePointerModifiedColorsObject                         CYAN_ICON_CURSOR
#define G0613_puc_Bitmap_MousePointerOriginalColorsChampionIcon                   COLOR_SUBSQ_CURSOR
#define G2164_i_MousePointerChampionIndex                                         LAST_SUBSQ
#define G0042_auc_Graphic562_Bitmap_ArrowPointer                                  ARROW_FORM
#define G0043_auc_Graphic562_Bitmap_HandPointer                                   HAND_FORM
#define G2052_as_MousePointerScreenRegions                                        SCREEN_REGIONS
#define G2051_ai_Zone_ChampionIconRegion                                          SUBSQ_REGION
#define G4079_MWORK                                                               MWORK
#define G4071_i_MSE_STATE                                                         MSE_STATE
#define G4075_aauc_MSE_CURSOR                                                     MSE_CURSOR
#define G4073_ai_HOT_X                                                            HOT_X
#define G4074_ai_HOT_Y                                                            HOT_Y
#define G3104_ai_XYZ_MouseBound                                                   BOUND_COORD
#define G3102_B_MouseBounded                                                      MOUSE_BOUNDED
#define G8092_MousePointerType                                                    CURRENT_FORM
#define G4072_B_FORCED_UPDATE                                                     FORCED_UPDATE
#define G3103_i_MouseBoundButtonsStatus                                           BOUND_EVENT
#define G0045_auc_Graphic562_PaletteChanges_MousePointerIconShadow                SHADOW_TRANS
#define G0407_s_Party                                                             PARTY
#define G1068_as_Champions                                                        PLAYER
#define G4055_s_LeaderHandObject                                                  THE_HAND
#define G0415_ui_LeaderEmptyHanded                                                HAND_EMPTY
#define G0416_i_DelayMouse_Useless                                                DELAY_MOUSE
#define G0411_i_LeaderIndex                                                       LEAD_PLAYER
#define G2139_i_RenameCommand                                                     NN_OPTION
#define G0086_puc_Bitmap_ViewportBlackArea                                        DUNBUF_MID
#define G0087_puc_Bitmap_ViewportFloorArea                                        DUNBUF_FLR
#define G2108_Floor                                                               FLOOR_PIC
#define G2109_Ceiling                                                             CEILING_PIC
#define G3072_i_WallSet_Wall_D3R2                                                 WL_PIC_3RR
#define G3010_i_WallSet_Wall_D3L2                                                 WL_PIC_3LL
#define G3011_i_WallSet_Wall_D3C                                                  WL_PIC_3C
#define G3004_i_WallSet_Wall_D3L                                                  WL_PIC_3L
#define G3005_i_WallSet_Wall_D3R                                                  WL_PIC_3R
#define G3012_i_WallSet_Wall_D2C                                                  WL_PIC_2C
#define G3006_i_WallSet_Wall_D2L                                                  WL_PIC_2L
#define G3007_i_WallSet_Wall_D2R                                                  WL_PIC_2R
#define G3013_i_WallSet_Wall_D1C                                                  WL_PIC_1C
#define G3008_i_WallSet_Wall_D1L                                                  WL_PIC_1L
#define G3009_i_WallSet_Wall_D1R                                                  WL_PIC_1R
#define G3014_i_WallSet_Wall_D0L                                                  WL_PIC_0L
#define G3015_i_WallSet_Wall_D0R                                                  WL_PIC_0R
#define G2115_DoorFrameTopD2LCR                                                   DT_PIC_2C
#define G2114_DoorFrameTopD2L                                                     DT_PIC_2L
#define G2113_DoorFrameTopD2R                                                     DT_PIC_2R
#define G2112_DoorFrameTopD1LCR                                                   DT_PIC_1C
#define G2111_DoorFrameTopD1L                                                     DT_PIC_1L
#define G2110_DoorFrameTopD1R                                                     DT_PIC_1R
#define G2120_DoorFrameLeftD3L                                                    DF_PIC_3L
#define G2119_DoorFrameLeftD3C                                                    DF_PIC_3
#define G2118_DoorFrameLeftD2C                                                    DF_PIC_2
#define G2117_DoorFrameLeftD1C                                                    DF_PIC_1CL
#define G2116_DoorFrameFrontD0C                                                   DF_PIC_0
#define G2196_DoorFrameRightD1C                                                   DF_PIC_1CR
#define G3049_i_WallSetFlipped_Wall_D3C                                           WL_GNZ_3C
#define G3050_i_WallSetFlipped_Wall_D3L                                           WL_GNZ_3L
#define G3051_i_WallSetFlipped_Wall_D3R                                           WL_GNZ_3R
#define G3052_i_WallSetFlipped_Wall_D2C                                           WL_GNZ_2C
#define G3053_i_WallSetFlipped_Wall_D2L                                           WL_GNZ_2L
#define G3054_i_WallSetFlipped_Wall_D2R                                           WL_GNZ_2R
#define G3055_i_WallSetFlipped_Wall_D1C                                           WL_GNZ_1C
#define G3056_i_WallSetFlipped_Wall_D1L                                           WL_GNZ_1L
#define G3057_i_WallSetFlipped_Wall_D1R                                           WL_GNZ_1R
#define G3058_i_WallSetFlipped_Wall_D0L                                           WL_GNZ_0L
#define G3059_i_WallSetFlipped_Wall_D0R                                           WL_GNZ_0R
#define G0101_as_CurrentMapWallOrnamentsInfo                                      WORN_DESC
#define G0102_as_CurrentMapFloorOrnamentsInfo                                     FORN_DESC
#define G0103_as_CurrentMapDoorOrnamentsInfo                                      DORN_DESC
#define G0209_as_Graphic558_ObjectAspects                                         OPIC
#define G0210_as_Graphic558_ProjectileAspects                                     PROJ_PDSC
#define G0219_as_Graphic558_CreatureAspects                                       CPIC
#define G0075_apuc_PaletteChanges_Projectile                                      PROJ_COLORS
#define G0215_auc_Graphic558_ProjectileScales                                     PROJ_REDUCE
#define G0213_auc_Graphic558_PaletteChanges_FloorOrnament_D3                      OBJ3_COLORS
#define G0214_auc_Graphic558_PaletteChanges_FloorOrnament_D2                      OBJ2_COLORS
#define G0077_B_DoNotDrawFluxcagesDuringEndgame                                   NO_SHOW_CAGE
#define G3060_i_WallSet_Wall_D3C                                                  WL_NRM_3C
#define G3061_i_WallSet_Wall_D3L                                                  WL_NRM_3L
#define G3062_i_WallSet_Wall_D3R                                                  WL_NRM_3R
#define G3063_i_WallSet_Wall_D2C                                                  WL_NRM_2C
#define G3064_i_WallSet_Wall_D2L                                                  WL_NRM_2L
#define G3065_i_WallSet_Wall_D2R                                                  WL_NRM_2R
#define G3066_i_WallSet_Wall_D1C                                                  WL_NRM_1C
#define G3067_i_WallSet_Wall_D1L                                                  WL_NRM_1L
#define G3068_i_WallSet_Wall_D1R                                                  WL_NRM_1R
#define G3069_i_WallSet_Wall_D0L                                                  WL_NRM_0L
#define G3070_i_WallSet_Wall_D0R                                                  WL_NRM_0R
#define G0193_ai_Graphic558_FountainOrnamentIndices                               WORN_WATER
#define G0212_auc_Graphic558_PaletteChanges_Smoke                                 SMOKE_COLORS
#define G0417_apc_BaseSkillNames                                                  SKILL_NAMES
#define G0397_i_MoveResultMapX                                                    MOVE_X
#define G0398_i_MoveResultMapY                                                    MOVE_Y
#define G0399_ui_MoveResultMapIndex                                               MOVE_LEV
#define G0401_ui_MoveResultCell                                                   MOVE_CELL
#define G0400_i_MoveResultDirection                                               MOVE_DIR
#define G0402_B_UseRopeToClimbDownPit                                             REPELLING
#define G2067_i_ViewportScreenX                                                   DUNVIEW_X
#define G2068_i_ViewportScreenY                                                   DUNVIEW_Y
#define G2069_LargestCacheableNativeBitmapByteCount                               STACK_SIZE
#define G2183_CreditsBitmapByteCount                                              SCR_SIZE
#define G2071_C320_ScreenPixelWidth                                               SCR_X_SIZE
#define G2072_C200_ScreenPixelHeight                                              SCR_Y_SIZE
#define G2070_ViewportBitmapByteCount                                             DUN_SIZE
#define G2073_C224_ViewportPixelWidth                                             DUN_X_SIZE
#define G2074_C136_ViewportHeight                                                 DUN_Y_SIZE
#define G2142_ViewportBlackAreaByteCount                                          DUN_MIDSIZE
#define G3003_ui_LargestCacheableNativeBitmapByteCount                            COMP3D_SIZE
#define G2184_ActionIconByteCount                                                 ICON_SIZE
#define G2075_ObjectIconWidth                                                     ICON_X_SIZE
#define G2076_ObjectIconHeight                                                    ICON_Y_SIZE
#define G2185_Unreferenced                                                        ICON_X_SHDW
#define G2186_Unreferenced                                                        ICON_Y_SHDW
#define G2077_C1_TextMargin                                                       IBOX_WIDTH
#define G2078_C32_PortraitWidth                                                   MUG_X_SIZE
#define G2079_C29_PortraitHeight                                                  MUG_Y_SIZE
#define G2080_C19_ChampionIconWidth                                               SUBSQ_X_SIZE
#define G2081_C14_ChampionIconHeight                                              SUBSQ_Y_SIZE
#define G2082_                                                                    CHAR_X_SIZE
#define G2083_C6_                                                                 CHAR_Y_SIZE
#define G2084_C1_                                                                 CHAR_X_SPC
#define G2085_                                                                    CHAR_Y_SPC
#define G2086_C1_                                                                 CHAR_DESCENDER
#define G2087_C6_TextCharacterWidth                                               CHAR_X_WID
#define G2088_C7_TextLineHeight                                                   CHAR_Y_HYT
#define G2089_C8_InscriptionCharacterWidth                                        DWT_X_SIZE
#define G2090_C8_InscriptionLineHeight                                            DWT_Y_SIZE
#define G2091_MessageAreaLineByteCount                                            SCRBUF_SIZE
#define G2092_MessageAreaWidth                                                    SCRBUF_X_SIZE
#define G2187_MessageAreaHeight_Unreferenced                                      SCRBUF_Y_SIZE
#define G2093_DamageToCreatureMediumWidth                                         POW1_X_SIZE
#define G2094_DamageToCreatureMediumHeight                                        POW1_Y_SIZE
#define G2095_DamageToCreatureSmallWidth                                          POW2_X_SIZE
#define G2096_DamageToCreatureSmallHeight                                         POW2_Y_SIZE
#define G2097_FoodOrWaterBarShadowOffset                                          SHDW_OFF_FOR_FOOD_WATER
#define G1147_B_LoadBonusDungeon                                                  BONUS_DUN
#define G0524_B_RestartGameAllowed                                                CAN_RESTART
#define G0523_B_RestartGameRequested                                              RESTARTING
#define G2189_i_EntrancePaletteIndex                                              DOOR_PAL
#define G2098_i_CreditsPaletteIndex                                               CREDIT_PAL
#define G2099_i_InterfacePaletteIndex                                             ICON_PAL
#define G2100_i_BlackPaletteIndex                                                 BLACK_PAL
#define G2101_i_BluePaletteIndex                                                  BLUE_PAL
#define G2190_i_TitlePresentsPaletteIndex                                         TITLE_PRESENTS
#define G2191_i_TitleDungeonPaletteIndex                                          TITLE_DUNGEON
#define G2192_i_TitleMasterPaletteIndex                                           TITLE_MASTER
#define G0003_ai_Graphic562_Box_Title_StrikesBack_Destination                     MASTER_CRDS
#define G0004_ai_Graphic562_Box_Title_StrikesBack_Source                          MASAVE_CRDS
#define G0005_ai_Graphic562_Box_Title_Presents                                    PRESENTS_CRDS
#define G0006_ai_Graphic562_Box_Entrance_DungeonView                              OPND_DUNBUF
#define G0007_ai_Graphic562_Box_Entrance_OpeningDoorLeft                          OPND_LDOOR
#define G0008_ai_Graphic562_Box_Entrance_OpeningDoorRight                         OPND_RDOOR
#define G0009_ai_Graphic562_Box_Entrance_Doors                                    SHOWE_CRD1
#define G0010_ai_Graphic562_Box_Entrance_ClosedDoorLeft                           SHOWE_CRD2
#define G0011_ai_Graphic562_Box_Entrance_ClosedDoorRight                          SHOWE_CRD3
#define G0013_ai_Graphic562_Box_Endgame_Restart_Outer                             RESTRT1_COORDS
#define G0014_ai_Graphic562_Box_Endgame_Restart_Inner                             RESTRT2_COORDS
#define G3000_ai_Box_Screen                                                       SCREEN_WINDOW
#define G0018_ai_Graphic562_MandatoryGraphicIndices                               PERM_PICS
#define G0030_as_Graphic562_SlotBoxes                                             BOXLIST
#define G0038_ai_Graphic562_SlotMasks                                             SLOT_TYPE
#define G0039_ai_Graphic562_LightPowerToLightAmount                               LUMINS
#define G0023_aac_Graphic562_OrderedCellsToAttack                                 SS_ORDER
#define G0024_auc_Graphic562_WoundProbabilityIndexToWoundMask                     ARMOUR_LOC
#define G0025_auc_Graphic562_StealFromSlotIndices                                 STEAL_LOCS
#define G0026_ai_Graphic562_IconGraphicFirstIconIndex                             FIRST_ICON
#define G0029_auc_Graphic562_ChargeCountToTorchType                               TORCH_PICOFF
#define G0040_ai_Graphic562_PaletteIndexToLightAmount                             LIGHT_PALLETE
#define G0046_auc_Graphic562_ChampionColor                                        PLAYER_COLOR
#define G0050_auc_Graphic562_WoundDefenseFactor                                   SHIELD_PLUS
#define G0051_ac_Graphic562_UnderscoreCharacterString                             GNN_CURS
#define G0052_ac_Graphic562_RenameChampionInputCharacterString                    GNN_ONECH
#define G2047_ac_ChampionRenameCharacters                                         GNN_CHARS
#define G0057_ai_Graphic562_SlotDropOrder                                         DUMP_ORDER
#define G0059_auc_Graphic562_SquareTypeToEventType                                TRIPS_TE_SW
#define G0060_as_Graphic562_Sounds                                                SOUND_INFO
#define G0064_al_Graphic562_PrintTextMasks2                                       SPLIT1MASK
#define G0065_al_Graphic562_PrintTextMasks1                                       SPLIT2MASK
#define G0066_ac_Graphic562_LineFeedCharacterString                               NL_CHAR
#define G0567_B_GameAndSaveDiskUseSameDrive                                       SINGLE_DRIVE
#define G0568_ui_DiskType                                                         LAST_DTYPE
#define G0569_pc_SavedGameFileName                                                NAME_SAVE
#define G0570_pc_SavedGameBackupFileName                                          NAME_BACK
#define G0571_puc_GameDiskDriveName                                               FIRST_DRIVE
#define G0572_puc_SavedGameDiskDriveName                                          SECOND_DRIVE
#define G4081_i_FileHandle                                                        LAST_OPEN
#define G2048_auc_GameDiskDriveLetter                                             DRIVE1
#define G2049_auc_SavedGameDiskDriveLetter                                        DRIVE2
#define G0575_ac_SavedGameFileName                                                SAVE_NAME
#define G0576_ac_SavedGameBackupFileName                                          BACK_NAME
#define G2145_i_GameDiskDriveOrdinal                                              GAME_DRIVE
#define G2146_i_SaveDiskDriveOrdinal                                              SAVE_DRIVE
#define G2143_i_CurrentDefaultDriveOrdinal                                        CURRENT_DRIVE
#define G0357_puc_InterfaceAndScrollsFont                                         TEXT_PIC
#define G0356_puc_Bitmap_MessageAreaNewRow                                        SCROLL_BUF
#define G0353_ac_StringBuildBuffer                                                TEXT_BUF
#define G0355_B_ScrollMessageArea                                                 DO_SCROLL
#define G2148_puc_InterfaceAndScrollsFontCustomColors                             CTEXT
#define G0369_EventMaximumCount                                                   MAX_TIMED_EVENT
#define G0370_ps_Events                                                           TE_SLOTS
#define G0371_pui_Timeline                                                        TE_HEAP
#define G0372_ui_EventCount                                                       TE_COUNT
#define G0373_ui_FirstUnusedEventIndex                                            LOW_SLOT
#define G0296_puc_Bitmap_Viewport                                                 DUNBUF
#define G0297_B_DrawFloorAndCeilingRequested                                      DIRTY_DUNBUF
#define G0298_B_NewGame                                                           NEW_GAME
#define G0299_ui_CandidateChampionOrdinal                                         PICKING_CHARACTER
#define G0300_B_PartyIsResting                                                    PARTY_RESTING
#define G0301_B_GameTimeTicking                                                   GAME_IN_PROGRESS
#define G0302_B_GameWon                                                           GAME_WON
#define G0303_B_PartyDead                                                         PARTY_DEAD
#define G0304_i_DungeonViewPaletteIndex                                           LIGHT_LEVEL
#define G0305_ui_PartyChampionCount                                               PARTY_SIZE
#define G0308_i_PartyDirection                                                    ZDIR
#define G0306_i_PartyMapX                                                         ZX
#define G0307_i_PartyMapY                                                         ZY
#define G0309_i_PartyMapIndex                                                     ZLEV
#define G0310_i_DisabledMovementTicks                                             MOVE_DELAY
#define G0311_i_ProjectileDisabledMovementTicks                                   THROW_DELAY
#define G0312_i_LastProjectileDisabledMovementDirection                           THROW_DIR
#define G0313_ul_GameTime                                                         FRAME_NUM
#define G2024_B_PendingMusicOn                                                    MUSIC_ENABLE
#define G0349_ul_LastRandomNumber                                                 RANDOM_SEED
#define G0317_i_WaitForInputVerticalBlankCount                                    TICKS
#define G0318_i_WaitForInputMaximumVerticalBlankCount                             FRAME_TICKS
#define G0319_ul_LoadGameTime                                                START_FRAME
#define G0321_B_StopWaitingForPlayerInput                                         NEW_FRAME
#define G0322_B_PaletteSwitchingEnabled                                           DO_PAL_CHANGE
#define G0323_B_EnablePaletteSwitchingRequested                                   WIPE_DO_PAL
#define G0324_B_DrawViewportRequested                                             DO_WIPE
#define G0325_B_SetMousePointerToObjectInMainLoop                                 CHANGE_TO_ICON
#define G0326_B_RefreshMousePointerInMainLoop                                     RESET_MOUSE
#define G0327_i_NewPartyMapIndex                                                  DO_LEV_CHANGE
#define G0331_B_PressingEye                                                       EYEBALLING
#define G0332_B_StopPressingEye                                                   DONE_EYEING
#define G0333_B_PressingMouth                                                     MOUTHING
#define G0334_B_StopPressingMouth                                                 DONE_MOUTHING
#define G0335_ui_SelectedDialogChoice                                             MSG_OPTION
#define G0336_i_HighlightBoxX1                                                    IBUTX1
#define G0337_i_HighlightBoxX2                                                    IBUTX2
#define G0338_i_HighlightBoxY1                                                    IBUTY1
#define G0339_i_HighlightBoxY2                                                    IBUTY2
#define G0340_B_HighlightBoxInversionRequested                                    DO_INVERSE
#define G0341_B_HighlightBoxEnabled                                               BUTTONON
#define G0342_B_RefreshDungeonViewPaletteRequested                                SET_HPAL1
#define G0343_puc_Graphic_DialogBox                                               MSG_BOX
#define G4144_HPAL1                                                               HPAL1
#define G4145_HPAL2                                                               HPAL2
#define G0345_aui_BlankBuffer                                                     ZEROS
#define G0423_i_InventoryChampionOrdinal                                          IN_INVENTORY
#define G0424_i_PanelContent                                                      HAND_CONTROL
#define G0425_aT_ChestSlots                                                       CHEST_STUFF
#define G0426_T_OpenChest                                                         THE_CHEST
#define G0428_apc_SkillLevelNames                                                 LEV_NAME
#define G4108_DEC_BUF                                                             DEC_BUF
#define G0348_Bitmap_Screen                                                       SCREEN
#define G8147_CREDITS                                                             CREDIT
#define G8148_ENTRANCE                                                            ENTRANCE
#define G8149_ICON                                                                ICON
#define G8150_INVENTORY                                                           INVENTORY
#define G8151_LIGHT0                                                              LIGHT0
#define G8152_LIGHT1                                                              LIGHT1
#define G8153_LIGHT2                                                              LIGHT2
#define G8154_LIGHT3                                                              LIGHT3
#define G8155_LIGHT4                                                              LIGHT4
#define G8156_LIGHT5                                                              LIGHT5
#define G8157_BLACK                                                               BLACK
#define G8158_BLUE                                                                BLUE
#define G8159_PRESENTS                                                            PRESENTS
#define G8160_DUNGEON                                                             DUNGEON
#define G8161_MASTER                                                              MASTER
#define G8162_SWOOSH1                                                             SWOOSH1
#define G8163_SWOOSH2                                                             SWOOSH2
#define G8164_SWOOSH3                                                             SWOOSH3
#define G8165_SWOOSH4                                                             SWOOSH4
#define G8166_SWOOSH5                                                             SWOOSH5
#define G8167_SWOOSH6                                                             SWOOSH6
#define G8168_SWOOSH7                                                             SWOOSH7
#define G8169_SWOOSH8                                                             SWOOSH8
#define G8170_SWOOSH9                                                             SWOOSH9
#define G8171_SWOOSH10                                                            SWOOSH10
#define G8176_PaletteTable                                                        PAL_TABLE
#define G8175_CREAT_PAL                                                           CREAT_PAL
#define G4105_WORK                                                                WORK
#define G4104_SWORK                                                               SWORK
#define G4106_EGBPARA                                                             EGBPARA
#define G4103_WRITE_PAGE                                                          WRITE_PAGE
#define G4107_HATCH_DATA                                                          HATCH_DATA
#define G2043_puc_BlitShrink_BitmapSource                                         SRC
#define G2044_puc_BlitShrink_BitmapDestination                                    DST
#define G8183_aac_FullPalette                                                     SAVE_PAL
#define G4094_CURTAIN_FLAG                                                        CURTAIN_FLAG
#define G2123_                                                                    LAST_LIGHT
#define G4096_PLAY_BUF                                                            PLAY_BUF
#define G8187_Graphic_FTLLogo                                                     SWOOSH
#define G0745_SwooshSoundDataByteCount                                            SWOOSH_SND_SIZE
#define G0746_auc_SwooshSoundData                                                 SWOOSH_SND
#define G4093_B_CD_PROTECT_CPSX                                                          CD_PROTECT
#define G2038_auc_MusicIndexToMusicTrack                                          DM_MUSIC
#define G4090_CD_TYPE                                                             CD_TYPE
#define G4091_START_TRACK                                                         START_TRACK
#define G4092_END_TRACK                                                           END_TRACK
#define G4082_CDDeviceNumber                                                      DEVNO
#define G4083_MUSIC_TRACKS_count                                                  MUSIC_TRACKS
#define G4084_TRACK_TIME                                                          TRACK_TIME
#define G4086_DISK_TIME                                                           DISK_TIME
#define G4085_MUSIC_PLAYING                                                       MUSIC_PLAYING
#define G2125_i_MusicPlayingMapIndex                                              LAST_LEVEL
#define G2039_ai_MapIndexToMusicTrack                                             LEVEL_SONGS
#define G4087_CountdownBeforeMusicStart                                           LEVEL_SONG_COUNTDOWN
#define G4088_PendingMusicTrackIndex                                              NEXT_LEVEL_SONG
#define G4089_MusicPlayingTrackIndex                                              CURRENT_LEVEL_SONG
#define G3073_B_MusicOn                                                           MUSIC_ON
#endif
#endif
