|
|
@ -24,11 +24,7 @@ public:
|
|
|
|
ScriptScanner();
|
|
|
|
ScriptScanner();
|
|
|
|
virtual ~ScriptScanner();
|
|
|
|
virtual ~ScriptScanner();
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
virtual void Initialize() = 0;
|
|
|
|
* Initialize the scanner.
|
|
|
|
|
|
|
|
* @param name The name of the scanner ("AIScanner", "GSScanner", ..).
|
|
|
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
virtual void Initialize(const char *name);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
/**
|
|
|
|
* Get the engine of the main squirrel handler (it indexes all available scripts).
|
|
|
|
* Get the engine of the main squirrel handler (it indexes all available scripts).
|
|
|
@ -88,6 +84,12 @@ protected:
|
|
|
|
ScriptInfoList info_list; ///< The list of all script.
|
|
|
|
ScriptInfoList info_list; ///< The list of all script.
|
|
|
|
ScriptInfoList info_single_list; ///< The list of all unique script. The best script (highest version) is shown.
|
|
|
|
ScriptInfoList info_single_list; ///< The list of all unique script. The best script (highest version) is shown.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
|
|
|
* Initialize the scanner.
|
|
|
|
|
|
|
|
* @param name The name of the scanner ("AIScanner", "GSScanner", ..).
|
|
|
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
void Initialize(const char *name);
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
/**
|
|
|
|
* Get the script name how to store the script in memory.
|
|
|
|
* Get the script name how to store the script in memory.
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|