source: GTP/trunk/App/Demos/Geom/Shark3D/Shark3D_runtime/src/gui/cfg/proj_root.cfg @ 2236

Revision 2236, 22.6 KB checked in by gumbau, 17 years ago (diff)
Line 
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
14root_ident "gui_stdnode.node_dir"
15root_param
16{
17    file_pat_ident "file_pat"
18    icon "images:icons/16x16/folder.png"
19    ilk_ident "gui_stdilk.ilk_multi"
20    ilk_param
21    {
22        child_array
23        {
24            ident "gui_stdilk.ilk_path"
25            param
26            {
27                desc "Shark 3D instances file"
28                icon "images:icons/16x16/deb_inst.png"
29                path_pat "*.s3d_inst"
30                node_ident "gui_stdnode.node_snkfile"
31                node_param
32                {
33                    child_ident "gui_stdnode.node_listchunk"
34                    child_param
35                    {
36                        array_field_path "data.elem_array"
37                        list_ilk "cfg:ilk_inst.cfg"
38                        editor_ident "gui_stdedit.edit_propchunk"
39                        editor_param
40                        {
41                            child_ident "gui_stdprop.prop_chunk"
42                            child_param
43                            {
44                            }
45                        }
46                    }
47                }
48            }
49        }
50        {
51            ident "gui_stdilk.ilk_path"
52            param
53            {
54                desc "Shark 3D models file"
55                icon "images:icons/16x16/deb_model.png"
56                path_pat "*.s3d_model"
57                node_ident "gui_stdnode.node_file"
58                node_param
59                {
60                }
61            }
62        }
63        {
64            ident "gui_stdilk.ilk_path"
65            param
66            {
67                desc "Shark 3D position animations file"
68                icon "images:icons/16x16/deb_path.png"
69                path_pat "*.s3d_pospath"
70                node_ident "gui_stdnode.node_file"
71                node_param
72                {
73                }
74            }
75        }
76        {
77            ident "gui_stdilk.ilk_path"
78            param
79            {
80                desc "Shark 3D bone animation file"
81                icon "images:icons/16x16/deb_path.png"
82                path_pat "*.s3d_bonepath"
83                node_ident "gui_stdnode.node_file"
84                node_param
85                {
86                }
87            }
88        }
89        {
90            ident "gui_stdilk.ilk_snk"
91            param
92            {
93                desc "Bone animation file"
94                icon "images:icons/16x16/source_o.png"
95                path_pat "*.s3d_boneanim"
96                cond_array
97                new_default_name "new_boneanim.s3d_boneanim"
98                new_format "ascii"
99                new_chunk
100                {
101                    mask_array
102                    ref_path "mydir/mybonepath.s3d_bonepath"
103                    anim_path "mydir/mybonepath.s3d_bonepath"
104                    do_transl 0
105                    do_quat 1
106                    compress 1
107                    identity_eps_transl 0.00001
108                    identity_eps_quat 0.000001
109                }
110                node_ident "gui_stdnode.node_editfile"
111                node_param
112                {
113                    editor_ident "gui_stdedit.edit_snkfile"
114                    editor_param
115                    {
116                        ilk "cfg:ilk_boneanim.cfg"
117                        child_ident "gui_stdprop.prop_chunk"
118                        child_param
119                        {
120                        }
121                    }
122                }
123            }
124        }
125        {
126            ident "gui_stdilk.ilk_snk"
127            param
128            {
129                desc "Bone motion file"
130                icon "images:icons/16x16/actu.png"
131                path_pat "*.s3d_bonemotion"
132                cond_array
133                {
134                    field_path "entry_array"
135                    chunk_cnt 1
136                }
137                {
138                    field_path "group_array"
139                    chunk_cnt 1
140                }
141                new_default_name "new_bonemotion.s3d_bonemotion"
142                new_format "ascii"
143                new_chunk
144                {
145                    entry_array
146                    {
147                        anim_ident "boneanim:mydir/myboneanim.s3d_boneanim_run"
148                        anim_param
149                        {
150                        }
151                    }
152                    group_array
153                    {
154                        fade_idx -1
155                        chan_array
156                        {
157                            base 0
158                            switch_idx -1
159                            fade_idx -1
160                            anim_idx 0
161                        }
162                    }
163                }
164                node_ident "gui_stdnode.node_editfile"
165                node_param
166                {
167                    editor_ident "gui_stdedit.edit_snkfile"
168                    editor_param
169                    {
170                        ilk "cfg:ilk_bonemotion.cfg"
171                        child_ident "gui_stdprop.prop_chunk"
172                        child_param
173                        {
174                        }
175                    }
176                }
177            }
178        }
179        {
180            ident "gui_stdilk.ilk_snk"
181            param
182            {
183                desc "Actor list file"
184                icon "images:icons/16x16/source_o.png"
185                path_pat "*.s3d_actor"
186                cond_array
187                {
188                    field_path "actor_ident"
189                    str_cond_pat "kit_base.group"
190                }
191                new_default_name "new_actor_list.s3d_actor"
192                new_format "ascii"
193                new_chunk
194                {
195                    actor_ident "kit_base.group"
196                    actor_param
197                    {
198                        active 1
199                        child_array
200                    }
201                }
202                node_ident "gui_stdnode.node_snkfile"
203                node_param
204                {
205                    child_ident "gui_stdnode.node_listchunk"
206                    child_param
207                    {
208                        array_field_path "actor_param.child_array"
209                        list_ilk "cfg:ilk_actor.cfg"
210                        editor_ident "gui_stdedit.edit_propchunk"
211                        editor_param
212                        {
213                            child_ident "gui_stdprop.prop_chunk"
214                            child_param
215                            {
216                            }
217                        }
218                        editor_ilk_ident "gui_stdilk.ilk_snk"
219                        editor_ilk_param
220                        {
221                            cond_array
222                            prop_ident "gui_stdprop.prop_multi"
223                            prop_param
224                            {
225                                child_array
226                                {
227                                    ident "gui_stdprop.prop_bool"
228                                    param
229                                    {
230                                        help "help:html/src/kit/base/"
231                                            & "kit_base_capsule.cpp.html"
232                                            & "#kit_base.capsule.active"
233                                        label "Active: "
234                                        field_path "actor_param.active"
235                                        default 0
236                                        req 1
237                                    }
238                                }
239                            }
240                        }
241                    }
242                }
243            }
244        }
245        {
246            ident "gui_stdilk.ilk_snk"
247            param
248            {
249                desc "Actor scope file"
250                icon "images:icons/16x16/source_o.png"
251                path_pat "*.s3d_actor"
252                cond_array
253                {
254                    field_path "actor_ident"
255                    str_cond_pat "kit_base.capsule"
256                }
257                {
258                    field_path "actor_param.child_ident"
259                    str_cond_pat "kit_base.group"
260                }
261                new_default_name "new_scoped_actor_list.s3d_actor"
262                new_format "ascii"
263                new_chunk
264                {
265                    actor_ident "kit_base.capsule"
266                    actor_param
267                    {
268                        active 1
269                        scope "dummy"
270                        local_name "capsule"
271                        deleg_target "dispatch_export"
272                        child_ident "kit_base.group"
273                        child_param
274                        {
275                            active 1
276                            child_array
277                        }
278                    }
279                }
280                node_ident "gui_stdnode.node_snkfile"
281                node_param
282                {
283                    child_ident "gui_stdnode.node_listchunk"
284                    child_param
285                    {
286                        array_field_path "actor_param.child_param.child_array"
287                        list_ilk "cfg:ilk_actor.cfg"
288                        editor_ident "gui_stdedit.edit_propchunk"
289                        editor_param
290                        {
291                            child_ident "gui_stdprop.prop_chunk"
292                            child_param
293                            {
294                            }
295                        }
296                        editor_ilk_ident "gui_stdilk.ilk_snk"
297                        editor_ilk_param
298                        {
299                            cond_array
300                            prop_ident "gui_stdprop.prop_multi"
301                            prop_param
302                            {
303                                child_array
304                                {
305                                    ident "gui_stdprop.prop_str"
306                                    param
307                                    {
308                                        help "help:html/src/kit/base/"
309                                            & "kit_base_capsule.cpp.html"
310                                            & "#kit_base.capsule"
311                                            & ".scope"
312                                        label "Scope: "
313                                        field_path "param.scope"
314                                    }
315                                }
316                                {
317                                    ident "gui_stdprop.prop_str"
318                                    param
319                                    {
320                                        help "help:html/src/kit/base/"
321                                            & "kit_base_capsule.cpp.html"
322                                            & "#kit_base.capsule"
323                                            & ".local_name"
324                                        label "Local name: "
325                                        field_path "param.local_name"
326                                    }
327                                }
328                                {
329                                    ident "gui_stdprop.prop_str"
330                                    param
331                                    {
332                                        help "help:html/src/kit/base/"
333                                            & "kit_base_capsule.cpp.html"
334                                            & "#kit_base.capsule"
335                                            & ".local_deleg_name"
336                                        label "Local delegate name: "
337                                        field_path "param.local_deleg_name"
338                                    }
339                                }
340                                {
341                                    ident "gui_stdprop.prop_str"
342                                    param
343                                    {
344                                        help "help:html/src/kit/base/"
345                                            & "kit_base_capsule.cpp.html"
346                                            & "#kit_base.capsule"
347                                            & ".deleg_target"
348                                        label "Delegation target: "
349                                        field_path "param.deleg_target"
350                                    }
351                                }
352                                {
353                                    ident "gui_stdprop.prop_bool"
354                                    param
355                                    {
356                                        help "help:html/src/kit/base/"
357                                            & "kit_base_capsule.cpp.html"
358                                            & "#kit_base.capsule"
359                                            & ".active"
360                                        label "Active: "
361                                        field_path "actor_param.active"
362                                        default 0
363                                        req 1
364                                    }
365                                }
366                            }
367                        }
368                    }
369                }
370            }
371        }
372        {
373            ident "gui_stdilk.ilk_path"
374            param
375            {
376                desc "Actor text file"
377                icon "images:icons/16x16/source_o.png"
378                path_pat "*.s3d_actor"
379                node_ident "gui_stdnode.node_editfile"
380                node_param
381                {
382                    launch_templ_ident "launch_templ_text"
383                    editor_ident "gui_stdedit.edit_textfile"
384                    editor_param
385                    {
386                    }
387                }
388            }
389        }
390        {
391            ident "gui_stdilk.ilk_snk"
392            param
393            {
394                desc "Shader list file"
395                icon "images:icons/16x16/xpaint.png"
396                path_pat "*.s3d_shader"
397                cond_array
398                new_default_name "new_shader_list.s3d_shader"
399                new_format "ascii"
400                new_chunk
401                {
402                    shader_array
403                }
404                node_ident "gui_stdnode.node_snkfile"
405                node_param
406                {
407                    child_ident "gui_stdnode.node_listchunk"
408                    child_param
409                    {
410                        array_field_path "shader_array"
411                        list_ilk "cfg:ilk_shader.cfg"
412                        editor_ident "gui_stdedit.edit_propchunk"
413                        editor_param
414                        {
415                            child_ident "gui_stdprop.prop_chunk"
416                            child_param
417                            {
418                            }
419                        }
420                    }
421                }
422            }
423        }
424        {
425            ident "gui_stdilk.ilk_path"
426            param
427            {
428                desc "Perch source file"
429                icon "images:icons/16x16/source_moc.png"
430                path_pat "*.s3d_perch"
431                new_default_name "new_perch_source.s3d_perch"
432                new_file "cfg:empty_file.cfg"
433                node_ident "gui_stdnode.node_editfile"
434                node_param
435                {
436                    launch_templ_ident "launch_templ_text"
437                    editor_ident "gui_stdedit.edit_textfile"
438                    editor_param
439                    {
440                    }
441                }
442            }
443        }
444        {
445            ident "gui_stdilk.ilk_path"
446            param
447            {
448                desc "Shader program file"
449                icon "images:icons/16x16/txt.png"
450                path_pat "*.s3d_shaderprog"
451                node_ident "gui_stdnode.node_editfile"
452                node_param
453                {
454                    launch_templ_ident "launch_templ_text"
455                    editor_ident "gui_stdedit.edit_textfile"
456                    editor_param
457                    {
458                    }
459                }
460            }
461        }
462        {
463            ident "gui_stdilk.ilk_path"
464            param
465            {
466                desc "Shader program file"
467                icon "images:icons/16x16/txt.png"
468                path_pat "*.s3d_shadercode"
469                node_ident "gui_stdnode.node_editfile"
470                node_param
471                {
472                    launch_templ_ident "launch_templ_text"
473                    editor_ident "gui_stdedit.edit_textfile"
474                    editor_param
475                    {
476                    }
477                }
478            }
479        }
480        {
481            ident "gui_stdilk.ilk_path"
482            param
483            {
484                desc "Internal text editor file"
485                icon "images:icons/16x16/txt.png"
486                allow_edit_as 1
487                path_pat ""
488                node_ident "gui_stdnode.node_editfile"
489                node_param
490                {
491                    launch_templ_ident ""
492                    editor_ident "gui_stdedit.edit_textfile"
493                    editor_param
494                    {
495                    }
496                }
497            }
498        }
499        {
500            ident "gui_stdilk.ilk_path"
501            param
502            {
503                desc "Text file"
504                icon "images:icons/16x16/txt.png"
505                allow_edit_as 1
506                path_pat "*.txt"
507                node_ident "gui_stdnode.node_editfile"
508                node_param
509                {
510                    launch_templ_ident "launch_templ_text"
511                    editor_ident "gui_stdedit.edit_textfile"
512                    editor_param
513                    {
514                    }
515                }
516            }
517        }
518        {
519            ident "gui_stdilk.ilk_path"
520            param
521            {
522                desc "Java source file"
523                icon "images:icons/16x16/source_java.png"
524                path_pat "*.java"
525                new_default_name "new_java_source.java"
526                new_file "cfg:empty_file.cfg"
527                node_ident "gui_stdnode.node_editfile"
528                node_param
529                {
530                    launch_templ_ident "launch_templ_text"
531                    editor_ident "gui_stdedit.edit_textfile"
532                    editor_param
533                    {
534                    }
535                }
536            }
537        }
538        {
539            ident "gui_stdilk.ilk_path"
540            param
541            {
542                desc "Video file"
543                icon "images:icons/16x16/video2.png"
544                path_pat "*.avi|*.mpg"
545                node_ident "gui_stdnode.node_editfile"
546                node_param
547                {
548                    launch_templ_ident "launch_templ_shell"
549                }
550            }
551        }
552        {
553            ident "gui_stdilk.ilk_path"
554            param
555            {
556                desc "Bitmap file"
557                icon "images:icons/16x16/image.png"
558                path_pat "*.tga|*.bmp|*.png|*.jpg|*.dds"
559                node_ident "gui_stdnode.node_editfile"
560                node_param
561                {
562                    launch_templ_ident "launch_templ_shell"
563                }
564            }
565        }
566        {
567            ident "gui_stdilk.ilk_path"
568            param
569            {
570                desc "Sound file"
571                icon "images:icons/16x16/sound.png"
572                path_pat "*.wav|*.ogg"
573                node_ident "gui_stdnode.node_editfile"
574                node_param
575                {
576                    launch_templ_ident "launch_templ_shell"
577                }
578            }
579        }
580        {
581            ident "gui_stdilk.ilk_path"
582            param
583            {
584                desc "Font file"
585                icon "images:icons/16x16/font_truetype.png"
586                path_pat "*.ttf"
587                node_ident "gui_stdnode.node_editfile"
588                node_param
589                {
590                    launch_templ_ident "launch_templ_shell"
591                }
592            }
593        }
594        {
595            ident "gui_stdilk.ilk_path"
596            param
597            {
598                desc "3ds max file"
599                icon "images:icons/16x16/document.png"
600                path_pat "*.max"
601                node_ident "gui_stdnode.node_editfile"
602                node_param
603                {
604                    launch_templ_ident "launch_templ_shell"
605                }
606            }
607        }
608        {
609            ident "gui_stdilk.ilk_path"
610            param
611            {
612                desc "Maya file"
613                icon "images:icons/16x16/document.png"
614                path_pat "*.ma|*.mb"
615                node_ident "gui_stdnode.node_editfile"
616                node_param
617                {
618                    launch_templ_ident "launch_templ_shell"
619                }
620            }
621        }
622        {
623            ident "gui_stdilk.ilk_path"
624            param
625            {
626                desc "Configuration file"
627                icon "images:icons/16x16/txt.png"
628                path_pat "*.cfg"
629                node_ident "gui_stdnode.node_editfile"
630                node_param
631                {
632                    launch_templ_ident "launch_templ_text"
633                    editor_ident "gui_stdedit.edit_textfile"
634                    editor_param
635                    {
636                    }
637                }
638            }
639        }
640        {
641            ident "gui_stdilk.ilk_path"
642            param
643            {
644                desc "Video file"
645                icon "images:icons/16x16/help.png"
646                path_pat "*"
647                node_ident "gui_stdnode.node_editfile"
648                node_param
649                {
650                    launch_templ_ident "launch_templ_shell"
651                }
652            }
653        }
654    }
655}
Note: See TracBrowser for help on using the repository browser.