src/squirrel.hpp
Mon, 30 Jun 2008 12:27:24 +0000 truebrain (svn r13656) [NoAI] -Add: added suspend control. If an AI consumes N (default = 4000) opcodes, a sleep is forced (for 1 tick). This to give fair play for all AIs. Also, an infinite loop won't hang the GUI of the player. (Morloth) noai
Tue, 10 Jun 2008 09:56:56 +0000 truebrain (svn r13438) [NoAI] -Fix: sq_pop when needed, to make sure the stack keeps as clean as possible noai
Sun, 08 Jun 2008 22:01:32 +0000 glx (svn r13424) [NoAI] -Codechange: strdup strings returned by Squirrel when it's called from openttd. noai
Tue, 20 May 2008 15:25:47 +0000 truebrain (svn r13194) [NoAI] -Change [API CHANGE]: split 'main.nut' in 'info.nut' and 'main.nut'. The first contains the information about the AI, the second the AI. This avoid several problems we had. It also speeds up OpenTTD start-up. noai
Tue, 20 May 2008 13:09:34 +0000 truebrain (svn r13193) [NoAI] -Add: allow AIs to be packed in a .tar. one AI per tar, always in a subdir. It looks for main.nut in the first dir it finds in the archive noai
Tue, 25 Mar 2008 12:09:42 +0000 truebrain (svn r12409) [NoAI] -Add: allow an AdvancedMethod which gives you complete control over the param handling from a call from SQ noai
Wed, 27 Feb 2008 00:29:35 +0000 glx (svn r12286) [NoAI] -Fix (r12277): restore compilation with _UNICODE noai
Tue, 26 Feb 2008 21:35:22 +0000 truebrain (svn r12277) [NoAI] -Change: overlay GlobalPointer with local instance access and create sub-node to contain data noai
Wed, 18 Jul 2007 15:09:16 +0000 truelight (svn r10613) [NoAI] -Add r10612: give release-hook for return values of classes for which SQ creates a temporary holder so they are free'd when SQ does noai
Wed, 18 Jul 2007 14:58:37 +0000 truelight (svn r10612) [NoAI] -Add: allow a class as return value; pack the result in a SQ instance and it should work perfectly noai
Fri, 13 Apr 2007 09:52:18 +0000 truelight (svn r9618) [NoAI] -Add: allow an extra param for PreRegister to register classes as extends of others noai
Wed, 11 Apr 2007 16:48:42 +0000 truelight (svn r9593) [NoAI] -Add: on runtime-error, print the complete stack, so the user can see where it went wrong noai
Sun, 25 Mar 2007 21:52:16 +0000 truelight (svn r9461) [NoAI] -Add: allow to set the amount of params that SQ should expect in the SQ define lines. Script to automated this are coming up next. noai
Sun, 25 Mar 2007 13:55:31 +0000 truelight (svn r9445) [NoAI] -Change: changed from sq_createslot to sq_newslot (first is deprecated) noai
Fri, 16 Mar 2007 01:06:26 +0000 glx (svn r9245) [NoAI] -Fix: allow compilation with _UNICODE noai
Thu, 15 Mar 2007 19:33:07 +0000 truelight (svn r9223) [NoAI] -Change: moved squirrel/engine.cpp to squirrel.cpp in root noai