Skip to content

Instantly share code, notes, and snippets.

@Swyter
Last active November 17, 2018 18:54
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Swyter/dc660d27204a14323256e2ca8dc42fe2 to your computer and use it in GitHub Desktop.
Save Swyter/dc660d27204a14323256e2ca8dc42fe2 to your computer and use it in GitHub Desktop.

Bit flags indicating which Mummy and Sphinx animation sets to load on level initialisation. Unless stated otherwise all of them are unused in the PC version. Stored as bits in a decimal number in the Character Anim Files column of LevelData.xls (HT_SpreadSheet_LevelData) from OO_LevelData.elf (HT_File_LevelData).

AnimDataFlag_ExtendedIdle = 0x00000001
AnimDataFlag_HitDie       = 0x00000002
AnimDataFlag_Ledge        = 0x00000004
AnimDataFlag_Climb        = 0x00000008
AnimDataFlag_PushPull     = 0x00000010
AnimDataFlag_Context      = 0x00000020
AnimDataFlag_Subfile07    = 0x00000040
AnimDataFlag_Subfile08    = 0x00000080
AnimDataFlag_Subfile09    = 0x00000100
AnimDataFlag_Subfile10    = 0x00000200
AnimDataFlag_Subfile11    = 0x00000400
AnimDataFlag_Subfile12    = 0x00000800
AnimDataFlag_Subfile13    = 0x00001000
AnimDataFlag_Subfile14    = 0x00002000
AnimDataFlag_Subfile15    = 0x00004000
AnimDataFlag_Subfile16    = 0x00008000

AnimDataFlag_Attacks      = 0x00010000
AnimDataFlag_Shield       = 0x00020000 /* If this level has Sphinx as player character it also loads `HT_File_FX_Shield` */
AnimDataFlag_Blowpipe     = 0x00040000 /* If this level has Sphinx as player character it also loads `HT_File_FX_Blowpipe` */
AnimDataFlag_Rope         = 0x00080000
AnimDataFlag_Carry        = 0x00100000
AnimDataFlag_Ceiling      = 0x00200000
AnimDataFlag_Water        = 0x00400000
AnimDataFlag_Electricity  = 0x00800000
AnimDataFlag_Fire         = 0x01000000
AnimDataFlag_SubFile26    = 0x02000000
AnimDataFlag_SubFile27    = 0x04000000
AnimDataFlag_SubFile28    = 0x08000000
AnimDataFlag_SubFile29    = 0x10000000
AnimDataFlag_SubFile30    = 0x20000000
AnimDataFlag_SubFile31    = 0x40000000
AnimDataFlag_SubFile32    = 0x80000000

NOTES:

  • HT_File_FX_Sword, HT_File_FX_General, HT_File_FX_Water and HT_File_FX_Beetle are always loaded when Sphinx is the player character.

  • HT_File_FX_MummyGeneral and HT_File_FX_General are always loaded when the Mummy is the player character.

  • HT_File_FX_Generic is always loaded no matter the playable character.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment