/****************************************************************************/
/*  FILE: HND_OldMember.h                                                   */
/*  機能: HNDフォーマットに含まれる各データメンバに割り当てるIDを定義する   */
/*                                                                          */
/*  2001/07/04 Created                                                      */
/*  Copyright (C)SEGA 2001/SYSTEM R&D DEPT                                  */
/****************************************************************************/

#ifndef __HND_OLDMEMBER_H
#define __HND_OLDMEMBER_H

/* Scene */
#define HNM_SCENE_HNDVERSION			HNM_HNDVERSION
#define HNM_SCENE_DEVELOPERNAME			HNM_DEVELOPERNAME
#define HNM_SCENE_TOOLNAME				HNM_TOOLNAME
#define HNM_SCENE_TOOLVERSION			HNM_TOOLVERSION
#define HNM_SCENE_SCENENAME				HNM_NAME
#define HNM_SCENE_P_OBJECTLIST			HNM_OBJECT
#define HNM_SCENE_NB_OBJECT				HNM_OBJECT
#define HNM_SCENE_NB_CAMERA				HNM_CAMERA
#define HNM_SCENE_NB_LIGHT				HNM_LIGHT
#define HNM_SCENE_P_CAMERACHANGE		HNM_CAMERACHANGE
#define HNM_SCENE_NB_CAMERACHANGE		HNM_CAMERACHANGE
#define HNM_SCENE_STARTFRAME			HNM_STARTFRAME
#define HNM_SCENE_ENDFRAME				HNM_ENDFRAME
#define HNM_SCENE_FRAMERATE				HNM_FRAMERATE
#define HNM_SCENE_COORDINATESTYPE		HNM_COORDINATESTYPE
#define HNM_SCENE_COORDINATESBASE		HNM_COORDINATESBASE
#define HNM_SCENE_USERRESERVED			HNM_USERRESERVED
#define HNM_SCENE_P_USERDATA			HNM_USERDATA

/* Object */
#define HNM_OBJECT_ID					HNM_ID
#define HNM_OBJECT_NAME					HNM_NAME
#define HNM_OBJECT_ATTRIBUTENAME		HNM_ATTRIBUTENAME
#define HNM_OBJECT_BASENAME				HNM_BASENAME
#define HNM_OBJECT_P_NODE				HNM_NODE
#define HNM_OBJECT_NB_NODE				HNM_NODE
#define HNM_OBJECT_NB_MODEL				HNM_MODEL
#define HNM_OBJECT_NB_INSTANCEMODEL		HNM_INSTMDL
#define HNM_OBJECT_NB_BONE				HNM_BONE
#define HNM_OBJECT_NB_CAMERA			HNM_CAMERA
#define HNM_OBJECT_NB_LIGHT				HNM_LIGHT
#define HNM_OBJECT_NB_FRAME				HNM_FRAME
#define HNM_OBJECT_NB_TEXTURE			HNM_TEXTURE
#define HNM_OBJECT_NB_MATERIAL			HNM_MATERIAL
#define HNM_OBJECT_P_PICTURE			HNM_PICTURE
#define HNM_OBJECT_NB_PICTURE			HNM_PICTURE
#define HNM_OBJECT_P_PREVIOUS			HNM_PREV
#define HNM_OBJECT_P_NEXT				HNM_NEXT
#define HNM_OBJECT_USERRESERVED			HNM_USERRESERVED
#define HNM_OBJECT_P_USERDATA			HNM_USERDATA
#define HNM_OBJECT_SCALEINHERIT			HNM_SCALEINHERITTYPE
#define HNM_OBJECT_SCALEINHERITTYPE		HNM_SCALEINHERITTYPE

