/////////////////////////////////////////////////////////////////////////////// // // ## ###### // ###### ### // ## ############### Shark 3D Engine (www.shark3d.com) // ########## # # # // ######## Copyright (c) 1996-2007 Spinor GmbH. // ######### # # # All rights reserved. // ## ########## // ## // /////////////////////////////////////////////////////////////////////////////// // Level manager definition. // This includes references to all available levels. actor_ident "kit_base.group" actor_param { // Delegate action calls to the children. active 1 child_array { // Actor evaluating level switch commands. ident "kit_base.dispatch" param { name "levelmgr" log 1 // To log level switches. entry_array { cmds "goto_level0" targets "goto_level" newcmd "perform" } { cmds "goto_level1" targets "goto_level" newcmd "perform" } { cmds "goto_level2" targets "goto_level" newcmd "perform" } { cmds "goto_level3" targets "goto_level" newcmd "perform" } { cmds "goto_level4" targets "goto_level" newcmd "perform" } { cmds "goto_level5" targets "goto_level" newcmd "perform" } { cmds "goto_level6" targets "goto_level" newcmd "perform" } { cmds "goto_level7" targets "goto_level" newcmd "perform" } { cmds "goto_level8" targets "goto_level" newcmd "perform" } { cmds "goto_level9" targets "goto_level" newcmd "perform" } } } { ident "kit_base.paramstr" param { name "goto_level" target "levelloader" cmd "goto" param "level/actor/main.s3d_actor_run" } } { ident "kit_snk.childif" param { extcfg_actor "setting_cfg" extcfg_entry_switch "server" then_child_ident "kit_base.oninit" then_child_param { target "levelmgr" cmd "goto_level0" } } } }