diff --git a/code/nel/tools/pipeline/max/builtin/builtin.cpp b/code/nel/tools/pipeline/max/builtin/builtin.cpp index b211d5fb3..5cadaf784 100644 --- a/code/nel/tools/pipeline/max/builtin/builtin.cpp +++ b/code/nel/tools/pipeline/max/builtin/builtin.cpp @@ -48,7 +48,7 @@ namespace BUILTIN { namespace { -// 0x9003 bezier float control, subclass under control; control is under reftarget +// 0x9003 bezier float control, subclass under control???; control is under reftarget typedef CSuperClassDescUnknown CControlFloatSuperClassDesc; const CControlFloatSuperClassDesc ControlFloatSuperClassDesc(&ReferenceTargetClassDesc); @@ -88,6 +88,54 @@ const CSamplerSuperClassDesc SamplerSuperClassDesc(&ReferenceTargetClassDesc); typedef CSuperClassDescUnknown CMtlSuperClassDesc; const CMtlSuperClassDesc MtlSuperClassDesc(&ReferenceTargetClassDesc); +// 0xd00, soundobj, under reftarget directly +typedef CSuperClassDescUnknown CSoundObjSuperClassDesc; +const CSoundObjSuperClassDesc SoundObjSuperClassDesc(&ReferenceTargetClassDesc); + +// 0x1, node; under reftarget directly; classid 1 is node, 2 is rootnode +typedef CSuperClassDescUnknown CNodeSuperClassDesc; +const CNodeSuperClassDesc NodeSuperClassDesc(&ReferenceTargetClassDesc); + +// 0x900b, controlposition, under control??? +typedef CSuperClassDescUnknown CControlPositionSuperClassDesc; +const CControlPositionSuperClassDesc ControlPositionSuperClassDesc(&ReferenceTargetClassDesc); + +// 0x900c, controlrotation, under control??? +typedef CSuperClassDescUnknown CControlRotationSuperClassDesc; +const CControlRotationSuperClassDesc ControlRotationSuperClassDesc(&ReferenceTargetClassDesc); + +// 0x900d, control_scale, under control??? +typedef CSuperClassDescUnknown CControlScaleSuperClassDesc; +const CControlScaleSuperClassDesc ControlScaleSuperClassDesc(&ReferenceTargetClassDesc); + +// 0x9008, pos/rot/scale; controltransform; matrix3; under control??? +typedef CSuperClassDescUnknown CControlTransformSuperClassDesc; +const CControlTransformSuperClassDesc ControlTransformSuperClassDesc(&ReferenceTargetClassDesc); + +// 0x810 - osmodifier, under modifier (physique etc, necessary for skinning) +typedef CSuperClassDescUnknown COSModifierSuperClassDesc; +const COSModifierSuperClassDesc OSModifierSuperClassDesc(&ReferenceTargetClassDesc); + +// 0x9010 - master point controller +typedef CSuperClassDescUnknown CMasterPointControllerSuperClassDesc; +const CMasterPointControllerSuperClassDesc MasterPointControllerSuperClassDesc(&ReferenceTargetClassDesc); + +// 0x10 - geom object +typedef CSuperClassDescUnknown CGeomObjectSuperClassDesc; +const CGeomObjectSuperClassDesc GeomObjectSuperClassDesc(&ReferenceTargetClassDesc); + +// 0x10f0 - layer, under reftarget directly +typedef CSuperClassDescUnknown CLayerSuperClassDesc; +const CLayerSuperClassDesc LayerSuperClassDesc(&ReferenceTargetClassDesc); + +// 0x60 - object???, under base object +typedef CSuperClassDescUnknown CObjectSuperClassDesc; +const CObjectSuperClassDesc ObjectSuperClassDesc(&ReferenceTargetClassDesc); + +// 0x50 helperobject, under object... +typedef CSuperClassDescUnknown CHelperObjectSuperClassDesc; +const CHelperObjectSuperClassDesc HelperObjectSuperClassDesc(&ReferenceTargetClassDesc); + } /* anonymous namespace */ CBuiltin::CBuiltin() @@ -121,6 +169,18 @@ void CBuiltin::registerClasses(CSceneClassRegistry *registry) registry->add(&ShaderSuperClassDesc); registry->add(&SamplerSuperClassDesc); registry->add(&MtlSuperClassDesc); + registry->add(&SoundObjSuperClassDesc); + registry->add(&NodeSuperClassDesc); + registry->add(&ControlPositionSuperClassDesc); + registry->add(&ControlRotationSuperClassDesc); + registry->add(&ControlScaleSuperClassDesc); + registry->add(&ControlTransformSuperClassDesc); + registry->add(&OSModifierSuperClassDesc); + registry->add(&MasterPointControllerSuperClassDesc); + registry->add(&GeomObjectSuperClassDesc); + registry->add(&LayerSuperClassDesc); + registry->add(&ObjectSuperClassDesc); + registry->add(&HelperObjectSuperClassDesc); } } /* namespace BUILTIN */