/* Node */
#define HNM_NODE_ID					HNM_ID
#define HNM_NODE_NAME				HNM_NAME
#define HNM_NODE_ATTRIBUTENAME		HNM_ATTRIBUTENAME
#define HNM_NODE_BASENAME			HNM_BASENAME
#define HNM_NODE_P_ITEM				HNM_ITEM
#define HNM_NODE_ST_ITEM			HNM_ITEMTYPE
#define HNM_NODE_MATRIXTYPE			HNM_MATRIXTYPE
#define HNM_NODE_ROTATIONTYPE		HNM_ROTATIONTYPE
#define HNM_NODE_MATRIX				HNM_MATRIX
#define HNM_NODE_TRANSLATION		HNM_TRANSLATION
#define HNM_NODE_ROTATION			HNM_ROTATION
#define HNM_NODE_QUATERNION			HNM_QUATERNION
#define HNM_NODE_SCALE				HNM_SCALE
#define HNM_NODE_INITMATRIX			HNM_INITMATRIX
#define HNM_NODE_INITTRANSLATION	HNM_INITTRANSLATION
#define HNM_NODE_INITROTATION		HNM_INITROTATION
#define HNM_NODE_INITQUATERNION		HNM_INITQUATERNION
#define HNM_NODE_INITSCALE			HNM_INITSCALE
#define HNM_NODE_P_PARENT			HNM_PARENT
#define HNM_NODE_P_CHILD			HNM_CHILD
#define HNM_NODE_P_SIBLING			HNM_SIBLING
#define HNM_NODE_P_PRESIBLING		HNM_PRESIBLING
#define HNM_NODE_P_MOTION			HNM_MOTION
#define HNM_NODE_NB_MOTION			HNM_MOTION
#define HNM_NODE_USERRESERVED		HNM_USERRESERVED
#define HNM_NODE_P_USERDATA			HNM_USERDATA
#define HNM_NODE_ROTATIONPIVOT		HNM_ROTATIONPIVOT
#define HNM_NODE_SCALEPIVOT			HNM_SCALEPIVOT
#define HNM_NODE_PIVOTPOSITION		HNM_PIVOTPOSITION
#define HNM_NODE_PIVOTROTATION		HNM_PIVOTROTATION
#define HNM_NODE_ENVREFNODE			HNM_ENVREFNODE
#define HNM_NODE_ROTATIONRESET		HNM_ROTATIONRESET
#define HNM_NODE_PARENTINHERITTX	HNM_PARENTINHERITTX
#define HNM_NODE_PARENTINHERITTY	HNM_PARENTINHERITTY
#define HNM_NODE_PARENTINHERITTZ	HNM_PARENTINHERITTZ
#define HNM_NODE_PARENTINHERITRX	HNM_PARENTINHERITRX
#define HNM_NODE_PARENTINHERITRY	HNM_PARENTINHERITRY
#define HNM_NODE_PARENTINHERITRZ	HNM_PARENTINHERITRZ
#define HNM_NODE_PARENTINHERITSX	HNM_PARENTINHERITSX
#define HNM_NODE_PARENTINHERITSY	HNM_PARENTINHERITSY
#define HNM_NODE_PARENTINHERITSZ	HNM_PARENTINHERITSZ

/* Model */
#define HNM_MODEL_ID				HNM_ID
#define HNM_MODEL_P_POLYGON			HNM_POLYGON
#define HNM_MODEL_P_VERTEX			HNM_VERTEX
#define HNM_MODEL_P_MATERIAL		HNM_MATERIAL
#define HNM_MODEL_P_NORMAL			HNM_NORMAL
#define HNM_MODEL_P_POLYNORMAL		HNM_POLYNORMAL
#define HNM_MODEL_P_VTXDIFFUSE		HNM_DIFFUSE
#define HNM_MODEL_P_VTXSPECULAR		HNM_SPECULAR
#define HNM_MODEL_P_UV				HNM_UV
#define HNM_MODEL_NB_POLYGON		HNM_POLYGON
#define HNM_MODEL_NB_VERTEX			HNM_VERTEX
#define HNM_MODEL_NB_MATERIAL		HNM_MATERIAL
#define HNM_MODEL_NB_NORMAL			HNM_NORMAL
#define HNM_MODEL_NB_POLYNORMAL		HNM_POLYNORMAL
#define HNM_MODEL_NB_VTXDIFFUSE		HNM_DIFFUSE
#define HNM_MODEL_NB_VTXSPECULAR	HNM_SPECULAR
#define HNM_MODEL_NB_UV				HNM_UV
#define HNM_MODEL_USERRESERVED		HNM_USERRESERVED
#define HNM_MODEL_P_USERDATA		HNM_USERDATA


/* Polygon */
#define HNM_POLYGON_ID				HNM_ID
#define HNM_POLYGON_P_POLYVTX		HNM_POLYVTX
#define HNM_POLYGON_NB_POLYVTX		HNM_POLYVTX
#define HNM_POLYGON_TYPE			HNM_TYPE
#define HNM_POLYGON_MATERIALID		HNM_MATERIAL
#define HNM_POLYGON_USERRESERVED	HNM_USERRESERVED
#define HNM_POLYGON_P_USERDATA		HNM_USERDATA
#define HNM_POLYGON_POLYNORMALID	HNM_POLYNORMAL


/* PolygonVertex */
#define HNM_POLYVTX_VERTEXID		HNM_VERTEX
#define HNM_POLYVTX_SPECULAR		HNM_SPECULAR
#define HNM_POLYVTX_NORMALID		HNM_NORMAL
#define HNM_POLYVTX_VTXDIFFUSEID	HNM_DIFFUSE
#define HNM_POLYVTX_VTXSPECULARID	HNM_SPECULAR
#define HNM_POLYVTX_P_UVLAYER		HNM_UVLAYER
#define HNM_POLYVTX_NB_UVLAYER		HNM_UVLAYER

/* Vertex */
#define HNM_VERTEX_ID				HNM_ID
#define HNM_VERTEX_POSITION			HNM_POSITION
#define HNM_VERTEX_P_ENVWEIGHT		HNM_ENVWEIGHT
#define HNM_VERTEX_NB_ENVWEIGHT		HNM_ENVWEIGHT

/* EnvWeight */
#define HNM_ENVWEIGHT_NODEID		HNM_NODE
#define HNM_ENVWEIGHT_WEIGHT		HNM_WEIGHT

/* Material */
#define HNM_MATERIAL_ID					HNM_ID
#define HNM_MATERIAL_NAME				HNM_NAME
#define HNM_MATERIAL_ATTRIBUTENAME		HNM_ATTRIBUTENAME
#define HNM_MATERIAL_BASENAME			HNM_BASENAME
#define HNM_MATERIAL_SHADINGTYPE		HNM_SHADINGTYPE
#define HNM_MATERIAL_AMBIENT			HNM_AMBIENT
#define HNM_MATERIAL_DIFFUSE			HNM_DIFFUSE
#define HNM_MATERIAL_SPECULAR			HNM_SPECULAR
#define HNM_MATERIAL_EXPONENT			HNM_EXPONENT
#define HNM_MATERIAL_TRANSPARENCY		HNM_TRANSPARENCY
#define HNM_MATERIAL_DOUBLESIDE			HNM_DOUBLESIDE
#define HNM_MATERIAL_WIRE				HNM_WIRE
#define HNM_MATERIAL_IGNORELIGHT		HNM_IGNORELIGHT
#define HNM_MATERIAL_REFLECTION			HNM_REFLECTION
#define HNM_MATERIAL_REFRACTION			HNM_REFRACTION
#define HNM_MATERIAL_P_TEXTURE			HNM_TEXTURE
#define HNM_MATERIAL_NB_TEXTURE			HNM_TEXTURE
#define HNM_MATERIAL_USERRESERVED		HNM_USERRESERVED
#define HNM_MATERIAL_P_USERDATA			HNM_USERDATA
#define HNM_MATERIAL_FLAT				HNM_FLAT
#define HNM_MATERIAL_SPECULARLEVEL		HNM_SPECULARLEVEL
#define HNM_MATERIAL_VERTEXCOLOR		HNM_VERTEXCOLOR
#define HNM_MATERIAL_SPECULARGLOSSINESS	HNM_SPECULARGLOSSINESS
#define HNM_MATERIAL_VERTEXCOLOR2		HNM_VERTEXCOLOR2

/* Texture */
#define HNM_TEXTURE_ID					HNM_ID
#define HNM_TEXTURE_NAME				HNM_NAME
#define HNM_TEXTURE_ATTRIBUTENAME		HNM_ATTRIBUTENAME
#define HNM_TEXTURE_BASENAME			HNM_BASENAME
#define HNM_TEXTURE_TYPE				HNM_TYPE
#define HNM_TEXTURE_PICTUREID			HNM_PICTURE
#define HNM_TEXTURE_PICTURETYPE			HNM_PICTURETYPE
#define HNM_TEXTURE_INTENSITY			HNM_INTENSITY
#define HNM_TEXTURE_MAPPINGMETHOD		HNM_MAPPINGMETHOD
#define HNM_TEXTURE_UVDIRECTION			HNM_UVDIRECTION
#define HNM_TEXTURE_UMINCROP			HNM_UMINCROP
#define HNM_TEXTURE_VMINCROP			HNM_VMINCROP
#define HNM_TEXTURE_UMAXCROP			HNM_UMAXCROP
#define HNM_TEXTURE_VMAXCROP			HNM_VMAXCROP
#define HNM_TEXTURE_UALTERNATE			HNM_UALTERNATE
#define HNM_TEXTURE_VALTERNATE			HNM_VALTERNATE
#define HNM_TEXTURE_CLAMPTYPE			HNM_CLAMPTYPE
#define HNM_TEXTURE_BLEND				HNM_BLEND

#define HNM_TEXTURE_UREPEAT				HNM_UREPEAT
#define HNM_TEXTURE_VREPEAT				HNM_VREPEAT
#define HNM_TEXTURE_USCALE				HNM_USCALE
#define HNM_TEXTURE_VSCALE				HNM_VSCALE
#define HNM_TEXTURE_UOFFSET				HNM_UOFFSET
#define HNM_TEXTURE_VOFFSET				HNM_VOFFSET
#define HNM_TEXTURE_USERRESERVED		HNM_USERRESERVED
#define HNM_TEXTURE_P_USERDATA			HNM_P_USERDATA
										
#define HNM_TEXTURE_UVID				HNM_UV


/* Instance Model */
#define HNM_INSTMDL_ID					HNM_ID
#define HNM_INSTMDL_SOURCENODENAME		HNM_SOURCENODENAME
#define HNM_INSTMDL_USERRESERVED		HNM_USERRESERVED
#define HNM_INSTMDL_P_USERDATA			HNM_P_USERDATA

/* Bone */
#define HNM_BONE_ID						HNM_ID
#define HNM_BONE_USERRESERVED			HNM_USERRESERVED
#define HNM_BONE_P_USERDATA				HNM_USERDATA

/* Camera */
#define HNM_CAMERA_ID					HNM_ID
#define HNM_CAMERA_TYPE					HNM_TYPE
#define HNM_CAMERA_TARGET				HNM_TARGET
#define HNM_CAMERA_ROLL					HNM_ROLL
#define HNM_CAMERA_ANGLE				HNM_ANGLE
#define HNM_CAMERA_NEARZ				HNM_NEARZ
#define HNM_CAMERA_FARZ					HNM_FARZ
#define HNM_CAMERA_USERRESERVED			HNM_USERRESERVED
#define HNM_CAMERA_P_USERDATA			HNM_USERDATA
#define HNM_CAMERA_UPTARGET				HNM_UPTARGET
#define HNM_CAMERA_IMAGEASPECT			HNM_IMAGEASPECT

/* Light */
#define HNM_LIGHT_ID						HNM_ID
#define HNM_LIGHT_TYPE						HNM_TYPE
#define HNM_LIGHT_COLOR						HNM_COLOR
#define HNM_LIGHT_TARGET					HNM_TARGET
#define HNM_LIGHT_OUTERANGLE				HNM_OUTERANGLE
#define HNM_LIGHT_INNERANGLE				HNM_INNERANGLE
#define HNM_LIGHT_OUTERRANGE				HNM_OUTERRANGE
#define HNM_LIGHT_INNERRANGE				HNM_INNERRANGE
#define HNM_LIGHT_NEARRANGEFALLOFF_START	HNM_NEARRANGE_START
#define HNM_LIGHT_NEARRANGEFALLOFF_END		HNM_NEARRANGE_END
#define HNM_LIGHT_FARRANGEFALLOFF_START		HNM_FARRANGE_START
#define HNM_LIGHT_FARRANGEFALLOFF_END		HNM_FARRANGE_END
#define HNM_LIGHT_INTENSITY					HNM_INTENSITY
#define HNM_LIGHT_USERRESERVED				HNM_USERRESERVED
#define HNM_LIGHT_P_USERDATA				HNM_P_USERDATA
#define HNM_LIGHT_VECTORTYPE				HNM_VECTORTYPE
#define HNM_LIGHT_VECTOR					HNM_VECTOR

/* Picture */
#define HNM_PICTURE_ID					HNM_ID
#define HNM_PICTURE_FILENAME			HNM_FILENAME
#define HNM_PICTURE_WIDTH				HNM_WIDTH
#define HNM_PICTURE_HEIGHT				HNM_HEIGHT
#define HNM_PICTURE_DEPTH				HNM_DEPTH
#define HNM_PICTURE_ALPHATYPE			HNM_ALPHATYPE

/* TRS Motion */
#define HNM_MOTION_P_TRANSLATION		HNM_TRANSLATION
#define HNM_MOTION_P_ROTATION			HNM_ROTATION
#define HNM_MOTION_P_SCALE				HNM_SCALE
#define HNM_MOTION_NB_TRANSLATION		HNM_TRANSLATION
#define HNM_MOTION_NB_ROTATION			HNM_ROTATION
#define HNM_MOTION_NB_SCALE				HNM_SCALE
#define HNM_MOTION_ST_TRANSLATION		HNM_TRANSLATIONTYPE
#define HNM_MOTION_ST_ROTATION			HNM_ROTATIONTYPE
#define HNM_MOTION_ST_SCALE				HNM_SCALETYPE

/* Motion */
#define HNM_MOTION_ROTATIONTYPE			HNM_ROTATIONTYPE
#define HNM_MOTION_P_ITEMMOTION			HNM_ITEM
#define HNM_MOTION_USERRESERVED			HNM_USERRESERVED
#define HNM_MOTION_P_USERDATA			HNM_USERDATA
#define HNM_MOTION_P_NODEUSERFLOAT		HNM_NODEUSER_FLOAT
#define HNM_MOTION_NB_NODEUSERFLOAT		HNM_NODEUSER_FLOAT
#define HNM_MOTION_ST_NODEUSERFLOAT		HNM_NODEUSER_FLOATTYPE
#define HNM_MOTION_P_NODEUSERUID		HNM_NODEUSER_UID
#define HNM_MOTION_NB_NODEUSERUID		HNM_NODEUSER_UID
#define HNM_MOTION_ST_NODEUSERUID		HNM_NODEUSER_UIDTYPE
#define HNM_MOTION_P_DISPLAY			HNM_DISPLAY
#define HNM_MOTION_NB_DISPLAY			HNM_DISPLAY
#define HNM_MOTION_ST_DISPLAY			HNM_DISPLAYTYPE

/* ModelMotion */
#define HNM_MODELMOT_P_SHAPEKEY			HNM_SHAPEKEY
#define HNM_MODELMOT_NB_SHAPEKEY		HNM_SHAPEKEY
#define HNM_MODELMOT_P_MTRANIM			HNM_MTRANIM
#define HNM_MODELMOT_NB_MTRANIM			HNM_MTRANIM
#define HNM_MODELMOT_P_DISPLAY			HNM_DISPLAY
#define HNM_MODELMOT_NB_DISPLAY			HNM_DISPLAY
#define HNM_MODELMOT_USERRESERVED		HNM_USERRESERVED
#define HNM_MODELMOT_P_USERDATA			HNM_USERDATA
#define HNM_MODELMOT_P_MOP				HNM_MORPHTARGET
#define HNM_MODELMOT_NB_MOP				HNM_MORPHTARGET

/* Shape Key */
#define HNM_SHAPEKEY_KEYFRAME			HNM_KEYFRAME
#define HNM_SHAPEKEY_P_SHAPEVTX			HNM_SHAPEVTX
#define HNM_SHAPEKEY_P_SHAPEPOLY		HNM_SHAPEPOLY
#define HNM_SHAPEKEY_TYPE				HNM_TYPE
#define HNM_SHAPEKEY_INPARAM			HNM_INPARAM
#define HNM_SHAPEKEY_OUTPARAM			HNM_OUTPARAM
#define HNM_SHAPEKEY_USEPOSITION		HNM_USEPOSITION
#define HNM_SHAPEKEY_USENORMAL			HNM_USENORMAL
#define HNM_SHAPEKEY_USEVTXCOLOR		HNM_USEVTXCOLOR
#define HNM_SHAPEKEY_USEUV				HNM_USEUV
										
