mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-02-01 11:59:26 +00:00
(svn r15055) -Add [NoAI]: add the AICONFIG_RANDOM and AICONFIG_BOOLEAN consts (Yexo)
This commit is contained in:
parent
04ea0b9316
commit
e6543c2776
@ -160,6 +160,8 @@ AIScanner::AIScanner()
|
||||
this->engine->AddClassBegin("AILibrary");
|
||||
this->engine->AddClassEnd();
|
||||
this->engine->AddMethod("RegisterLibrary", &AILibrary::Constructor, 2, "tx");
|
||||
this->engine->AddConst("AICONFIG_RANDOM", AICONFIG_RANDOM);
|
||||
this->engine->AddConst("AICONFIG_BOOLEAN", AICONFIG_BOOLEAN);
|
||||
|
||||
/* Mark this class as global pointer */
|
||||
this->engine->SetGlobalPointer(this);
|
||||
|
Loading…
Reference in New Issue
Block a user