1 | ///////////////////////////////////////////////////////////////////////////////
|
---|
2 | //
|
---|
3 | // ## ######
|
---|
4 | // ###### ###
|
---|
5 | // ## ############### Shark 3D Engine (www.shark3d.com)
|
---|
6 | // ########## # # #
|
---|
7 | // ######## Copyright (c) 1996-2007 Spinor GmbH.
|
---|
8 | // ######### # # # All rights reserved.
|
---|
9 | // ## ##########
|
---|
10 | // ##
|
---|
11 | //
|
---|
12 | ///////////////////////////////////////////////////////////////////////////////
|
---|
13 |
|
---|
14 | modules
|
---|
15 | {
|
---|
16 | name "drv_stdres"
|
---|
17 | path "shark3d_drv_stdres.dll"
|
---|
18 | }
|
---|
19 | {
|
---|
20 | name "gui_stdilk"
|
---|
21 | path "shark3d_gui_stdilk.dll"
|
---|
22 | }
|
---|
23 | {
|
---|
24 | name "gui_stdnode"
|
---|
25 | path "shark3d_gui_stdnode.dll"
|
---|
26 | }
|
---|
27 | {
|
---|
28 | name "gui_stdedit"
|
---|
29 | path "shark3d_gui_stdedit.dll"
|
---|
30 | }
|
---|
31 | {
|
---|
32 | name "gui_stdprop"
|
---|
33 | path "shark3d_gui_stdprop.dll"
|
---|
34 | }
|
---|
35 | {
|
---|
36 | name "gui_actor"
|
---|
37 | path "shark3d_gui_actor.dll"
|
---|
38 | }
|
---|
39 |
|
---|
40 | msg_eval
|
---|
41 | {
|
---|
42 | msg_output_target_note "editor"
|
---|
43 | msg_output_target_error "editor"
|
---|
44 | }
|
---|
45 |
|
---|
46 | resmgr
|
---|
47 | {
|
---|
48 | ident "drv_stdres.resmgr_dispatch"
|
---|
49 | param
|
---|
50 | {
|
---|
51 | env "env"
|
---|
52 | log_enabled 0
|
---|
53 | entry_array
|
---|
54 | {
|
---|
55 | prefix ""
|
---|
56 | ident "drv_stdres.resmgr_file"
|
---|
57 | param
|
---|
58 | {
|
---|
59 | env "env"
|
---|
60 | // Prefix added to the resource name for infos and errors:
|
---|
61 | name_prefix ""
|
---|
62 | // Location to load the files from:
|
---|
63 | ref_dir "[homedir]"
|
---|
64 | // Convertor for the ref_dir, for replacing placeholders.
|
---|
65 | ref_dir_conv "path_conv"
|
---|
66 | // Don't allow resource names to start with ".." or "/":
|
---|
67 | allow_any_path 0
|
---|
68 | // Case sensitive file name on Win32 platform.
|
---|
69 | // Should be enabled to avoid problems
|
---|
70 | // with non-Win32 platforms, packfiles or DRU.
|
---|
71 | non_strict_path 1
|
---|
72 | resinfo_uses_path 1
|
---|
73 | // Cache size not too large to avoid stuttering:
|
---|
74 | file_cache_size 4096
|
---|
75 | // Log all file accesses:
|
---|
76 | log_enabled 1
|
---|
77 | }
|
---|
78 | }
|
---|
79 | {
|
---|
80 | prefix "images:"
|
---|
81 | ident "drv_stdres.resmgr_file"
|
---|
82 | param
|
---|
83 | {
|
---|
84 | env "env"
|
---|
85 | // Prefix added to the resource name for infos and errors:
|
---|
86 | name_prefix ""
|
---|
87 | // Location to load the files from:
|
---|
88 | ref_dir "[appdir]shark3d/external/"
|
---|
89 | // Convertor for the ref_dir, for replacing placeholders.
|
---|
90 | ref_dir_conv "path_conv"
|
---|
91 | // Don't allow resource names to start with ".." or "/":
|
---|
92 | allow_any_path 0
|
---|
93 | // Case sensitive file name on Win32 platform.
|
---|
94 | // Should be enabled to avoid problems
|
---|
95 | // with non-Win32 platforms, packfiles or DRU.
|
---|
96 | non_strict_path 1
|
---|
97 | resinfo_uses_path 1
|
---|
98 | // Cache size not too large to avoid stuttering:
|
---|
99 | file_cache_size 4096
|
---|
100 | // Log all file accesses:
|
---|
101 | log_enabled 1
|
---|
102 | }
|
---|
103 | }
|
---|
104 | {
|
---|
105 | prefix "help:"
|
---|
106 | ident "drv_stdres.resmgr_file"
|
---|
107 | param
|
---|
108 | {
|
---|
109 | env "env"
|
---|
110 | // Prefix added to the resource name for infos and errors:
|
---|
111 | name_prefix ""
|
---|
112 | // Location to load the files from:
|
---|
113 | ref_dir "[appdir]shark3d/doc/"
|
---|
114 | // Convertor for the ref_dir, for replacing placeholders.
|
---|
115 | ref_dir_conv "path_conv"
|
---|
116 | // Don't allow resource names to start with ".." or "/":
|
---|
117 | allow_any_path 0
|
---|
118 | // Case sensitive file name on Win32 platform.
|
---|
119 | // Should be enabled to avoid problems
|
---|
120 | // with non-Win32 platforms, packfiles or DRU.
|
---|
121 | non_strict_path 1
|
---|
122 | resinfo_uses_path 1
|
---|
123 | // Cache size not too large to avoid stuttering:
|
---|
124 | file_cache_size 4096
|
---|
125 | // Log all file accesses:
|
---|
126 | log_enabled 1
|
---|
127 | }
|
---|
128 | }
|
---|
129 | {
|
---|
130 | prefix "cfg:"
|
---|
131 | ident "drv_stdres.resmgr_file"
|
---|
132 | param
|
---|
133 | {
|
---|
134 | env "env"
|
---|
135 | // Prefix added to the resource name for infos and errors:
|
---|
136 | name_prefix ""
|
---|
137 | // Location to load the files from:
|
---|
138 | ref_dir "[appdir]shark3d/src/gui/cfg"
|
---|
139 | // Convertor for the ref_dir, for replacing placeholders.
|
---|
140 | ref_dir_conv "path_conv"
|
---|
141 | // Don't allow resource names to start with ".." or "/":
|
---|
142 | allow_any_path 1
|
---|
143 | // Case sensitive file name on Win32 platform.
|
---|
144 | // Should be enabled to avoid problems
|
---|
145 | // with non-Win32 platforms, packfiles or DRU.
|
---|
146 | non_strict_path 1
|
---|
147 | resinfo_uses_path 1
|
---|
148 | // Cache size not too large to avoid stuttering:
|
---|
149 | file_cache_size 4096
|
---|
150 | // Log all file accesses:
|
---|
151 | log_enabled 1
|
---|
152 | }
|
---|
153 | }
|
---|
154 | }
|
---|
155 | }
|
---|
156 |
|
---|
157 | res
|
---|
158 | {
|
---|
159 | str_table_name "cfg:strtable.cfg"
|
---|
160 | param_table_name "cfg:paramtable.cfg"
|
---|
161 | help_icon "images:icons/16x16/info.png"
|
---|
162 | help_start "help:index.html"
|
---|
163 | cfg_show_templ_ident "launch_templ_text"
|
---|
164 | }
|
---|
165 |
|
---|
166 | update
|
---|
167 | {
|
---|
168 | pending_delay 0.1
|
---|
169 | res_head "update."
|
---|
170 | com_buf_size 1000000 // Only needed if not using a local server
|
---|
171 | connect_addrport ""
|
---|
172 | res_targets_cfg "res_targets.cfg"
|
---|
173 | }
|
---|
174 |
|
---|
175 |
|
---|
176 | propwnd
|
---|
177 | {
|
---|
178 | prop_ident "gui_stdprop.prop_chunk"
|
---|
179 | prop_param
|
---|
180 | {
|
---|
181 | }
|
---|
182 | ilk "cfg:ilk_shader.cfg"
|
---|
183 | } |
---|