#define HNM_SHAPEKEY_P_VERTEX			HNM_VERTEX
#define HNM_SHAPEKEY_P_NORMAL			HNM_NORMAL
#define HNM_SHAPEKEY_P_VTXDIFFUSE		HNM_DIFFUSE
#define HNM_SHAPEKEY_P_VTXSPECULAR		HNM_SPECULAR
#define HNM_SHAPEKEY_P_UV				HNM_UV
										

/* Shape Vertex */
#define HNM_SHAPEVTX_VERTEXID			HNM_VERTEXID
#define HNM_SHAPEVTX_POSITION			HNM_POSITION
#define HNM_SHAPEVTX_NORMAL				HNM_NORMAL

/* Shape Polygon */
#define HNM_SHAPEPOLY_POLYGONID			HNM_POLYGONID
#define HNM_SHAPEPOLY_P_SHAPEPOLYVTX	HNM_SHAPEPOLYVTX

/* Shape Polygon Vertex */
#define HNM_SHAPEPOLYVTX_NORMAL			HNM_NORMAL
#define HNM_SHAPEPOLYVTX_P_UV			HNM_UV
#define HNM_SHAPEPOLYVTX_DIFFUSE		HNM_DIFFUSE
#define HNM_SHAPEPOLYVTX_SPECULAR		HNM_SPECULAR

/* MaterialAnimation */
//#define HNM_MTRANIM_MATERIALID			HNM_MATERIAL
#define HNM_MTRANIM_P_TRANSPARENCY		HNM_TRANSPARENCY
#define HNM_MTRANIM_P_DIFFUSE			HNM_DIFFUSE
#define HNM_MTRANIM_P_SPECULAR			HNM_SPECULAR
#define HNM_MTRANIM_P_AMBIENT			HNM_AMBIENT
//#define HNM_MTRANIM_P_TEXANIM			HNM_TEXANIM
#define HNM_MTRANIM_NB_TRANSPARENCY		HNM_TRANSPARENCY
#define HNM_MTRANIM_NB_DIFFUSE			HNM_DIFFUSE
#define HNM_MTRANIM_NB_SPECULAR			HNM_SPECULAR
#define HNM_MTRANIM_NB_AMBIENT			HNM_AMBIENT
//#define HNM_MTRANIM_NB_TEXANIM			HNM_TEXANIM
#define HNM_MTRANIM_ST_TRANSPARENCY		HNM_TRANSPARENCYTYPE
#define HNM_MTRANIM_ST_DIFFUSE			HNM_DIFFUSETYPE
#define HNM_MTRANIM_ST_SPECULAR			HNM_SPECULARTYPE
#define HNM_MTRANIM_ST_AMBIENT			HNM_AMBIENTTYPE
#define HNM_MTRANIM_USERRESERVED		HNM_USERRESERVED
#define HNM_MTRANIM_P_USERDATA			HNM_USERDATA

/* TextureAnimation */
//#define HNM_TEXANIM_TEXTUREID			HNM_TEXTURE
#define HNM_TEXANIM_P_PICTURECHANGE		HNM_PICTURECHANGE
#define HNM_TEXANIM_P_BLEND				HNM_BLEND
#define HNM_TEXANIM_P_UOFFSET			HNM_UOFFSET		
#define HNM_TEXANIM_P_VOFFSET			HNM_VOFFSET		
#define HNM_TEXANIM_NB_PICTURECHANGE	HNM_PICTURECHANGE
#define HNM_TEXANIM_NB_BLEND			HNM_BLEND
#define HNM_TEXANIM_NB_UOFFSET			HNM_UOFFSET		
#define HNM_TEXANIM_NB_VOFFSET			HNM_VOFFSET		
#define HNM_TEXANIM_ST_BLEND			HNM_BLENDTYPE
#define HNM_TEXANIM_ST_UOFFSET			HNM_UOFFSETTYPE
#define HNM_TEXANIM_ST_VOFFSET			HNM_VOFFSETTYPE

/* CameraMotion */
#define HNM_CAMERAMOT_P_TARGET			HNM_TARGET
#define HNM_CAMERAMOT_P_ROLL			HNM_ROLL
#define HNM_CAMERAMOT_P_ANGLE			HNM_ANGLE
#define HNM_CAMERAMOT_P_UPTARGET		HNM_UPTARGET
#define HNM_CAMERAMOT_NB_TARGET			HNM_TARGET
#define HNM_CAMERAMOT_NB_ROLL			HNM_ROLL
#define HNM_CAMERAMOT_NB_ANGLE			HNM_ANGLE
#define HNM_CAMERAMOT_NB_UPTARGET		HNM_UPTARGET
#define HNM_CAMERAMOT_ST_TARGET			HNM_TARGETTYPE
#define HNM_CAMERAMOT_ST_ROLL			HNM_ROLLTYPE
#define HNM_CAMERAMOT_ST_ANGLE			HNM_ANGLETYPE
#define HNM_CAMERAMOT_ST_UPTARGET		HNM_UPTARGETTYPE
#define HNM_CAMERAMOT_USERRESERVED		HNM_USERRESERVED
#define HNM_CAMERAMOT_P_USERDATA		HNM_USERDATA

