/////////////////////////////////////////////////////////////////////////////// // // ## ###### // ###### ### // ## ############### Shark 3D Engine (www.shark3d.com) // ########## # # # // ######## Copyright (c) 1996-2007 Spinor GmbH. // ######### # # # All rights reserved. // ## ########## // ## // /////////////////////////////////////////////////////////////////////////////// actor_ident "kit_base.group" actor_param { // Delegate action calls to the children. active 1 child_array { ident "kit_base.env" param { name "env" } } { ident "kit_base.envcompsuppl" param { name "envcompsuppl" } } // Forward declaration of the base suppl: { // A kind of forward declaration of the main generic suppl // named "basesuppl". ident "kit_base.obj" param { name "basesuppl" obj_suppl "envcompsuppl" obj_ident "eng_base.delegsuppl" obj_param { env "env" target "rawsuppl" } } } // Bitmap parser: { // Actor containing the bitmap parser. // A bitmap parser is necessary to load different bitmap file formats. ident "kit_base.extobj" param { name "bitmapparser" // Get parameters from the actor "cfg", which is defined above. obj_suppl "envcompsuppl" extcfg_actor "cfg" // Get the parameters from the "bitmapparser" entry. extcfg_entry_ident "bitmapparser.ident" extcfg_entry_param "bitmapparser.param" given_array { item "env" given_ident "env" } } } // Video parser: { // Actor containing the bitmap parser. // A video parser is necessary to load different video file formats. ident "kit_base.extobj" param { name "videoparser" obj_suppl "envcompsuppl" // Get parameters from the actor "cfg", which is defined above. extcfg_actor "cfg" // Get the parameters from the "videoparser" entry. extcfg_entry_ident "videoparser.ident" extcfg_entry_param "videoparser.param" given_array { item "env" given_ident "env" } } } // Standard model suppl: { ident "kit_base.obj" param { name "stdmodelsupplraw" obj_suppl "envcompsuppl" obj_ident "eng_model_std.modelsuppl" obj_param { env "env" } } } { ident "kit_base.obj" param { name "stdmodelsupplindiv" obj_suppl "envcompsuppl" obj_ident "eng_base.indivsuppl" obj_param { env "env" child_suppl "stdmodelsupplraw" } } } { ident "kit_base.obj" param { name "stdmodelsuppl" obj_suppl "envcompsuppl" obj_ident "eng_base.uniquesuppl" obj_param { env "env" child_suppl "stdmodelsupplindiv" } } } // Rectangle model suppl: { ident "kit_base.obj" param { name "rectmodelsupplraw" obj_suppl "envcompsuppl" obj_ident "eng_model_special.rectmodelsuppl" obj_param { env "env" } } } { ident "kit_base.obj" param { name "rectmodelsuppl" obj_suppl "envcompsuppl" obj_ident "eng_base.uniquesuppl" obj_param { env "env" child_suppl "rectmodelsupplraw" } } } // Geo suppl: { ident "kit_base.obj" param { name "geosupplraw" obj_suppl "envcompsuppl" obj_ident "eng_geo_std.geosuppl" obj_param { env "env" modelsuppl "stdmodelsuppl" usage "geo" max_tri_cnt 1000 } } } { ident "kit_base.obj" param { name "geosuppl" obj_suppl "envcompsuppl" obj_ident "eng_base.uniquesuppl" obj_param { env "env" child_suppl "geosupplraw" } } } // Path suppl: { ident "kit_base.obj" param { name "pathsupplraw" obj_suppl "envcompsuppl" obj_ident "eng_pos_std.pathsuppl" obj_param { env "env" } } } { ident "kit_base.obj" param { name "pathsuppl" obj_suppl "envcompsuppl" obj_ident "eng_base.uniquesuppl" obj_param { env "env" child_suppl "pathsupplraw" } } } // Bone-anim suppl: { ident "kit_base.obj" param { name "boneanimsupplraw" obj_suppl "envcompsuppl" obj_ident "eng_pos_std.boneanimsuppl" obj_param { env "env" } } } { ident "kit_base.obj" param { name "boneanimsuppl" obj_suppl "envcompsuppl" obj_ident "eng_base.uniquesuppl" obj_param { env "env" child_suppl "boneanimsupplraw" } } } // Bone-motion suppl: { ident "kit_base.obj" param { name "bonemotionsuppl" obj_suppl "envcompsuppl" obj_ident "eng_pos_std.bonemotionsuppl" obj_param { env "env" gensuppl "basesuppl" } } } // PVS suppl: { ident "kit_base.obj" param { name "visibpvssuppl" obj_suppl "envcompsuppl" obj_ident "eng_visib_pvs.pvssuppl" obj_param { env "env" } } } // Static texture suppl: { ident "kit_base.obj" param { name "statictexsupplraw" obj_suppl "envcompsuppl" obj_ident "eng_tex_std.statictexsuppl" obj_param { env "env" bitmapparser "bitmapparser" scale 0.0 char_taildelim "#" patexp_scalable "*scalable*" patexp_restrusage "*rect*" patexp_mipmap "!*nomipmap*" patexp_compress "*compress*" patexp_dynamic "*dynamic*" patexp_signed "*signed*" patexp_comp1 "*comp1*" patexp_comp2 "*comp2*" patexp_comp3 "*comp3*" patexp_comp4 "*comp4*" } } } { ident "kit_base.obj" param { name "statictexsuppl" obj_suppl "envcompsuppl" obj_ident "eng_base.uniquesuppl" obj_param { env "env" child_suppl "statictexsupplraw" } } } // Cube texture suppl: { ident "kit_base.obj" param { name "cubetexsupplraw" obj_suppl "envcompsuppl" obj_ident "eng_tex_std.cubetexsuppl" obj_param { env "env" bitmapparser "bitmapparser" scale 0.0 char_taildelim "#" char_cubejoker "§" patexp_scalable "*scalable*" patexp_restrusage "*rect*" patexp_mipmap "!*nomipmap*" patexp_compress "*compress*" patexp_dynamic "*dynamic*" patexp_signed "*signed*" patexp_comp1 "*comp1*" patexp_comp2 "*comp2*" patexp_comp3 "*comp3*" patexp_comp4 "*comp4*" cube_face_negx "negx" cube_face_posx "posx" cube_face_negy "negy" cube_face_posy "posy" cube_face_negz "negz" cube_face_posz "posz" } } } { ident "kit_base.obj" param { name "cubetexsuppl" obj_suppl "envcompsuppl" obj_ident "eng_base.uniquesuppl" obj_param { env "env" child_suppl "cubetexsupplraw" } } } // Ident texture supplier: { ident "kit_base.obj" param { name "identtexsupplraw" obj_suppl "envcompsuppl" obj_ident "eng_tex_std.identtexsuppl" obj_param { env "env" char_taildelim "#" patexp_scalable "*scalable*" patexp_restrusage "*rect*" patexp_mipmap "!*nomipmap*" patexp_compress "*compress*" patexp_dynamic "*dynamic*" patexp_signed "*signed*" patexp_comp1 "*comp1*" patexp_comp2 "*comp2*" patexp_comp3 "*comp3*" patexp_comp4 "*comp4*" } } } { ident "kit_base.obj" param { name "identtexsuppl" obj_suppl "envcompsuppl" obj_ident "eng_base.uniquesuppl" obj_param { env "env" child_suppl "identtexsupplraw" } } } // Video texture suppl: { ident "kit_base.obj" param { name "videotexsupplraw" obj_suppl "envcompsuppl" obj_ident "eng_tex_std.videotexsuppl" obj_param { env "env" videoparser "videoparser" char_taildelim "#" patexp_scalable "*scalable*" patexp_restrusage "*rect*" patexp_mipmap "!*nomipmap*" patexp_compress "*compress*" patexp_dynamic "*dynamic*" patexp_signed "*signed*" patexp_comp1 "*comp1*" patexp_comp2 "*comp2*" patexp_comp3 "*comp3*" patexp_comp4 "*comp4*" } } } { ident "kit_base.obj" param { name "videotexsuppl" obj_suppl "envcompsuppl" obj_ident "eng_base.uniquesuppl" obj_param { env "env" child_suppl "videotexsupplraw" } } } // Bitmap fonts and font textures: { ident "kit_base.obj" param { name "rastfontsupplraw" obj_suppl "envcompsuppl" obj_ident "eng_font_std.rastfontsuppl" obj_param { env "env" } } } { ident "kit_base.obj" param { name "rastfontsuppl" obj_suppl "envcompsuppl" obj_ident "eng_base.uniquesuppl" obj_param { env "env" child_suppl "rastfontsupplraw" } } } { ident "kit_base.obj" param { name "fonttexsupplraw" obj_suppl "envcompsuppl" obj_ident "eng_font_std.texsuppl" obj_param { env "env" } } } { ident "kit_base.obj" param { name "fonttexsuppl" obj_suppl "envcompsuppl" obj_ident "eng_base.uniquesuppl" obj_param { env "env" child_suppl "fonttexsupplraw" } } } // Vector fonts and font models: { ident "kit_base.obj" param { name "vecfontsupplraw" obj_suppl "envcompsuppl" obj_ident "eng_font_std.vecfontsuppl" obj_param { env "env" } } } { ident "kit_base.obj" param { name "vecfontsuppl" obj_suppl "envcompsuppl" obj_ident "eng_base.uniquesuppl" obj_param { env "env" child_suppl "vecfontsupplraw" } } } { ident "kit_base.obj" param { name "fontmodelsupplraw" obj_suppl "envcompsuppl" obj_ident "eng_font_std.modelsuppl" obj_param { env "env" font_suppl "vecfontsuppl" } } } { ident "kit_base.obj" param { name "fontmodelsuppl" obj_suppl "envcompsuppl" obj_ident "eng_base.uniquesuppl" obj_param { env "env" child_suppl "fontmodelsupplraw" } } } // Shader suppl: { ident "kit_base.obj" param { name "gfxbatchmgr" obj_suppl "envcompsuppl" obj_ident "eng_base.gfxbatchmgr" obj_param { env "env" } } } { ident "kit_base.obj" param { name "gfxprogmgr" obj_suppl "envcompsuppl" obj_ident "eng_base.gfxprogmgr" obj_param { env "env" } } } { ident "kit_base.obj" param { name "texpool" obj_suppl "envcompsuppl" obj_ident "eng_base.texpool" obj_param { env "env" } } } { ident "kit_engbase.shaderenv" param { name "shaderenv" childshadersuppl "envcompsuppl" bitmapparser "bitmapparser" gensuppl "basesuppl" texpool "texpool" gfxprogmgr "gfxprogmgr" gfxbatchmgr "gfxbatchmgr" extcfg_actor "cfg" extcfg_entry_economise "view.economise" extcfg_entry_reduce "view.reduce" } } { ident "kit_base.obj" param { name "shadersupplraw" obj_suppl "envcompsuppl" obj_ident "eng_base.shadersuppl" obj_param { shaderenv "shaderenv" given_array { item "shaderenv" given_ident "shaderenv" } } } } { ident "kit_base.obj" param { name "shadersuppl" obj_suppl "envcompsuppl" obj_ident "eng_base.uniquesuppl" obj_param { env "env" child_suppl "shadersupplraw" } } } // Wave suppl: { // Actor managing a wave file parser. ident "kit_base.extobj" param { name "waveparser" // Get parameters from the actor "cfg", which is defined above. obj_suppl "envcompsuppl" extcfg_actor "cfg" // Get the parameters from the "waveparser" entry. extcfg_entry_ident "waveparser.ident" extcfg_entry_param "waveparser.param" given_array { item "env" given_ident "env" } } } { ident "kit_base.obj" param { name "stdwavesupplraw" obj_suppl "envcompsuppl" obj_ident "eng_wave_std.wavesuppl" obj_param { env "env" waveparser "waveparser" } } } { ident "kit_base.obj" param { name "stdwavesuppl" obj_suppl "envcompsuppl" obj_ident "eng_base.uniquesuppl" obj_param { env "env" child_suppl "stdwavesupplraw" } } } // Main suppl: { ident "kit_base.obj" param { name "rawsuppl" obj_suppl "envcompsuppl" obj_ident "eng_base.prefixsuppl" obj_param { env "env" entry_array { prefix "direct:" new_suppl "envcompsuppl" new_ident "" new_append 1 // Main component suppl: } { prefix "clock:" new_suppl "envcompsuppl" new_ident "eng_base.clock" new_append 0 } { prefix "state:" new_suppl "envcompsuppl" new_ident "eng_base.state" new_append 0 } { prefix "group:" new_suppl "envcompsuppl" new_ident "eng_base.group" new_append 0 } { prefix "simplepos:" new_suppl "envcompsuppl" new_ident "eng_base.simplepos" new_append 0 } { prefix "concatpos:" new_suppl "envcompsuppl" new_ident "eng_base.concatpos" new_append 0 } { prefix "rectmodel:" new_suppl "rectmodelsuppl" new_ident "" new_append 1 } { prefix "geo:" new_suppl "geosuppl" new_ident "" new_append 1 } { prefix "tex:" new_suppl "statictexsuppl" new_ident "" new_append 1 } { prefix "cubetex:" new_suppl "cubetexsuppl" new_ident "" new_append 1 } { prefix "identtex:" new_suppl "identtexsuppl" new_ident "" new_append 1 } { prefix "statictex:" new_suppl "statictexsuppl" new_ident "" new_append 1 } { prefix "videotex:" new_suppl "videotexsuppl" new_ident "" new_append 1 } { prefix "fonttex:" new_suppl "fonttexsuppl" new_ident "" new_append 1 } { prefix "fontmodel:" new_suppl "fontmodelsuppl" new_ident "" new_append 1 } { prefix "wave:" new_suppl "stdwavesuppl" new_ident "" new_append 1 } { prefix "speaker:" new_suppl "envcompsuppl" new_ident "eng_base.speaker" new_append 0 } { prefix "rastfont:" new_suppl "rastfontsuppl" new_ident "" new_append 1 } { prefix "vecfont:" new_suppl "vecfontsuppl" new_ident "" new_append 1 } { prefix "actulin:" new_suppl "envcompsuppl" new_ident "eng_base.actulin" new_append 0 } { prefix "actucyc:" new_suppl "envcompsuppl" new_ident "eng_base.actucyc" new_append 0 } { prefix "visibpvs:" new_suppl "visibpvssuppl" new_ident "" new_append 1 } { prefix "sim:" new_suppl "envcompsuppl" new_ident "eng_phys_std.sim" new_append 0 } { prefix "noise:" new_suppl "envcompsuppl" new_ident "eng_base.noise" new_append 0 } { prefix "boneanim:" new_suppl "boneanimsuppl" new_ident "" new_append 1 } { prefix "bonemotion:" new_suppl "bonemotionsuppl" new_ident "" new_append 1 } // Standard suppls: { prefix "stdmodel:" new_suppl "stdmodelsuppl" new_ident "" new_append 1 } { prefix "stdgeo:" new_suppl "geosuppl" new_ident "" new_append 1 } { prefix "stdtex:" new_suppl "statictexsuppl" new_ident "" new_append 1 } { prefix "stdshader:" new_suppl "shadersuppl" new_ident "" new_append 1 } { prefix "stdsimplepos:" new_suppl "envcompsuppl" new_ident "eng_base.simplepos" new_append 0 } { prefix "stdconcatpos:" new_suppl "envcompsuppl" new_ident "eng_base.concatpos" new_append 0 } { prefix "stdpath:" new_suppl "pathsuppl" new_ident "" new_append 1 } { prefix "stdskin:" new_suppl "envcompsuppl" new_ident "eng_pos_std.combine" new_append 0 } { prefix "stdskel:" new_suppl "envcompsuppl" new_ident "eng_pos_std.boneskel" new_append 0 } { prefix "stdbonesel:" new_suppl "envcompsuppl" new_ident "eng_pos_std.pick" new_append 0 } { prefix "stdgear:" new_suppl "envcompsuppl" new_ident "eng_phys_std.gear" new_append 0 } { prefix "stdbody:" new_suppl "envcompsuppl" new_ident "eng_phys_std.body" new_append 0 } { prefix "stdfixed:" new_suppl "envcompsuppl" new_ident "eng_phys_std.fixed" new_append 0 } { prefix "stddisjunct:" new_suppl "envcompsuppl" new_ident "eng_phys_std.disjunct" new_append 0 } { prefix "stdconstrstand:" new_suppl "envcompsuppl" new_ident "eng_phys_std.constrstand" new_append 0 } { prefix "stdconstrball:" new_suppl "envcompsuppl" new_ident "eng_phys_std.constrball" new_append 0 } { prefix "stdconstrhinge:" new_suppl "envcompsuppl" new_ident "eng_phys_std.constrhinge" new_append 0 } { prefix "stdconstrhingetwo:" new_suppl "envcompsuppl" new_ident "eng_phys_std.constrhingetwo" new_append 0 } { prefix "stdconstrslider:" new_suppl "envcompsuppl" new_ident "eng_phys_std.constrslider" new_append 0 } { prefix "stdconstrattach:" new_suppl "envcompsuppl" new_ident "eng_phys_std.constrattach" new_append 0 } { prefix "stdinst:" new_suppl "envcompsuppl" new_ident "eng_base.inst" new_append 0 } { prefix "stdsensorstate:" new_suppl "envcompsuppl" new_ident "eng_sensor_std.sensorstate" new_append 0 } { prefix "stdsensor:" new_suppl "envcompsuppl" new_ident "eng_sensor_std.sensorvol" new_append 0 } } } } }