/////////////////////////////////////////////////////////////////////////////// // // ## ###### // ###### ### // ## ############### Shark 3D Engine (www.shark3d.com) // ########## # # # // ######## Copyright (c) 1996-2006 Spinor GmbH. // ######### # # # All rights reserved. // ## ########## // ## // /////////////////////////////////////////////////////////////////////////////// // Client-side display. // The display is a 3D state completely managed on client side // to display informations like health points or the inventory. // The client root actor is a capsule, defining an own local namespace. actor_ident "kit_base.capsule" actor_param { // Delegate the action calls to all children: active 1 // Scope name for reporting errors. scope "display" // Name of the capsule actor within its own namespace. // Actors within the capsule can access the capsule // actor itself by this name. local_name "capsule" // Delegate events from outside to. deleg_target "dispatch_export" // The capsule actor encapsulates a group of actors: child_ident "kit_base.group" child_param { // Delegate action calls to the children. active 1 child_array { // Central command dispatch actor. // This dispatcher is used internally within the client. ident "kit_base.dispatch" param { name "dispatch_export" entry_array { cmds "get_gfxmgr" targets "gfxmgr" newcmd "get_obj" } { cmds "get_sndmgr" targets "sndmgr" newcmd "get_obj" } { cmds "get_state" targets "state" newcmd "get_obj" } { cmds "enable_notice_loading" targets "loading_pos" newcmd "enable_pos" } { cmds "disable_notice_loading" targets "loading_pos" newcmd "disable_pos" } { cmds "notice_saving_enable" targets "saving_pos" newcmd "enable_pos" } { cmds "notice_saving_disable" targets "saving_pos" newcmd "disable_pos" } } } { ident "kit_base.deleg" param { name "" deleg_name "env" deleg_target "^^env" allow_no_target 0 enabled 1 } } { ident "kit_base.deleg" param { name "" deleg_name "perchmgr" deleg_target "^perchmgr" allow_no_target 0 enabled 1 } } { ident "kit_engbase.gfxmgr" param { name "gfxmgr" ident "eng_base.gfxmgr" } } { ident "kit_base.obj" param { name "gfxsuppl" obj_suppl "^^envcompsuppl" obj_ident "eng_base.gfxsuppl" obj_param { env "^^env" child_suppl "^^basesuppl" } } } { ident "kit_engbase.gfxassign" param { obj "gfxsuppl" gfxmgr "gfxmgr" } } { ident "kit_engbase.sndmgr" param { name "sndmgr" ident "eng_base.sndmgr" } } { ident "kit_base.obj" param { name "stdsuppl" obj_suppl "^^envcompsuppl" obj_ident "eng_base.sndsuppl" obj_param { env "^^env" child_suppl "gfxsuppl" } } } { ident "kit_engbase.sndassign" param { obj "stdsuppl" sndmgr "sndmgr" } } { ident "kit_engbase.clock" param { active 1 name "clock" clock_suppl "stdsuppl" clock_ident "clock:" } } { ident "kit_engbase.state" param { name "state" obj_suppl "stdsuppl" obj_ident "state:" } } { // Load the display 3d data: ident "kit_base.extern" param { // Delegate action calls to the child: name "displaystate_extern" res "client/actor/displayworld.s3d_actor_run" watch_target "displaystate_extern" watch_cmd "load_current" active 1 } } } }