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
truelight [Wed, 14 Mar 2007 12:42:37 +0000] rev 9386
(svn r9177) [NoAI] -Fix: squirrel scripts should end with .nut, not .sq
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.
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.
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.
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.
truelight [Wed, 14 Mar 2007 11:20:56 +0000] rev 9381
(svn r9171) [NoAI] -Fix: call GameLoop() of the instance directly
rubidium [Wed, 14 Mar 2007 11:14:57 +0000] rev 9380
(svn r9169) [NoAI] -Add: some wrapper functions for town related queries.
rubidium [Wed, 14 Mar 2007 11:14:26 +0000] rev 9379
(svn r9168) [NoAI] -Add: AI wrapper functions for some map related queries.
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
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
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.
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
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.
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
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.
rubidium [Wed, 14 Mar 2007 01:58:36 +0000] rev 9371
(svn r9158) [NoAI] -Fix: a 1 in 2 chance wasn't a 1 in two, but a 1 in 2 * 65536...
rubidium [Wed, 14 Mar 2007 01:57:10 +0000] rev 9370
(svn r9157) [NoAI] -Fix: wrong function was chosen (scoping issue).
rubidium [Wed, 14 Mar 2007 01:02:01 +0000] rev 9369
(svn r9156) [NoAI] -Fix: set svn:eol-style and svn:keywords.
truelight [Tue, 13 Mar 2007 23:01:21 +0000] rev 9368
(svn r9155) [NoAI] -Fix: forgot a line of comments
truelight [Tue, 13 Mar 2007 22:55:44 +0000] rev 9367
(svn r9154) [NoAI] -Fix: print compile-time errors too
truelight [Tue, 13 Mar 2007 22:39:41 +0000] rev 9366
(svn r9153) [NoAI] -Add: added a bit more code to the script to show how classes work (and that instances stay alive)
-Fix: gameLoop -> GameLoop
truelight [Tue, 13 Mar 2007 21:55:22 +0000] rev 9365
(svn r9151) [NoAI] -Add: added squirrel module that loads squirrel scripts and
executes them. For now it only spams the consule with "gameLoop"
truelight [Tue, 13 Mar 2007 21:41:05 +0000] rev 9364
(svn r9149) [NoAI] -Fix: unneeded 'public:' (Rubidium)
truelight [Tue, 13 Mar 2007 21:32:52 +0000] rev 9363
(svn r9148) [NoAI] -Add: added 32/64bit detection support in config.lib
-Add: added squirrel support in config.lib
-Add: allow -DTESTING to be given to stdafx, to no include any endian_XXX
truelight [Tue, 13 Mar 2007 18:43:10 +0000] rev 9362
(svn r9145) [NoAI] -Fix: allow compiling with RANDOM_DEBUG enabled (tnx Rubidium)
truelight [Tue, 13 Mar 2007 18:36:29 +0000] rev 9361
(svn r9144) [NoAI] -Change: moved command functions to AIObject, and made AIBase depend on AIObject
-Change: split AIBase into AIBase and AIController, where the last should be extended by the real AI
-Remove: removed the SP queue-code, as it is no longer needed with the new message system
truelight [Tue, 13 Mar 2007 15:47:26 +0000] rev 9360
(svn r9142) [NoAI] -Add: added initial code for AI-layer system
-Cleanup: ai.h only declares functions, no longer structs and other stuff
-Add: added example AI called NoAI
-Add: added first AIBase:: functions (random-related)
Many thanks to Rubidium and Celestar for their comments and suggestions!
truelight [Tue, 13 Mar 2007 13:07:17 +0000] rev 9359
(svn r9140) [NoAI] -Remove: both 'default' and 'trolly' AI
-Remove: all settings, options, structs related to AI code
-Remove: saveload code for 'default' AI
-Remove: all cheats for 'default' AI
Note: all code related to starting/dying AIs remains, but no real AI is
working in the background currently. Therefor the branch name: No-AI :p
truelight [Tue, 13 Mar 2007 12:21:13 +0000] rev 9358
(svn r9138) [NoAI] -Branch: created a branch for a new idea how to handle AIs