/* LightMotion */
#define HNM_LIGHTMOT_P_COLOR			HNM_COLOR
#define HNM_LIGHTMOT_P_TARGET			HNM_TARGET
#define HNM_LIGHTMOT_P_OUTERANGLE		HNM_OUTERANGLE
#define HNM_LIGHTMOT_P_INNERANGLE		HNM_INNERANGLE
#define HNM_LIGHTMOT_P_OUTERRANGE		HNM_OUTERRANGE
#define HNM_LIGHTMOT_P_INNERRANGE		HNM_INNERRANGE
#define HNM_LIGHTMOT_P_NEARRANGE_START	HNM_NEARRANGE_START
#define HNM_LIGHTMOT_P_NEARRANGE_END	HNM_NEARRANGE_END
#define HNM_LIGHTMOT_P_FARRANGE_START	HNM_FARRANGE_START
#define HNM_LIGHTMOT_P_FARRANGE_END		HNM_FARRANGE_END
#define HNM_LIGHTMOT_P_INTENSITY		HNM_INTENSITY
#define HNM_LIGHTMOT_NB_COLOR			HNM_COLOR
#define HNM_LIGHTMOT_NB_TARGET			HNM_TARGET
#define HNM_LIGHTMOT_NB_OUTERANGLE		HNM_OUTERANGLE
#define HNM_LIGHTMOT_NB_INNERANGLE		HNM_INNERANGLE
#define HNM_LIGHTMOT_NB_OUTERRANGE		HNM_OUTERRANGE
#define HNM_LIGHTMOT_NB_INNERRANGE		HNM_INNERRANGE
#define HNM_LIGHTMOT_NB_NEARRANGE_START	HNM_NEARRANGE_START
#define HNM_LIGHTMOT_NB_NEARRANGE_END	HNM_NEARRANGE_END
#define HNM_LIGHTMOT_NB_FARRANGE_START	HNM_FARRANGE_START
#define HNM_LIGHTMOT_NB_FARRANGE_END	HNM_FARRANGE_END
#define HNM_LIGHTMOT_NB_INTENSITY		HNM_INTENSITY
#define HNM_LIGHTMOT_ST_COLOR			HNM_COLORTYPE
#define HNM_LIGHTMOT_ST_TARGET			HNM_TARGETTYPE
#define HNM_LIGHTMOT_ST_OUTERANGLE		HNM_OUTERANGLETYPE
#define HNM_LIGHTMOT_ST_INNERANGLE		HNM_INNERANGLETYPE
#define HNM_LIGHTMOT_ST_OUTERRANGE		HNM_OUTERRANGETYPE
#define HNM_LIGHTMOT_ST_INNERRANGE		HNM_INNERRANGETYPE
#define HNM_LIGHTMOT_ST_NEARRANGE_START	HNM_NEARRANGE_STARTTYPE
#define HNM_LIGHTMOT_ST_NEARRANGE_END	HNM_NEARRANGE_ENDTYPE
#define HNM_LIGHTMOT_ST_FARRANGE_START	HNM_FARRANGE_STARTTYPE
#define HNM_LIGHTMOT_ST_FARRANGE_END	HNM_FARRANGE_ENDTYPE
#define HNM_LIGHTMOT_ST_INTENSITY		HNM_INTENSITYTYPE
#define HNM_LIGHTMOT_USERRESERVED		HNM_USERRESERVED
#define HNM_LIGHTMOT_P_USERDATA			HNM_USERDATA

/***************************/
/* Morph   0.80.00より追加 */
/***************************/
/* MorphTarget */
#define HNM_MOP							HNM_MORPHTARGET
#define HNM_MOP_ID						HNM_ID
#define HNM_MOP_P_WEIGHT				HNM_WEIGHT
#define HNM_MOP_NB_WEIGHT				HNM_WEIGHT
#define HNM_MOP_USEPOSITION				HNM_USEPOSITION
#define HNM_MOP_USENORMAL				HNM_USENORMAL
#define HNM_MOP_USEVTXCOLOR				HNM_USEVTXCOLOR
#define HNM_MOP_USEUV					HNM_USEUV
#define HNM_MOP_NAME					HNM_NAME
#define HNM_MOP_ATTRIBUTENAME			HNM_ATTRIBUTENAME
#define HNM_MOP_BASENAME				HNM_BASENAME
#define HNM_MOP_P_VERTEX				HNM_VERTEX
#define HNM_MOP_P_NORMAL				HNM_NORMAL
#define HNM_MOP_P_VTXDIFFUSE			HNM_DIFFUSE
#define HNM_MOP_P_VTXSPECULAR			HNM_SPECULAR
#define HNM_MOP_P_UV					HNM_UV


/* MorphPolygon */
#define HNM_MOPPOLY_POLYGONID			HNM_POLYGON
#define HNM_MOPPOLY_P_MOPPOLYVTX		HNM_MOPPOLYVTX

/* MorphPolygonVertex */
#define HNM_MOPPOLYVTX_NORMAL			HNM_NORMAL
#define HNM_MOPPOLYVTX_P_UV				HNM_UV
#define HNM_MOPPOLYVTX_DIFFUSE			HNM_DIFFUSE
#define HNM_MOPPOLYVTX_SPECULAR			HNM_SPECULAR

