Rev | Line | |
---|
[2269] | 1 | ///////////////////////////////////////////////////////////////////////////////
|
---|
| 2 | //
|
---|
| 3 | // ## ######
|
---|
| 4 | // ###### ###
|
---|
| 5 | // ## ############### Shark 3D Engine (www.shark3d.com)
|
---|
| 6 | // ########## # # #
|
---|
| 7 | // ######## Copyright (c) 1996-2006 Spinor GmbH.
|
---|
| 8 | // ######### # # # All rights reserved.
|
---|
| 9 | // ## ##########
|
---|
| 10 | // ##
|
---|
| 11 | //
|
---|
| 12 | ///////////////////////////////////////////////////////////////////////////////
|
---|
| 13 |
|
---|
| 14 | // Client-side display 3d objects.
|
---|
| 15 |
|
---|
| 16 | // Group actor:
|
---|
| 17 | actor_ident "kit_base.group"
|
---|
| 18 | actor_param
|
---|
| 19 | {
|
---|
| 20 | // Delegate action calls to the children.
|
---|
| 21 | active 1
|
---|
| 22 | child_array
|
---|
| 23 | {
|
---|
| 24 | ident "kit_engobj.group"
|
---|
| 25 | param
|
---|
| 26 | {
|
---|
| 27 | name "group_display"
|
---|
| 28 | group_suppl "stdsuppl"
|
---|
| 29 | group_ident "group:"
|
---|
| 30 | group_param
|
---|
| 31 | {
|
---|
| 32 | env "env"
|
---|
| 33 | gensuppl "stdsuppl"
|
---|
| 34 | res "client/model/displaymodel.s3d_inst_run"
|
---|
| 35 | given_array
|
---|
| 36 | {
|
---|
| 37 | item "env"
|
---|
| 38 | given_ident "env"
|
---|
| 39 | }
|
---|
| 40 | {
|
---|
| 41 | item "stdsuppl"
|
---|
| 42 | given_ident "gensuppl"
|
---|
| 43 | }
|
---|
| 44 | {
|
---|
| 45 | item ""
|
---|
| 46 | given_ident "hook"
|
---|
| 47 | }
|
---|
| 48 | {
|
---|
| 49 | item "display_state"
|
---|
| 50 | given_ident "state"
|
---|
| 51 | }
|
---|
| 52 | {
|
---|
| 53 | item ""
|
---|
| 54 | given_ident "sim"
|
---|
| 55 | }
|
---|
| 56 | {
|
---|
| 57 | item ""
|
---|
| 58 | given_ident "sensorstate"
|
---|
| 59 | }
|
---|
| 60 | }
|
---|
| 61 | }
|
---|
| 62 | }
|
---|
| 63 | {
|
---|
| 64 | ident "kit_base.dispatch"
|
---|
| 65 | param
|
---|
| 66 | {
|
---|
| 67 | name "dispatch"
|
---|
| 68 | entry_array
|
---|
| 69 | {
|
---|
| 70 | cmds "init"
|
---|
| 71 | targets "loading_pos" "saving_pos"
|
---|
| 72 | newcmd "disable_pos"
|
---|
| 73 | }
|
---|
| 74 | }
|
---|
| 75 | }
|
---|
| 76 | // Select the loading object:
|
---|
| 77 | {
|
---|
| 78 | ident "kit_engobj.itemeye"
|
---|
| 79 | param
|
---|
| 80 | {
|
---|
| 81 | name "loading_pos"
|
---|
| 82 | item_actor "group_display"
|
---|
| 83 | item_name "path:loading"
|
---|
| 84 | }
|
---|
| 85 | }
|
---|
| 86 | {
|
---|
| 87 | ident "kit_engobj.itemeye"
|
---|
| 88 | param
|
---|
| 89 | {
|
---|
| 90 | name "saving_pos"
|
---|
| 91 | item_actor "group_display"
|
---|
| 92 | item_name "simplepos:saving"
|
---|
| 93 | }
|
---|
| 94 | }
|
---|
| 95 | {
|
---|
| 96 | ident "kit_base.oninit"
|
---|
| 97 | param
|
---|
| 98 | {
|
---|
| 99 | target "dispatch"
|
---|
| 100 | cmd "init"
|
---|
| 101 | }
|
---|
| 102 | }
|
---|
| 103 | }
|
---|
Note: See
TracBrowser
for help on using the repository browser.