summaryrefslogtreecommitdiff
path: root/src/script
AgeCommit message (Collapse)Author
2011-12-14(svn r23516) -Fix [FS#4886]: ScriptSign::BuildSign() returned wrong result ↵frosch
if the sign name was too long.
2011-12-14(svn r23515) -Cleanup: Remove unused ScriptObject::GetNewTunnelEndtile() and ↵frosch
relatives.
2011-12-14(svn r23514) -Fix: squirrel_export.sh failed for svn working copies.frosch
2011-12-13(svn r23506) -Add: [NoAI] Support for dealing with aircraft range.michi_cc
2011-12-10(svn r23486) -Fix (r22764): 3 for the price of 1: fix up ↵truebrain
ScriptTile::GetTownAuthority() (tnx to Torrasque for reporting)
2011-12-09(svn r23461) -Fix: handle a missing airport newgrf as graceful as possible ↵yexo
by not crashing when loading such savegame or when an airport is removed
2011-12-08(svn r23453) -Add: [NoAI] AIStation.GetStationCoverageRadius(StationID)yexo
2011-12-08(svn r23452) -Codechange: document instead of writing to stderr that ↵yexo
ScriptStation::GetCoverageRadius doesn't work for STATION_AIRPORT
2011-12-06(svn r23441) -Fix [FS#4764]: some airport functions didn't take the layout ↵rubidium
into account resulting in wrong noise levels or nearests towns (patch by Zuu)
2011-12-06(svn r23439) -Fix: Use the DEBUG macro to output the reason for a compile ↵yexo
failure in info.nut instead of printing it directly to stderr
2011-12-04(svn r23431) -Fix: typo in @param variabletruebrain
2011-12-03(svn r23416) -Add: [NoAI] API for querying infrastructure costs.michi_cc
2011-12-02(svn r23397) -Change: remove the AI_ prefix from all AIEvent enumstruebrain
2011-12-02(svn r23396) -Fix: squirrel export script did not ignore Doxygen blocks, ↵truebrain
causing funny results in some corner cases
2011-12-01(svn r23392) -Fix: [NoAI] assigning 'null' to an AIList element to remove it ↵yexo
didn't work
2011-12-01(svn r23387) -Fix: move ai.script_max_opcode_till_suspend to ↵truebrain
script.script_max_opcode_till_suspend
2011-12-01(svn r23386) -Fix: debug script related events to 'script' (removes 'ai')truebrain
2011-11-30(svn r23378) -Fix: set SVN properties correctlytruebrain
2011-11-29(svn r23374) -Add: Doxygen files for the NoAI API (Yexo)truebrain
2011-11-29(svn r23373) -Add: move the AI API to script/api/ai, and move the Squirrel ↵truebrain
C++ glue templates to script/api/template
2011-11-29(svn r23372) -Move: move squirrel export script to script/api/truebrain
2011-11-29(svn r23371) -Change: rename the DOXYGEN_AI_DOCS tag to DOXYGEN_APItruebrain
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