第3章 バイナリフォーマット


3-6. ShapeList


(1)ShapeListエリア

 ShapeListにはシェープデータに関する記述がされています。ShapeListのマッピングは以下のようになっています。
ShapeListHeader
u32 shape_list_tag
u32 shape_list_header_size
u32 shape_list_size
u32 shape_num
u32 nintendo_extension_block_size
u32 user_extension_block_size
u32 shape_num_byte(0)
・・・
u32 shape_num_byte(shape_num - 1)
Shape(0)
・・・
Shape(shape_num - 1)
NintendoExtensionBlock
UserExtensionBlock

図 ShapeListエリアメモリマップ

u32 shape_list_tag Tag indicating ShapeList. Set the following flag.
TAG_SHAPE_LIST  0x00030000

u32 shape_list_header_size Size of ShapeListHeader
u32 shape_list_size Size of ShapeList
u32 shape_num Number of shapes outputted in ShapeList. In a case, number of shape_num is SHAPE_NUM, shape_num_byte and shape are equaled to that of SHAPE_NUM.
u32 nintendo_extension_block_size 任天堂拡張ブロックサイズ
u32 user_extension_block_size ユーザー拡張ブロックサイズ
u32 shape_num_byte Number of bytes corresponding to Shape
Shape Area for outputting one shape data
NintendoExtensionBlock 任天堂拡張ブロック
UserExtensionBlock ユーザー拡張エリア


Copyright 1997 NINTENDO Co.,Ltd. All rights reserved.

目次へ次へ