Public Member Functions | |
void | Initialize () |
class AILibrary * | FindLibrary (const char *library, int version) |
Find a library in the pool. | |
Protected Member Functions | |
void | GetScriptName (ScriptInfo *info, char *name, int len) |
Get the script name how to store the script in memory. | |
const char * | GetFileName () const |
Get the filename to scan for this type of script. | |
Subdirectory | GetDirectory () const |
Get the directory to scan in. | |
const char * | GetScannerName () const |
Get the type of the script, in plural. | |
void | RegisterAPI (class Squirrel *engine) |
Register the API for this ScriptInfo. |
Definition at line 55 of file ai_scanner.hpp.
AILibrary * AIScannerLibrary::FindLibrary | ( | const char * | library, | |
int | version | |||
) |
Find a library in the pool.
library | The library name to find. | |
version | The version the library should have. |
Definition at line 157 of file ai_scanner.cpp.
References ScriptScanner::info_list, and strtolower().
Referenced by AI::FindLibrary().