summaryrefslogtreecommitdiff
path: root/src/script
AgeCommit message (Collapse)Author
2011-11-29(svn r23370) -Add: support @api tag in API header files, to select which API ↵truebrain
should receive the defined classes and functions
2011-11-29(svn r23369) -Codechange: use script includes when possible, not ai includestruebrain
2011-11-29(svn r23368) -Codechange: move FindLibrary down a few layers, so there is no ↵truebrain
layer violation anymore
2011-11-29(svn r23367) -Codechange: refactor GetSetting to ScriptInstance, to avoid ↵truebrain
global variable in script_controller
2011-11-29(svn r23366) -Codechange: move most of the Dummy code to script/, unifying ittruebrain
2011-11-29(svn r23365) -Codechange: move constants to a single place, to avoid ↵truebrain
duplication (and in time, different values)
2011-11-29(svn r23364) -Codechange: refactor AIConfig, moving it mostly to Scriptconfigtruebrain
2011-11-29(svn r23363) -Documentation: document a tiny bit better what is in variablestruebrain
2011-11-29(svn r23362) -Codechange: refactor AIScanner, splitting it in AIScannerInfo ↵truebrain
and AIScannerLibrary
2011-11-29(svn r23361) -Codechange: move multiplayer DoCommand callback code so other ↵truebrain
script users can call their own
2011-11-29(svn r23360) -Codechange: move AIInstance to ScriptInstance, making it ↵truebrain
reusable by other script API instances
2011-11-29(svn r23359) -Codechange: move AI_VMSuspend to Script_Suspend (and to its ↵truebrain
own file)
2011-11-29(svn r23358) -Codechange: move AI_FatalError to Script_FatalError (and to ↵truebrain
its own file)
2011-11-29(svn r23357) -Codechange: move AIStorage to ScriptStoragetruebrain
2011-11-29(svn r23355) -Codechange: rename all AI* to Script* (Rubidium)truebrain
2011-11-29(svn r23354) -Codechange: move all src/ai/api/ai_*.[hc]pp files to ↵truebrain
src/script/api/script_* (Rubidium)
2011-11-29(svn r23352) -Add: support dynamically adding an API prefix when returning a ↵truebrain
C++ class to Squirrel
2011-11-29(svn r23350) -Add: support different ScriptTypes in the helper functions for ↵truebrain
GetClassName (Rubidium)
2011-11-23(svn r23295) -Codechange: put ImportLibrary in AIController (and document ↵truebrain
the parameters for NoAI docs)
2011-11-23(svn r23294) -Codechange: sq_pop in native callback is just a waste of CPU ↵truebrain
cycles, as the top is reset in all cases
2011-11-23(svn r23293) -Codechange: make LoadScript/LoadFile non-statictruebrain
2011-11-19(svn r23264) -Fix (r23263): save before committruebrain
2011-11-19(svn r23263) -Documentation: stop naming AI in comments in script/ files; it ↵truebrain
makes no sense
2011-11-14(svn r23216) -Codechange: introduce the concept of having different tar listsrubidium
2011-11-13(svn r23210) -Codechange: generate the GetClassName function for the AI ↵rubidium
classes programmatically
2011-11-12(svn r23198) -Codechange: introduce a free that takes const pointers so we ↵rubidium
don't need to cast to void/non-const before being able to free
2011-11-04(svn r23118) -Feature: [NoAI] Allow AIs to query the amount of remaining ↵rubidium
operations for the current tick
2011-11-04(svn r23117) -Fix: [NoAI] calling require() to include a file gave you ↵yexo
100.000 opcodes for free
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