| 327 | // returns true |
| 328 | |
| 329 | bool GenerateScriptWizardInfo(tD3XProgram *prog, bool custom) { |
| 330 | #if 0 // LGT: Legacy scripting system? |
| 331 | int i; |
| 332 | |
| 333 | if (!prog) { |
| 334 | Int3(); |
| 335 | return false; |
| 336 | } |
| 337 | |
| 338 | for (i = 0; i < prog->nscripts; i++) |
| 339 | { |
| 340 | int slot; |
| 341 | slot = AddScriptToList(prog->map[i].name, prog->map[i].type, custom); |
| 342 | Script_names[slot].line = 0; |
| 343 | } |
| 344 | |
| 345 | return true; |
| 346 | #else |
| 347 | return false; |
| 348 | #endif |
| 349 | } |
| 350 | |
| 351 | // This function actually tries to go throught the script source to find script names. |
| 352 | // to find a script name we use the following algorithmn |
no test coverage detected