2026-01-07 16:36:02 -05:00
|
|
|
// ITNE - Entity/Item Chunk (reversed "ENTI")
|
|
|
|
|
// Contains entity definitions and properties
|
|
|
|
|
// Found in .ent files
|
|
|
|
|
|
|
|
|
|
type itne_chunk [display="ITNE Entity"] byteorder BE
|
|
|
|
|
{
|
|
|
|
|
// Standard 16-byte Asura chunk header
|
|
|
|
|
chunk_id = ascii(read(4));
|
|
|
|
|
u32 chunk_size;
|
|
|
|
|
u32 version;
|
|
|
|
|
u32 flags;
|
|
|
|
|
|
2026-01-11 12:10:29 -05:00
|
|
|
chunk_id = chunk_id;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
ui("chunk_id", "Chunk ID");
|
|
|
|
|
chunk_size = chunk_size;
|
|
|
|
|
|
|
|
|
|
ui("chunk_size", "Chunk Size");
|
|
|
|
|
version = version;
|
|
|
|
|
|
|
|
|
|
ui("version", "Version");
|
|
|
|
|
flags = flags;
|
|
|
|
|
|
|
|
|
|
ui("flags", "Flags");
|
2026-01-07 16:36:02 -05:00
|
|
|
|
|
|
|
|
// Entity ID
|
|
|
|
|
u32 entity_id;
|
2026-01-11 12:10:29 -05:00
|
|
|
entity_id = entity_id;
|
|
|
|
|
|
|
|
|
|
ui("entity_id", "Entity ID");
|
2026-01-07 16:36:02 -05:00
|
|
|
|
|
|
|
|
// Entity type/class
|
|
|
|
|
u32 entity_type;
|
2026-01-11 12:10:29 -05:00
|
|
|
entity_type = entity_type;
|
|
|
|
|
|
|
|
|
|
ui("entity_type", "Entity Type");
|
2026-01-07 16:36:02 -05:00
|
|
|
|
|
|
|
|
// Property count
|
|
|
|
|
u32 property_count;
|
2026-01-11 12:10:29 -05:00
|
|
|
property_count = property_count;
|
|
|
|
|
|
|
|
|
|
ui("property_count", "Property Count");
|
2026-01-07 16:36:02 -05:00
|
|
|
|
|
|
|
|
// Entity flags
|
|
|
|
|
u32 entity_flags;
|
2026-01-11 12:10:29 -05:00
|
|
|
entity_flags = entity_flags;
|
|
|
|
|
|
|
|
|
|
ui("entity_flags", "Entity Flags");
|
2026-01-07 16:36:02 -05:00
|
|
|
}
|