Public Member Functions | |
| class Squirrel * | GetEngine () |
| Get the engine of the main squirrel handler (it indexes all available scripts). | |
| const char * | GetMainScript () |
| Get the current main script the ScanDir is currently tracking. | |
| void | ScanScriptDir (const char *info_file_name, Subdirectory search_dir) |
| Rescan for scripts. | |
Protected Attributes | |
| class Squirrel * | engine |
| char | main_script [1024] |
Private Member Functions | |
| void | ScanDir (const char *dirname, const char *info_file_name) |
| Scan a dir for scripts. | |
Definition at line 17 of file script_scanner.hpp.
| void ScriptScanner::ScanScriptDir | ( | const char * | info_file_name, | |
| Subdirectory | search_dir | |||
| ) |
Rescan for scripts.
| info_file_name | The name of the 'info.nut' file. | |
| search_dir | The subdirecotry to search for scripts. |
Definition at line 84 of file script_scanner.cpp.
References FOR_ALL_SEARCHPATHS, and ScanDir().
Referenced by AIScanner::RescanAIDir().
1.7.1