(svn r23352) -Add: support dynamically adding an API prefix when returning a C++ class to Squirrel

This commit is contained in:
truebrain
2011-11-29 22:24:30 +00:00
parent 96249564fd
commit 00877dd6d3
53 changed files with 123 additions and 101 deletions

View File

@@ -112,7 +112,7 @@ AIInstance::AIInstance() :
callback(NULL)
{
this->storage = new AIStorage();
this->engine = new Squirrel();
this->engine = new Squirrel("AI");
this->engine->SetPrintFunction(&PrintFunc);
}