Platz Type bgDirectory
From Uzebox
The bgDirectory structure acts like a header for your level data. Platz will begin here and drill down into your level data for rendering and collisions based on the entries found in this directory.
typedef struct bgDirectory {
u16 objOffset; // Index into pgmObjects flash array
u8 objCount; // The # of objects in the slice
u16 bgoIndex; // Index into pgmBgs flash array
u8 bgoCount; // The # of background elements in the slice
u8 animCount; // The # of animated background elements in the slice
u8 animIndex; // Index into animation directory
u8 pdIndex; // Index into platforms directory (PF_ZERO if none)
} bgDirectory;