fonsinchen
d206b436aa
(svn r26893) -Feature: ScriptStationList_Cargo for sorting cargo by from and via
2014-09-21 16:20:48 +00:00
rubidium
2be4215f43
(svn r26482) -Codechange: add an include that allows us to undefine/redefine "unsafe" functions to prevent them from being used, and thus having to care about certain aspects of their return values
2014-04-23 20:13:33 +00:00
rubidium
244a3a3da1
(svn r25236) -Fix [FS#5547]: crash when AI is executing a command as it is bankrupted (removed from the game)
...
The command is placed in a queue for processing before it is bankrupted, after that the command
is executed. This command yields a failure because the company does not exist, but then it still
needs to call the callback. This callback tries to access the AI's virtual machine without any
checks, so it starts to read a just freed pointer and segfaults.
2013-05-12 13:12:55 +00:00
yexo
e1351773a0
(svn r24468) -Add [FS#5219]: API compatibility scripts for Goal Scripts (Hirundo)
2012-08-13 19:22:26 +00:00
frosch
1008ceddb8
(svn r24291) -Add: [Script] ScriptEventRoadReconstruction.
2012-05-26 14:16:45 +00:00
frosch
4e074cdbf7
(svn r24290) -Add: [Script] ScriptEventExclusiveTransportRights.
2012-05-26 14:16:38 +00:00
frosch
8824063087
(svn r24289) -Add: [Script] Base class for script events involving a company and a town.
2012-05-26 14:16:32 +00:00
frosch
7343268e8a
(svn r24108) -Fix [FS#5142]: When starting GS or AI, always use the settings of the game, not the new-game settings.
2012-04-09 12:35:01 +00:00
rubidium
d5eeab43b7
(svn r23740) -Codechange: remove some 300 unneeded includes from the .cpp files
2012-01-03 21:32:51 +00:00
truebrain
af7958f5c4
(svn r23652) -Fix: don't include/document ScriptText for AIs. It is not usable
2011-12-21 15:06:00 +00:00
truebrain
8ac2d13c79
(svn r23636) -Add: introduce ScriptText in parameters where it can be used
2011-12-19 21:06:06 +00:00
truebrain
95b199e313
(svn r23632) -Add: GSCompanyMode, to change company in GameScripts
2011-12-19 21:05:25 +00:00
michi_cc
f27995568e
(svn r23506) -Add: [NoAI] Support for dealing with aircraft range.
2011-12-13 00:43:59 +00:00
rubidium
9aab2dc861
(svn r23474) -Codechange: move the declaration error related functions to error.h
2011-12-10 13:54:10 +00:00
michi_cc
351da038eb
(svn r23416) -Add: [NoAI] API for querying infrastructure costs.
2011-12-03 23:40:57 +00:00
truebrain
ac0f5398c2
(svn r23386) -Fix: debug script related events to 'script' (removes 'ai')
2011-12-01 12:04:10 +00:00
truebrain
bef1451f18
(svn r23373) -Add: move the AI API to script/api/ai, and move the Squirrel C++ glue templates to script/api/template
2011-11-29 23:29:20 +00:00
truebrain
275670b55d
(svn r23368) -Codechange: move FindLibrary down a few layers, so there is no layer violation anymore
2011-11-29 23:27:08 +00:00
truebrain
fe41ceb477
(svn r23367) -Codechange: refactor GetSetting to ScriptInstance, to avoid global variable in script_controller
2011-11-29 23:27:01 +00:00
truebrain
bfbadccf69
(svn r23366) -Codechange: move most of the Dummy code to script/, unifying it
2011-11-29 23:26:52 +00:00
truebrain
e7c77353ce
(svn r23364) -Codechange: refactor AIConfig, moving it mostly to Scriptconfig
2011-11-29 23:26:35 +00:00
truebrain
ff5775638c
(svn r23361) -Codechange: move multiplayer DoCommand callback code so other script users can call their own
2011-11-29 23:21:42 +00:00
truebrain
a3768b109b
(svn r23360) -Codechange: move AIInstance to ScriptInstance, making it reusable by other script API instances
2011-11-29 23:21:33 +00:00
truebrain
6f874962cd
(svn r23359) -Codechange: move AI_VMSuspend to Script_Suspend (and to its own file)
2011-11-29 23:21:24 +00:00
truebrain
1e13fa3dee
(svn r23358) -Codechange: move AI_FatalError to Script_FatalError (and to its own file)
2011-11-29 23:21:13 +00:00
truebrain
b4112dcf8e
(svn r23357) -Codechange: move AIStorage to ScriptStorage
2011-11-29 23:21:04 +00:00
truebrain
af1b3cc070
(svn r23355) -Codechange: rename all AI* to Script* (Rubidium)
2011-11-29 23:15:35 +00:00
truebrain
1ced96bb3c
(svn r23352) -Add: support dynamically adding an API prefix when returning a C++ class to Squirrel
2011-11-29 22:24:30 +00:00
truebrain
ad5830e42d
(svn r23302) -Add: [NoAI] AITown::GetCargoGoal and AITown::GetGrowthRate to query statistics about a town regarding its growing
2011-11-23 16:09:46 +00:00
truebrain
2e731592c4
(svn r23295) -Codechange: put ImportLibrary in AIController (and document the parameters for NoAI docs)
2011-11-23 13:39:36 +00:00
truebrain
b2ae274a5d
(svn r23262) -Fix: one annoying typo in a squirrel_export marker line
2011-11-19 15:42:40 +00:00
truebrain
cbe453eab0
(svn r23209) -Codechange: track the current active script instance directly, instead of assuming the current company points you to the right one.
2011-11-13 20:43:48 +00:00
rubidium
215452b911
(svn r23195) -Codechange: if we really need to cast away constness, use const_cast
2011-11-12 08:37:12 +00:00
yexo
3566f8b905
(svn r23134) -Add [FS#3799]: [NoAI] AICargoList_StationAccepting
2011-11-08 15:44:53 +00:00
rubidium
2de0383538
(svn r23118) -Feature: [NoAI] Allow AIs to query the amount of remaining operations for the current tick
2011-11-04 23:20:14 +00:00
rubidium
05199a641a
(svn r21890) -Cleanup: remove some unneeded includes
2011-01-22 14:52:20 +00:00
yexo
c5597c44c4
(svn r21664) -Add: [NoAI] AIEventTownFounded
2010-12-29 23:44:39 +00:00
rubidium
890eec6132
(svn r21311) -Fix [FS#4260]: AIs in an infinite loop in e.g. autosave, but also getting settings and such from info.nut, would not be interrupted after a while causing OpenTTD to seem to not respond
2010-11-24 17:00:37 +00:00
rubidium
360d6daf34
(svn r20632) -Cleanup: remove "a few" unneeded includes, and add them to some headers
2010-08-26 22:01:16 +00:00
yexo
f30cc9e6ca
(svn r20563) -Change: [NoAI] rename AIAbstractList to AIList
2010-08-19 15:37:28 +00:00
yexo
0d57e6c193
(svn r20562) -Change: [NoAI] Move all functions from AIList to AIAbstractList
2010-08-19 15:19:40 +00:00
yexo
971691b691
(svn r20285) -Codechange: use ///< for single-line doxygen comments in the AI code
2010-08-01 19:36:56 +00:00
yexo
844e62546b
(svn r20271) -Doc: add doxygen comments to several items under src/ai/
2010-07-31 22:16:34 +00:00
rubidium
a70fd540fc
(svn r19814) -Codechange: give some more unnamed enums a name, in case they consisted of unrelated values use static const (u)int
2010-05-13 10:14:29 +00:00
smatz
114c2af6f2
(svn r19775) -Fix: improper use of 'then' in few comments (ln)
2010-05-09 18:13:36 +00:00
yexo
cdfe7f7834
(svn r19544) -Feature [FS#3496]: add an input box to the AI Debug window where you can input a break string (patch by Zuu)
2010-04-02 17:35:20 +00:00
smatz
5504b1105e
(svn r19224) -Codechange: change parameters passed to ShowErrorMessage() a bit
2010-02-24 14:46:15 +00:00
rubidium
0bf54aaedb
(svn r18862) -Fix [FS#3544]: don't pass AI strings through iconv
2010-01-18 15:41:38 +00:00
rubidium
9467b7c6d6
(svn r18809) -Codechange/Cleanup: remove unneeded headers from some files, if a header require a header make it include that header
2010-01-15 16:41:15 +00:00
rubidium
d9f86b6f97
(svn r18747) -Codechange: add some constness to the AI code
2010-01-07 00:09:27 +00:00