/* MorphVertex */
#define HNM_MOPVTX_VERTEXID				HNM_VERTEX
#define HNM_MOPVTX_POSITION				HNM_POSITION
#define HNM_MOPVTX_NORMAL				HNM_NORMAL

/* UV Layer 0.90.00より追加 */
#define HNM_UVLAYER_UVID				HNM_UV

/* Indexed Float 2 */
#define HNM_IDXF2D_ID					HNM_ID
#define HNM_IDXF2D_VALUE				HNM_VALUE

/* Indexed Float 3 */
#define HNM_IDXF3D_ID					HNM_ID
#define HNM_IDXF3D_VALUE				HNM_VALUE

/* Indexed Float 4 */
#define HNM_IDXF4D_ID					HNM_ID
#define HNM_IDXF4D_VALUE				HNM_VALUE

/* Indexed Float 4 */
#define HNM_IDXFCOLOR_ID				HNM_ID
#define HNM_IDXFCOLOR_VALUE				HNM_VALUE


/******* 0.90.03追加 ********/
/* SI Chain Root */
#define HNM_SICHAINRT_ID				HNM_ID
#define HNM_SICHAINRT_IK				HNM_IK
#define HNM_SICHAINRT_P_SICHAIN			HNM_SICHAIN
#define HNM_SICHAINRT_NB_SICHAIN		HNM_SICHAIN
#define HNM_SICHAINRT_USERRESERVED		HNM_USERRESERVED
#define HNM_SICHAINRT_P_USERDATA		HNM_USERDATA

/* SI Chain */
#define HNM_SICHAIN_NODEID				HNM_NODE

/* SI Bone */
#define HNM_SIBONE_ID					HNM_ID
#define HNM_SIBONE_LENGTH				HNM_LENGTH
#define HNM_SIBONE_PREFERANGLE			HNM_PREFERANGLE
#define HNM_SIBONE_USERRESERVED			HNM_USERRESERVED
#define HNM_SIBONE_P_USERDATA			HNM_USERDATA

/* SI Effector */
#define HNM_SIEFF_ID					HNM_ID
#define HNM_SIEFF_USERRESERVED			HNM_USERRESERVED
#define HNM_SIEFF_P_USERDATA			HNM_USERDATA
/******** 0.90.03 追加 ここまで *******************/

/* Float Key */
//	HNM_FLOATKEY							=0x00100000
#define HNM_FLOATKEY_KEYFRAME			HNM_KEYFRAME
#define HNM_FLOATKEY_KEY				HNM_KEY

/* Quaternion Key */
#define HNM_QUATERNIONKEY_KEYFRAME		HNM_KEYFRAME
#define HNM_QUATERNIONKEY_KEY			HNM_KEY

/* ID Key */
#define HNM_IDKEY_KEYFRAME				HNM_KEYFRAME
#define HNM_IDKEY_ID					HNM_ID

/* Item ID Key */
#define HNM_ITEMIDKEY_KEYFRAME			HNM_KEYFRAME
#define HNM_ITEMIDKEY_OBJECTID			HNM_OBJECT
#define HNM_ITEMIDKEY_ITEMID			HNM_ITEM


/*************************************/
/* TypicalFloatKey   0.80.00より追加 */
/*************************************/
#define HNM_TFLOATKEY_KEYFRAME			HNM_KEYFRAME
#define HNM_TFLOATKEY_TYPE				HNM_TYPE
#define HNM_TFLOATKEY_KEY				HNM_KEY
#define HNM_TFLOATKEY_INPARAM			HNM_INPARAM
#define HNM_TFLOATKEY_OUTPARAM			HNM_OUTPARAM

/* UIDKey */
#define HNM_UIDKEY_KEYFRAME				HNM_KEYFRAME
#define HNM_UIDKEY_ID					HNM_ID

/* TypicalUIDKey */
#define HNM_TUIDKEY_KEYFRAME			HNM_KEYFRAME
#define HNM_TUIDKEY_TYPE				HNM_TYPE
#define HNM_TUIDKEY_ID					HNM_ID


/*******************************************************/
/* GLOBAL MEMBER定義                                   */
/*******************************************************/
#define HNM_GM_ID						HNM_ID		
#define HNM_GM_NAME						HNM_NAME
#define HNM_GM_TYPE						HNM_TYPE
#define HNM_GM_RESERVE					HNM_RESERVE
#define HNM_GM_P_USERDATA				HNM_P_USERDATA
#define HNM_GM_VALUE					HNM_VALUE

/* ID */
#define HNM_GM_VERTEXID					HNM_VERTEX
#define HNM_GM_POLYGONID				HNM_POLYGON
#define HNM_GM_MATERIALID				HNM_MATERIAL
#define HNM_GM_NORMALID					HNM_NORMAL
#define HNM_GM_POLYNORMALID				HNM_POLYNORMAL
#define HNM_GM_VTXDIFFUSEID				HNM_DIFFUSE
#define HNM_GM_VTXSPECULARID			HNM_SPECULAR
#define HNM_GM_UVID						HNM_UV

