(svn r23295) -Codechange: put ImportLibrary in AIController (and document the parameters for NoAI docs)

This commit is contained in:
truebrain
2011-11-23 13:39:36 +00:00
parent 492c96d214
commit d03bbdd4ac
13 changed files with 106 additions and 132 deletions

View File

@@ -24,9 +24,12 @@ public:
~AIScanner();
/**
* Import a library inside the Squirrel VM.
* Find a library by name + version.
* @param library The name of the library to find.
* @param version The prefered version of the library.
* @return The library if found, NULL otherwise.
*/
bool ImportLibrary(const char *library, const char *class_name, int version, HSQUIRRELVM vm, class AIController *controller);
AILibrary *FindLibrary(const char *library, int version);
/**
* Register a library to be put in the available list.