From c61fee7a8534262655948d9560213964a4c641a6 Mon Sep 17 00:00:00 2001 From: kaetemi Date: Wed, 22 Aug 2012 18:40:04 +0200 Subject: [PATCH] Added: #1440 More superclass dummies --HG-- branch : build_pipeline_v3 --- .../tools/pipeline/max/builtin/builtin.cpp | 20 +++++++++++++++++++ code/nel/tools/pipeline/max_dump/main.cpp | 4 ++-- 2 files changed, 22 insertions(+), 2 deletions(-) diff --git a/code/nel/tools/pipeline/max/builtin/builtin.cpp b/code/nel/tools/pipeline/max/builtin/builtin.cpp index 26f94c399..1028a8b68 100644 --- a/code/nel/tools/pipeline/max/builtin/builtin.cpp +++ b/code/nel/tools/pipeline/max/builtin/builtin.cpp @@ -172,6 +172,22 @@ const CRenderEffectSuperClassDesc RenderEffectSuperClassDesc(&ReferenceTargetCla typedef CSuperClassDescUnknown CShadowTypeSuperClassDesc; const CShadowTypeSuperClassDesc ShadowTypeSuperClassDesc(&ReferenceTargetClassDesc); +// 0x1160 - CustAttrib, directly under ref target +typedef CSuperClassDescUnknown CCustAttribSuperClassDesc; +const CCustAttribSuperClassDesc CustAttribSuperClassDesc(&ReferenceTargetClassDesc); + +// 0x9012 - point4list, controlpoint4, also rgba, under controll??? +typedef CSuperClassDescUnknown CControlPoint4SuperClassDesc; +const CControlPoint4SuperClassDesc ControlPoint4SuperClassDesc(&ReferenceTargetClassDesc); + +// 0xb60 - userdatatype, deprecated, don't care +typedef CSuperClassDescUnknown CUserDataTypeSuperClassDesc; +const CUserDataTypeSuperClassDesc UserDataTypeSuperClassDesc(&ReferenceTargetClassDesc); + +// 0x900f - usertype, don't care +typedef CSuperClassDescUnknown CUserTypeSuperClassDesc; +const CUserTypeSuperClassDesc UserTypeSuperClassDesc(&ReferenceTargetClassDesc); + } /* anonymous namespace */ CBuiltin::CBuiltin() @@ -229,6 +245,10 @@ void CBuiltin::registerClasses(CSceneClassRegistry *registry) registry->add(&GridReferenceSuperClassDesc); registry->add(&RenderEffectSuperClassDesc); registry->add(&ShadowTypeSuperClassDesc); + registry->add(&CustAttribSuperClassDesc); + registry->add(&ControlPoint4SuperClassDesc); + registry->add(&UserDataTypeSuperClassDesc); + registry->add(&UserTypeSuperClassDesc); } } /* namespace BUILTIN */ diff --git a/code/nel/tools/pipeline/max_dump/main.cpp b/code/nel/tools/pipeline/max_dump/main.cpp index 3fcc02e35..9e7f7a4cc 100644 --- a/code/nel/tools/pipeline/max_dump/main.cpp +++ b/code/nel/tools/pipeline/max_dump/main.cpp @@ -31,8 +31,8 @@ #include "../max/builtin/storage/app_data.h" #include "../max/builtin/builtin.h" -static const char *filename = "/srv/work/database/interfaces/anims_max/cp_fy_hof_species.max"; -//static const char *filename = "/home/kaetemi/source/minimax/GE_Acc_MikotoBaniere.max"; +//static const char *filename = "/srv/work/database/interfaces/anims_max/cp_fy_hof_species.max"; +static const char *filename = "/home/kaetemi/source/minimax/GE_Acc_MikotoBaniere.max"; //static const char *filename = "/home/kaetemi/3dsMax/scenes/test2008.max"; //static const char *filename = "/home/kaetemi/3dsMax/scenes/teapot_test_scene.max"; static const char *streamname = "Scene";