[2236] | 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 | 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 | update_period 0.01
|
---|
| 41 |
|
---|
| 42 | msg_eval
|
---|
| 43 | {
|
---|
| 44 | msg_output_target_note "editor_log"
|
---|
| 45 | msg_output_target_error "editor_error"
|
---|
| 46 | }
|
---|
| 47 |
|
---|
| 48 | resmgr
|
---|
| 49 | {
|
---|
| 50 | ident "drv_stdres.resmgr_dispatch"
|
---|
| 51 | param
|
---|
| 52 | {
|
---|
| 53 | env "env"
|
---|
| 54 | log_enabled 0
|
---|
| 55 | entry_array
|
---|
| 56 | {
|
---|
| 57 | prefix ""
|
---|
| 58 | ident "drv_stdres.resmgr_file"
|
---|
| 59 | param
|
---|
| 60 | {
|
---|
| 61 | env "env"
|
---|
| 62 | // Prefix added to the resource name for infos and errors:
|
---|
| 63 | name_prefix ""
|
---|
| 64 | // Location to load the files from:
|
---|
| 65 | ref_dir "[homedir]"
|
---|
| 66 | // Convertor for the ref_dir, for replacing placeholders.
|
---|
| 67 | ref_dir_conv "path_conv"
|
---|
| 68 | // Don't allow resource names to start with ".." or "/":
|
---|
| 69 | allow_any_path 0
|
---|
| 70 | // Case sensitive file name on Win32 platform.
|
---|
| 71 | // Should be enabled to avoid problems
|
---|
| 72 | // with non-Win32 platforms, packfiles or DRU.
|
---|
| 73 | non_strict_path 1
|
---|
| 74 | resinfo_uses_path 1
|
---|
| 75 | // Cache size not too large to avoid stuttering:
|
---|
| 76 | file_cache_size 4096
|
---|
| 77 | // Log all file accesses:
|
---|
| 78 | log_enabled 1
|
---|
| 79 | }
|
---|
| 80 | }
|
---|
| 81 | {
|
---|
| 82 | prefix "images:"
|
---|
| 83 | ident "drv_stdres.resmgr_file"
|
---|
| 84 | param
|
---|
| 85 | {
|
---|
| 86 | env "env"
|
---|
| 87 | // Prefix added to the resource name for infos and errors:
|
---|
| 88 | name_prefix ""
|
---|
| 89 | // Location to load the files from:
|
---|
| 90 | ref_dir "[appdir]../../../external/"
|
---|
| 91 | // Convertor for the ref_dir, for replacing placeholders.
|
---|
| 92 | ref_dir_conv "path_conv"
|
---|
| 93 | // Don't allow resource names to start with ".." or "/":
|
---|
| 94 | allow_any_path 0
|
---|
| 95 | // Case sensitive file name on Win32 platform.
|
---|
| 96 | // Should be enabled to avoid problems
|
---|
| 97 | // with non-Win32 platforms, packfiles or DRU.
|
---|
| 98 | non_strict_path 1
|
---|
| 99 | resinfo_uses_path 1
|
---|
| 100 | // Cache size not too large to avoid stuttering:
|
---|
| 101 | file_cache_size 4096
|
---|
| 102 | // Log all file accesses:
|
---|
| 103 | log_enabled 1
|
---|
| 104 | }
|
---|
| 105 | }
|
---|
| 106 | {
|
---|
| 107 | prefix "help:"
|
---|
| 108 | ident "drv_stdres.resmgr_file"
|
---|
| 109 | param
|
---|
| 110 | {
|
---|
| 111 | env "env"
|
---|
| 112 | // Prefix added to the resource name for infos and errors:
|
---|
| 113 | name_prefix ""
|
---|
| 114 | // Location to load the files from:
|
---|
| 115 | ref_dir "[appdir]../../../doc/"
|
---|
| 116 | // Convertor for the ref_dir, for replacing placeholders.
|
---|
| 117 | ref_dir_conv "path_conv"
|
---|
| 118 | // Don't allow resource names to start with ".." or "/":
|
---|
| 119 | allow_any_path 0
|
---|
| 120 | // Case sensitive file name on Win32 platform.
|
---|
| 121 | // Should be enabled to avoid problems
|
---|
| 122 | // with non-Win32 platforms, packfiles or DRU.
|
---|
| 123 | non_strict_path 1
|
---|
| 124 | resinfo_uses_path 1
|
---|
| 125 | // Cache size not too large to avoid stuttering:
|
---|
| 126 | file_cache_size 4096
|
---|
| 127 | // Log all file accesses:
|
---|
| 128 | log_enabled 1
|
---|
| 129 | }
|
---|
| 130 | }
|
---|
| 131 | {
|
---|
| 132 | prefix "cfg:"
|
---|
| 133 | ident "drv_stdres.resmgr_file"
|
---|
| 134 | param
|
---|
| 135 | {
|
---|
| 136 | env "env"
|
---|
| 137 | // Prefix added to the resource name for infos and errors:
|
---|
| 138 | name_prefix ""
|
---|
| 139 | // Location to load the files from:
|
---|
| 140 | ref_dir "[appdir]../../../src/gui/cfg"
|
---|
| 141 | // Convertor for the ref_dir, for replacing placeholders.
|
---|
| 142 | ref_dir_conv "path_conv"
|
---|
| 143 | // Don't allow resource names to start with ".." or "/":
|
---|
| 144 | allow_any_path 1
|
---|
| 145 | // Case sensitive file name on Win32 platform.
|
---|
| 146 | // Should be enabled to avoid problems
|
---|
| 147 | // with non-Win32 platforms, packfiles or DRU.
|
---|
| 148 | non_strict_path 1
|
---|
| 149 | resinfo_uses_path 1
|
---|
| 150 | // Cache size not too large to avoid stuttering:
|
---|
| 151 | file_cache_size 4096
|
---|
| 152 | // Log all file accesses:
|
---|
| 153 | log_enabled 1
|
---|
| 154 | }
|
---|
| 155 | }
|
---|
| 156 | }
|
---|
| 157 | }
|
---|
| 158 |
|
---|
| 159 | res
|
---|
| 160 | {
|
---|
| 161 | str_table_name "cfg:strtable.cfg"
|
---|
| 162 | param_table_name "cfg:paramtable.cfg"
|
---|
| 163 | help_icon "images:icons/16x16/helpbutton.png"
|
---|
| 164 | help_start "help:index.html"
|
---|
| 165 | cfg_show_templ_ident "launch_templ_text"
|
---|
| 166 | }
|
---|
| 167 | output
|
---|
| 168 | {
|
---|
| 169 | name_array
|
---|
| 170 | "editor_log"
|
---|
| 171 | "editor_error"
|
---|
| 172 | "tool"
|
---|
| 173 | "engine_log"
|
---|
| 174 | "engine_error"
|
---|
| 175 | label_array
|
---|
| 176 | "Editor log ([linecnt] lines)"
|
---|
| 177 | "Editor errors ([linecnt] lines)"
|
---|
| 178 | "Tools ([linecnt] lines)"
|
---|
| 179 | "Engine log ([linecnt] lines)"
|
---|
| 180 | "Current engine errors ([linecnt] lines)"
|
---|
| 181 | }
|
---|
| 182 | update
|
---|
| 183 | {
|
---|
| 184 | pending_delay 0.1
|
---|
| 185 | res_head "comres."
|
---|
| 186 | com_buf_size 1000000 // Only needed if not using a local server
|
---|
| 187 | connect_addrport "127.0.0.1:33302"
|
---|
| 188 | res_targets_cfg "res_targets.cfg"
|
---|
| 189 | }
|
---|
| 190 | tool
|
---|
| 191 | {
|
---|
| 192 | // If a line matches this pattern, it is considered as error.
|
---|
| 193 | error_pattern "*shark3d_error*"
|
---|
| 194 | run_window_name "Shark 3D"
|
---|
| 195 | output_target_run_normal "tool"
|
---|
| 196 | output_target_run_error "tool"
|
---|
| 197 | output_target_res_make_normal "tool"
|
---|
| 198 | output_target_res_make_error "tool"
|
---|
| 199 | output_target_res_clear_normal "tool"
|
---|
| 200 | output_target_res_clear_error "tool"
|
---|
| 201 |
|
---|
| 202 | app_run "win32_run.bat"
|
---|
| 203 | app_make "win32_res_make.bat"
|
---|
| 204 | app_maketarget "win32_res_maketarget.bat [target]"
|
---|
| 205 | app_clear "win32_res_clear.bat"
|
---|
| 206 | }
|
---|
| 207 | comserv
|
---|
| 208 | {
|
---|
| 209 | // As larger as faster updates of large resources:
|
---|
| 210 | com_buf_size 1000000
|
---|
| 211 | timeout 60.0
|
---|
| 212 | listen_addrport ":33302"
|
---|
| 213 | }
|
---|
| 214 | msglog
|
---|
| 215 | {
|
---|
| 216 | output_target_note "engine_log"
|
---|
| 217 | output_target_error "engine_error"
|
---|
| 218 | com_buf_size 0
|
---|
| 219 | connect_addrport "127.0.0.1:33302"
|
---|
| 220 | sic_pat "Sic:*"
|
---|
| 221 | }
|
---|
| 222 | proj
|
---|
| 223 | {
|
---|
| 224 | icon_default "images:icons/16x16/help.png"
|
---|
| 225 | root "cfg:proj_root.cfg"
|
---|
| 226 | foreign_jump_templ_ident "launch_templ_text"
|
---|
| 227 | }
|
---|
| 228 | filewatch
|
---|
| 229 | {
|
---|
| 230 | src_dir "src/res/"
|
---|
| 231 | bin_dir "bin/res/"
|
---|
| 232 | pat "!(*.$$$|*.svn|*.svn/*|*.scons|*.sconsign)"
|
---|
| 233 | } |
---|