Thu, 15 Mar 2007 10:29:43 +0000(svn r9196) [NoAI] -Fix: avoid include-magic by including needed includes directly noai
truelight [Thu, 15 Mar 2007 10:29:43 +0000] rev 9401
(svn r9196) [NoAI] -Fix: avoid include-magic by including needed includes directly

Thu, 15 Mar 2007 10:25:31 +0000(svn r9195) [NoAI] -Fix: move GetName to AIFactory template, as otherwise GetName() noai
truelight [Thu, 15 Mar 2007 10:25:31 +0000] rev 9400
(svn r9195) [NoAI] -Fix: move GetName to AIFactory template, as otherwise GetName()
is unreachable if ctors are in the wrong order (Rubidium)
-Add: added Initializer() function in AIFactoryBase which is called when
OpenTTD is set-up, so you can do things you can't do in ctor

Thu, 15 Mar 2007 09:09:45 +0000(svn r9194) [NoAI] -Fix r9193: compile before commit :( :( noai
truelight [Thu, 15 Mar 2007 09:09:45 +0000] rev 9399
(svn r9194) [NoAI] -Fix r9193: compile before commit :( :(

Thu, 15 Mar 2007 09:08:45 +0000(svn r9193) [NoAI] -Fix 9188: don't 'if (x) return false; return true;' return !x is much easier. (Rubidium) noai
truelight [Thu, 15 Mar 2007 09:08:45 +0000] rev 9398
(svn r9193) [NoAI] -Fix 9188: don't 'if (x) return false; return true;' return !x is much easier. (Rubidium)

Thu, 15 Mar 2007 00:27:28 +0000(svn r9189) [NoAI] -Cleanup: cleaned up DefSQClass a bit by using the SquirrelEngine noai
truelight [Thu, 15 Mar 2007 00:27:28 +0000] rev 9397
(svn r9189) [NoAI] -Cleanup: cleaned up DefSQClass a bit by using the SquirrelEngine
wrappers instead of doing it ourself.
-Add: added a AddMethod overload which takes userdata as extra param

Thu, 15 Mar 2007 00:27:12 +0000(svn r9188) [NoAI] -Cleanup: cleaned up DefSQClass a bit by using the SquirrelEngine noai
truelight [Thu, 15 Mar 2007 00:27:12 +0000] rev 9396
(svn r9188) [NoAI] -Cleanup: cleaned up DefSQClass a bit by using the SquirrelEngine
wrappers instead of doing it ourself.
-Add: added a AddMethod overload which takes userdata as extra param

Thu, 15 Mar 2007 00:15:52 +0000(svn r9187) [NoAI] -Change: renamed SquirrelCore to SquirrelEngine, as it is more noai
truelight [Thu, 15 Mar 2007 00:15:52 +0000] rev 9395
(svn r9187) [NoAI] -Change: renamed SquirrelCore to SquirrelEngine, as it is more
the engine then a 'core', which is pretty vague

Thu, 15 Mar 2007 00:06:53 +0000(svn r9186) [NoAI] -Documentation: forgot to document GetInstance() noai
truelight [Thu, 15 Mar 2007 00:06:53 +0000] rev 9394
(svn r9186) [NoAI] -Documentation: forgot to document GetInstance()
-Change: make GetVM deprecated (give #warning upon use, which is a few times still)

Thu, 15 Mar 2007 00:01:33 +0000(svn r9185) [NoAI] -Codechange: split up the squirrel code so we have SquirrelCore noai
truelight [Thu, 15 Mar 2007 00:01:33 +0000] rev 9393
(svn r9185) [NoAI] -Codechange: split up the squirrel code so we have SquirrelCore
and the rest. The first isn't depending of any AI code. First step in
generalizing squirrel-code.

Wed, 14 Mar 2007 23:01:30 +0000(svn r9184) [NoAI] -Revert r9183: now that was a bullshit commit noai
truelight [Wed, 14 Mar 2007 23:01:30 +0000] rev 9392
(svn r9184) [NoAI] -Revert r9183: now that was a bullshit commit
-Fix: remove instance-param as it is bullshit

Wed, 14 Mar 2007 23:00:06 +0000(svn r9183) [NoAI] -Fix: use 'instance' instead of 'this' in RegisterFactory noai
truelight [Wed, 14 Mar 2007 23:00:06 +0000] rev 9391
(svn r9183) [NoAI] -Fix: use 'instance' instead of 'this' in RegisterFactory

Wed, 14 Mar 2007 22:55:57 +0000(svn r9182) [NoAI] -Add: added AIFactory template which all AIs must define, as this noai
truelight [Wed, 14 Mar 2007 22:55:57 +0000] rev 9390
(svn r9182) [NoAI] -Add: added AIFactory template which all AIs must define, as this
makes them select from the core. This gives information about author,
version, description, ...
-Add: make the AI selection random based on the entries in AIFactory

Wed, 14 Mar 2007 22:31:59 +0000(svn r9181) [NoAI] -Fix: allow compilation with MINGW and _UNICODE (squirrel has some problems with that) noai
glx [Wed, 14 Mar 2007 22:31:59 +0000] rev 9389
(svn r9181) [NoAI] -Fix: allow compilation with MINGW and _UNICODE (squirrel has some problems with that)

Wed, 14 Mar 2007 20:25:43 +0000(svn r9180) [NoAI] -Fix: copy/pasting can be nasty: wrong @file headers noai
truelight [Wed, 14 Mar 2007 20:25:43 +0000] rev 9388
(svn r9180) [NoAI] -Fix: copy/pasting can be nasty: wrong @file headers

Wed, 14 Mar 2007 20:22:07 +0000(svn r9179) [NoAI] -Add: added templates that makes adding classes to squirrel very easy noai
truelight [Wed, 14 Mar 2007 20:22:07 +0000] rev 9387
(svn r9179) [NoAI] -Add: added templates that makes adding classes to squirrel very easy
-Update: SQNoAI does now exactly what NoAI does

Wed, 14 Mar 2007 12:42:37 +0000(svn r9177) [NoAI] -Fix: squirrel scripts should end with .nut, not .sq noai
truelight [Wed, 14 Mar 2007 12:42:37 +0000] rev 9386
(svn r9177) [NoAI] -Fix: squirrel scripts should end with .nut, not .sq

Wed, 14 Mar 2007 12:41:47 +0000(svn r9176) [NoAI] -Add: added a RegisterAI() proc, that makes the AI known to the noai
truelight [Wed, 14 Mar 2007 12:41:47 +0000] rev 9385
(svn r9176) [NoAI] -Add: added a RegisterAI() proc, that makes the AI known to the
system. It is initialized automaticly when needed. Creating the class
yourself results in an error.

Wed, 14 Mar 2007 11:52:24 +0000(svn r9174) [NoAI] -Codechange: call all functions that are provided by the AI wrappers, so it can later be used for regression testing. noai
rubidium [Wed, 14 Mar 2007 11:52:24 +0000] rev 9384
(svn r9174) [NoAI] -Codechange: call all functions that are provided by the AI wrappers, so it can later be used for regression testing.

Wed, 14 Mar 2007 11:51:26 +0000(svn r9173) [NoAI] -Codechange: start both AIs when the game starts more than one. noai
rubidium [Wed, 14 Mar 2007 11:51:26 +0000] rev 9383
(svn r9173) [NoAI] -Codechange: start both AIs when the game starts more than one.

Wed, 14 Mar 2007 11:42:22 +0000(svn r9172) [NoAI] -Fix: the new AI patch setting was removed, but not from the patch settings gui. noai
rubidium [Wed, 14 Mar 2007 11:42:22 +0000] rev 9382
(svn r9172) [NoAI] -Fix: the new AI patch setting was removed, but not from the patch settings gui.

Wed, 14 Mar 2007 11:20:56 +0000(svn r9171) [NoAI] -Fix: call GameLoop() of the instance directly noai
truelight [Wed, 14 Mar 2007 11:20:56 +0000] rev 9381
(svn r9171) [NoAI] -Fix: call GameLoop() of the instance directly

Wed, 14 Mar 2007 11:14:57 +0000(svn r9169) [NoAI] -Add: some wrapper functions for town related queries. noai
rubidium [Wed, 14 Mar 2007 11:14:57 +0000] rev 9380
(svn r9169) [NoAI] -Add: some wrapper functions for town related queries.

Wed, 14 Mar 2007 11:14:26 +0000(svn r9168) [NoAI] -Add: AI wrapper functions for some map related queries. noai
rubidium [Wed, 14 Mar 2007 11:14:26 +0000] rev 9379
(svn r9168) [NoAI] -Add: AI wrapper functions for some map related queries.

Wed, 14 Mar 2007 10:39:46 +0000(svn r9167) [NoAI] -Fix: store the 'this' pointer in a nicer way (KUDr) noai
truelight [Wed, 14 Mar 2007 10:39:46 +0000] rev 9378
(svn r9167) [NoAI] -Fix: store the 'this' pointer in a nicer way (KUDr)
-Fix: don't allow multiple instances of AIController inside one script

Wed, 14 Mar 2007 10:30:34 +0000(svn r9166) [NoAI] -Add: added destructor code, so we can do things there in the future noai
truelight [Wed, 14 Mar 2007 10:30:34 +0000] rev 9377
(svn r9166) [NoAI] -Add: added destructor code, so we can do things there in the future
-Add: store the instance-pointer of the squirrel class

Wed, 14 Mar 2007 09:53:24 +0000(svn r9164) [NoAI] -Add: function to get the value of LOAN_INTERVAL in the AIs. noai
rubidium [Wed, 14 Mar 2007 09:53:24 +0000] rev 9376
(svn r9164) [NoAI] -Add: function to get the value of LOAN_INTERVAL in the AIs.

Wed, 14 Mar 2007 09:30:22 +0000(svn r9163) [NoAI] -Codechange: put AddMethod in his own function, so calling often is easier noai
truelight [Wed, 14 Mar 2007 09:30:22 +0000] rev 9375
(svn r9163) [NoAI] -Codechange: put AddMethod in his own function, so calling often is easier

Wed, 14 Mar 2007 02:29:26 +0000(svn r9161) [NoAI] -Add: functions to get/set company related information: loan, bank balance, company value and company name. noai
rubidium [Wed, 14 Mar 2007 02:29:26 +0000] rev 9374
(svn r9161) [NoAI] -Add: functions to get/set company related information: loan, bank balance, company value and company name.

Wed, 14 Mar 2007 02:15:16 +0000(svn r9160) [NoAI] -Add: added AIController for Squirrel; all AIs, C++ or Squirrel, should extend this class noai
truelight [Wed, 14 Mar 2007 02:15:16 +0000] rev 9373
(svn r9160) [NoAI] -Add: added AIController for Squirrel; all AIs, C++ or Squirrel, should extend this class

Wed, 14 Mar 2007 02:14:13 +0000(svn r9159) [NoAI] -Change: moved 'tick' from public to private. Use GetTick() to get its value. noai
truelight [Wed, 14 Mar 2007 02:14:13 +0000] rev 9372
(svn r9159) [NoAI] -Change: moved 'tick' from public to private. Use GetTick() to get its value.