Chapter 5 Flags

5-2. Tags

The following tags are currently defined for NIFF:

    Tags for Nintendo Intermediate File Format Version 1.0

    #define	TAG_HEADER	0x00000000

    #define TAG_SCENE_HEADER	0x00010000

    #define TAG_OBJ_LIST	0x00020000
    #define TAG_OBJ	0x00020100

    #define TAG_SHAPE_LIST	0x00030000
    #define TAG_SHAPE	0x00030100

    #define TAG_VTX_LIST	0x00040000
    #define TAG_VTX_GROUP	0x00040100

    #define TAG_COLOR_LIST	0x00050000
    #define TAG_TRI_COLOR_GROUP	0x00050100
    #define TAG_VTX_COLOR_GROUP	0x00050200

    #define TAG_VECTOR_LIST	0x00060000
    #define TAG_TRI_NV_GROUP	0x00060100
    #define TAG_VTX_NV_GROUP	0x00060200

    #define TAG_ST_LIST	0x00070000
    #define TAG_ST_GROUP	0x00070100

    #define TAG_TRI_LIST	0x00080000
    #define TAG_TRI_GROUP	0x00080100
    #define TAG_TRI	0x00080101

    #define TAG_PART_LIST	0x00090000
    #define TAG_PART	0x00090100

    #define TAG_MAT_LIST	0x000a0000
    #define	TAG_MAT	0x000a0100

    #define TAG_TEX_LIST	0x000b0000
    #define	TAG_TEX	0x000b0100

    #define TAG_TEX_IMG_LIST	0x00120000
    #define TAG_TEX_IMG	0x00120100

    #define TAG_ANIM_LIST	0x000c0000
    #define TAG_ANIM_GROUP	0x000c0100
    #define TAG_ANIM_STATIC	0x000c0101
    #define TAG_ANIM_FRAME	0x000c0102
    #define TAG_ANIM_FULL	0x000c0103
    #define TAG_ANIM_KEY	0x000c0104
    #define TAG_ANIM_BILLBOARD_OBJ	0x000c0105

    #define TAG_COLL_LIST	0x000d0000
    #define TAG_COLL_GROUP	0x000d1000
    #define	TAG_COLL	0x000d0100
    #define TAG_COLL_DATA_TERRAIN	0x000d0101
    #define TAG_COLL_DATA_POINT	0x000d0102
    #define TAG_COLL_DATA_CIRCLE	0x000d0103
    #define	TAG_COLL_DATA_SPHERE	0x000d0104
    #define TAG_COLL_DATA_CYLINDER	0x000d0105
    #define TAG_COLL_DATA_CUBE	0x000d0106

    #define TAG_CAM_LIST	0x000e0000
    #define TAG_CAM	0x000e0100

    #define TAG_LIGHT_LIST	0x000f0000
    #define TAG_LIGHT	0x000f0100
    #define TAG_DIR_LIGHT_DIRECTION	0x000f0101
    #define TAG_DIR_LIGHT_POSITION	0x000f0102

    #define TAG_ENV_LIST	0x00100000
    #define TAG_ENV	0x00100100

    #define TAG_SWITCH_LIST	0x00130000
    #define TAG_SWITCH	0x00130100

    #define TAG_NAME_LIST	0x00110000
    #define TAG_NAME	0x00110100