/* TRSPositionNormal */
#define HNM_GM_POSITION					HNM_POSITION
#define HNM_GM_NORMAL					HNM_NORMAL
#define HNM_GM_TRANSLATION				HNM_TRANSLATION
#define HNM_GM_ROTATION					HNM_ROTATION
#define HNM_GM_SCALE					HNM_SCALE
#define HNM_GM_QUATERNION				HNM_QUATERNION

/* Color */
#define HNM_GM_COLOR					HNM_COLOR	
#define HNM_GM_P_DIFFUSE				HNM_DIFFUSE
#define HNM_GM_P_AMBIENT				HNM_AMBIENT
#define HNM_GM_P_SPECULAR				HNM_SPECULAR
#define HNM_GM_NB_DIFFUSE				HNM_DIFFUSE
#define HNM_GM_NB_AMBIENT				HNM_AMBIENT
#define HNM_GM_NB_SPECULAR				HNM_SPECULAR

/* Geometry */
#define HNM_GM_P_VERTEX					HNM_VERTEX
#define HNM_GM_P_NORMAL					HNM_NORMAL
#define HNM_GM_P_POLYGON				HNM_POLYGON
#define HNM_GM_P_POLYVTX				HNM_POLYVTX
#define HNM_GM_P_UV						HNM_UV
#define HNM_GM_P_ENV					HNM_ENV
#define HNM_GM_NB_VERTEX				HNM_VERTEX
#define HNM_GM_NB_NORMAL				HNM_NORMAL
#define HNM_GM_NB_POLYGON				HNM_POLYGON
#define HNM_GM_NB_POLYVTX				HNM_POLYVTX
#define HNM_GM_NB_UV					HNM_UV
#define HNM_GM_NB_ENV					HNM_ENV

/* OLD MEMBER NAME */
#define HNM_NODE_ITEMTYPE						HNM_ITEMTYPE
#define HNM_MOTION_TRANSLATIONDATATYPE			HNM_TRANSLATIONTYPE
#define HNM_MOTION_ROTATIONDATATYPE				HNM_ROTATIONTYPE
#define HNM_MOTION_SCALEDATATYPE				HNM_SCALETYPE
#define HNM_MOTION_ITEMTYPE						HNM_ITEMTYPE

#define HNM_MODELMOT_DISPLAYDATATYPE			HNM_DISPLAYTYPE

#define HNM_MOP_WEIGHTTYPE						HNM_WEIGHTTYPE

#define HNM_MTRANIM_TRANSPARENCYDATATYPE		HNM_TRANSPARENCYTYPE
#define HNM_MTRANIM_DIFFUSEDATATYPE				HNM_DIFFUSETYPE
#define HNM_MTRANIM_SPECULARDATATYPE			HNM_SPECULARTYPE
#define HNM_MTRANIM_AMBIENTDATATYPE				HNM_AMBIENTTYPE

#define HNM_TEXANIM_UOFFSETTYPE					HNM_UOFFSETTYPE
#define HNM_TEXANIM_VOFFSETTYPE					HNM_VOFFSETTYPE
#define HNM_TEXANIM_BLENDTYPE					HNM_BLENDTYPE

#define HNM_CAMERAMOT_TARGETDATATYPE			HNM_TARGETTYPE
#define HNM_CAMERAMOT_ROLLDATATYPE				HNM_ROLLTYPE
#define HNM_CAMERAMOT_UPTARGETTYPE				HNM_UPTARGETTYPE
#define HNM_CAMERAMOT_ANGLEDATATYPE				HNM_ANGLETYPE

#define HNM_LIGHTMOT_COLORDATATYPE				HNM_COLORTYPE
#define HNM_LIGHTMOT_TARGETDATATYPE				HNM_TARGETTYPE
#define HNM_LIGHTMOT_OUTERANGLEDATATYPE			HNM_OUTERANGLETYPE
#define HNM_LIGHTMOT_INNERANGLEDATATYPE			HNM_INNERANGLETYPE
#define HNM_LIGHTMOT_OUTERRANGEDATATYPE			HNM_OUTERRANGETYPE
#define HNM_LIGHTMOT_INNERRANGEDATATYPE			HNM_INNERRANGETYPE
#define HNM_LIGHTMOT_NEARRANGEDATATYPE_START	HNM_NEARRANGE_STARTTYPE
#define HNM_LIGHTMOT_NEARRANGEDATATYPE_END		HNM_NEARRANGE_ENDTYPE
#define HNM_LIGHTMOT_FARRANGEDATATYPE_START		HNM_FARRANGE_STARTTYPE
#define HNM_LIGHTMOT_FARRANGEDATATYPE_END		HNM_FARRANGE_ENDTYPE
#define HNM_LIGHTMOT_INTENSITYDATATYPE			HNM_INTENSITYTYPE

#define HND_ITEMTYPE_NULL					HNM_UNKNOWN
#define HND_ITEMTYPE_MODEL					HNM_MODEL
#define HND_ITEMTYPE_INSTANCEMODEL			HNM_INSTMDL
#define HND_ITEMTYPE_BONE					HNM_BONE
#define HND_ITEMTYPE_CAMERA					HNM_CAMERA
#define HND_ITEMTYPE_LIGHT					HNM_LIGHT
#define HND_ITEMTYPE_OTHER					HNM_UNKNOWN

#endif


