summaryrefslogtreecommitdiff
path: root/src/script
AgeCommit message (Collapse)Author
2011-09-08(svn r22906) -Fix (r22905): variable not properly cleared before userubidium
2011-09-08(svn r22905) -Fix [FS#4753] (r22836): the name of the tar was removed from ↵rubidium
the AI filenames, so record it differently. Also removes some of the hackery to get the tar's filename
2011-09-08(svn r22904) -Codechange: add tar filename to file scanningrubidium
2011-09-02(svn r22874) -Fix [FS#4747]: Check size of various buffers before ↵michi_cc
allocation. (monoid)
2011-08-25(svn r22836) -Codechange: simplify the scanning of (AI) scriptsrubidium
2011-05-01(svn r22406) -Document: some more "random-ish" tidbitsrubidium
2011-02-20(svn r22120) -Change: [NoAI] Prevent AIs from getting consistently over ↵rubidium
their allowed amount of operations by subtracting the amount they went over "budget" from the budget for the next "tick".
2010-12-22(svn r21595) -Codechange: Some header files had their name changed, update ↵alberth
the ifndef/define/endif lines.
2010-11-24(svn r21311) -Fix [FS#4260]: AIs in an infinite loop in e.g. autosave, but ↵rubidium
also getting settings and such from info.nut, would not be interrupted after a while causing OpenTTD to seem to not respond
2010-08-26(svn r20632) -Cleanup: remove "a few" unneeded includes, and add them to ↵rubidium
some headers
2010-08-19(svn r20574) -Codechange: a little over 1 million vehicles should be enough ↵rubidium
for the forseeable future
2010-05-10(svn r19776) -Change: don't scan for tars in the script scanner; it has ↵rubidium
already happened.
2010-03-23(svn r19509) -Codechange: remove superfluous semicolons after function ↵smatz
definitions
2010-01-18(svn r18862) -Fix [FS#3544]: don't pass AI strings through iconvrubidium
2010-01-15(svn r18809) -Codechange/Cleanup: remove unneeded headers from some files, ↵rubidium
if a header require a header make it include that header
2010-01-01(svn r18683) -Fix: it's not an otherrubidium
2009-12-19(svn r18555) -Fix (r15027): fake definitions of squirrel types were wrong ↵smatz
for eg. 64bit systems, don't use them
2009-12-06(svn r18418) -Fix [FS#3298]: under some circumstances a pointer could be ↵rubidium
left untouched and then freed. Make sure this doesn't happen by ensuring it starts out as NULL instead of 'garbage'.
2009-11-11(svn r18038) -Fix [FS#3290] (r17402): AIs failed to load their data from ↵rubidium
savegames by crashing them when they tried
2009-11-03(svn r17963) -Codechange: some documentation stylerubidium
2009-10-04(svn r17693) -Cleanup: remove some unneeded includesrubidium
2009-09-19(svn r17570) -Fix: a number of Doxygen warnings about missing parameters, ↵rubidium
which were sometimes missing and sometimes just typos
2009-09-15(svn r17545) -Fix [FS#3202]: [NoAI] AIs had 'infinite' time when running ↵rubidium
code from the global scope
2009-09-10(svn r17498) -Add [NoAI]: Enable the squirrel std math libraryyexo
2009-09-03(svn r17402) -Fix (r16425): During every save a few slots on the squirrel ↵Yexo
stack were leaked
2009-08-21(svn r17248) -Fix: add GPL license notice where appropriaterubidium
2009-08-19(svn r17223) -Change [NoAI] [FS#2980]: Crash an AI when it uses a DoCommand ↵yexo
/ Sleep instead of just printing an error message in the AI Debug Window
2009-08-19(svn r17221) -Change [NoAI] [FS#3101]: when the API requests a string as ↵yexo
parameter allow every squirrel type and convert to a string
2009-07-31(svn r17013) -Fix [FS#3074]: concatenating strings in Squirrel when ↵rubidium
non-ASCII strings were received from OpenTTD failed. The number of bytes in an UTF-8 encoded string isn't always the same as the number of characters in the decoded (into wchars) string
2009-07-31(svn r17005) -Add [NoAI]: AIAbstractList::SORT_ASCENDING / SORT_DESCENDINGyexo
2009-07-15(svn r16834) -Fix [FS#3034]: call the AI Save() function only once so AIs ↵yexo
can't crash OpenTTD
2009-06-01(svn r16502) -Fix [FS#2935]: when an AI was suspended while in a function ↵yexo
called (indirectly) via call/acall/pcall OpenTTD crashed. Fix this by disallowing AIs to be suspended while called via call/acall/pcall. IMPORTANT FOR AI WRITERS: AIs can no longer call any DoCommand functions (change anything, build vehicles, etc.) in a function called (indirectly) via call/acall/pcall. Where possible, please rewrite your code so it doesn't use call/acall/pcall
2009-06-01(svn r16493) -Fix: missing/wrong @file doxygen 'headers'rubidium
2009-06-01(svn r16492) -Remove: support for gcc2. It hasn't been able to compile OTTD ↵smatz
for months. All attempts to do another workaround failed.
2009-05-25(svn r16425) -Change [FS#2869]: Stop an AI when it takes too long to ↵yexo
initialize or load
2009-05-03(svn r16222) -Fix: unneeded pointer dereferencingrubidium
2009-04-21(svn r16113) -Feature [NoAI]: Add UseAsRandomAI as function in info.nut. ↵yexo
When an AI returns false, it'll never be chosen as random AI.
2009-04-19(svn r16093) -Feature [FS#2808]: Add GetURL() as possible function to ↵yexo
info.nut. If AIs implement it, that url is shown when the AI crashes and also in the AI selection window.
2009-03-16(svn r15743) -Codechange: move the definitions of some fake squirrel types ↵yexo
to their own file.
2009-03-15(svn r15736) -Codechange: Split AIScanner/AIFileInfo to the more generic ↵yexo
classes ScriptScanner/ScriptFileInfo.
2009-03-11(svn r15668) -Fix: a few typos.yexo
2009-03-06(svn r15629) -Fix (r15027): Validate strings that are passed from squirrel ↵yexo
to the API, not strings passed from the API to squirrel.
2009-02-23(svn r15558) -Cleanup: Remove some unnecessary friend declarations.yexo
2009-02-21(svn r15535) -Fix (r15460, pre noai merge): use '.' as 'any' for squirrel ↵glx
calls typechecking as stated in squirrel docs
2009-02-20(svn r15531) -Fix (r15467): AIs were stopped at every error, whether they ↵yexo
caught it or not.
2009-02-13(svn r15467) -Fix [NoAI]: AIs with an error in their info.nut are no longer ↵yexo
available in-game.
2009-02-08(svn r15406) -Fix: make Valuate actually cost a few opcodes to not make it a ↵rubidium
single opcode method of doing lots of the same thing. This should resolve most of the hiccups caused by AIs.
2009-02-03(svn r15330) -Fix [FS#2597]: leaking of Squirrel when using circular ↵rubidium
references (by enabling the GC).
2009-02-02(svn r15316) -Fix [NoAI]: ignore unprintable chars when returning a string ↵glx
to squirrel
2009-01-23(svn r15222) -Fix: The squirrel stack was corrupted if an AI called any C++ ↵Yexo
function during Save().