summaryrefslogtreecommitdiff
path: root/src/command.cpp
AgeCommit message (Collapse)Author
2014-01-12(svn r26241) -Codechange: Remember the GRFFile which filled the TextRefStack ↵frosch
in the TextRefStack.
2013-12-23(svn r26174) -Codechange: Rename BaseStorageArray to BasePersistentStorageArrayfrosch
2013-11-24(svn r26092) -Fix [FS#5818]: prevent scripts from crashing OpenTTD when they ↵rubidium
send text with command codes to user editable texts such as sign and station names
2013-09-21(svn r25788) -Feature: [Script] Game Scripts can now charge fees and give ↵zuu
money to companies
2013-09-19(svn r25785) -Feature: [Script] Allow AIs and GS to found towns. Allow GS to ↵zuu
rename towns
2013-06-27(svn r25487) -Fix: do not allow control codes in names of things (signs, ↵rubidium
vehicles, towns, stations, etc), so they have a known maximum fixed size and are, by definition, the same for everyone
2013-06-11(svn r25394) -Fix: Restrict renaming engines to the server, just like ↵frosch
renaming towns.
2013-06-09(svn r25352) -Feature: GameScript API for selecting a story page to viewzuu
2013-06-09(svn r25342) -Add: StoryPage data structures and GS APIzuu
2013-05-26(svn r25296) -Feature: Goals can now have a progress text and/or be marked ↵zuu
as completed.
2013-01-08(svn r24900) -Fix [FS#5389]: Comments with typos (most fixes supplied by ↵planetmaker
Eagle_rainbow)
2012-10-22(svn r24623) -Feature: Allow GameScripts to construct and prospect ↵zuu
industries without having a sponsor
2012-04-17(svn r24127) -Feature [FS#1497]: Allow closing airports for incoming ↵michi_cc
aircraft. (Based on patch by cirdan)
2012-01-14(svn r23800) -Codechange: also desync log failed commandsrubidium
2012-01-09(svn r23783) -Cleanup: remove ancient but not needed command flagrubidium
2012-01-03(svn r23740) -Codechange: remove some 300 unneeded includes from the .cpp filesrubidium
2012-01-03(svn r23731) -Add: add GSGoal::Question(), to ask a question to a(ll) ↵truebrain
company(ies). It can contain random text, and at most 3 buttons from a collection of 17
2011-12-19(svn r23636) -Add: introduce ScriptText in parameters where it can be usedtruebrain
2011-12-19(svn r23630) -Add: a Goal GUI to show your current goalstruebrain
2011-12-19(svn r23629) -Add: allow ScriptRoad::BuildRoad, ScriptBridge::BuildBridge ↵truebrain
(for roads) and ScriptTunnel:BuildTunnel (for roads) to work for GameScript
2011-12-19(svn r23628) -Add: ScriptSubsidy::Create, to create subsidies (GameScript only)truebrain
2011-12-19(svn r23627) -Add: ScriptNews::Create, to create custom news messages ↵truebrain
(GameScript only)
2011-12-19(svn r23626) -Add: ScriptTown::SetText, which adds custom text to the Town GUItruebrain
2011-12-19(svn r23621) -Add: allow manipulation of signs via GameScriptstruebrain
2011-12-19(svn r23620) -Add: ScriptTown::SetCargoGoal and ScriptTown::SetGrowthRate ↵truebrain
(GameScript only)
2011-12-19(svn r23617) -Add: ScriptTown::ExpandTown, to grow a town (GameScript only)truebrain
2011-12-19(svn r23611) -Add: run the begin of the script already while generating, and ↵truebrain
don't sleep on DoCommand while doing so
2011-12-19(svn r23602) -Add: support for DEITY commands, commands where no real ↵truebrain
company was involved in (Rubidium)
2011-12-10(svn r23474) -Codechange: move the declaration error related functions to ↵rubidium
error.h
2011-11-14(svn r23215) -Codechange: stricter type safety for CommandFlagsrubidium
2011-11-04(svn r23091) -Codechange: rename some Get*Z functions to Get*PixelZ ↵rubidium
functions if they return the Z in pixels (like TilePixelHeight)
2011-10-04(svn r22996) -Fix: make sure temporary storage is cleared before test and ↵yexo
exec runs for DoCommands so NewGRF callbacks can't change the result between the runs
2011-08-21(svn r22785) -Codechange: rename IsGeneratingWorld to HasModalProgressrubidium
2011-07-03(svn r22629) -Fix [FS#4599]: Remove all usages of the ErrorRefStack. It was ↵frosch
continuously overwritten by e.g. industry prospection without closing the old error window; also StopTextRefStackUsage() was not called for errors returned by commands (which caused FS#4599). Now return in the CommandCost result whether the textref stack needs to be used, and store a copy of the stack values in the error window just like for the normal string parameters.
2011-02-07(svn r22016) -Fix [FS#4479]: when paused and having the allowed actions ↵rubidium
while paused setting on "no actions" cheating money would fail
2011-02-07(svn r22015) -Codechange: move yet another pair of methods from functions.hrubidium
2011-01-22(svn r21890) -Cleanup: remove some unneeded includesrubidium
2010-12-07(svn r21430) -Feature [FS#1521]: building while paused always works in the ↵rubidium
scenario editor
2010-12-07(svn r21428) -Fix [FS#4021]: vehicles could be built while the game it ↵rubidium
paused. Now you can enable or disable that with a setting
2010-12-07(svn r21427) -Add: helper function to determine whether a command may be ↵rubidium
executed
2010-12-07(svn r21425) -Codechange: add "command types" to all commandsrubidium
2010-11-30(svn r21358) -Codechange: make some network function names conform to coding ↵rubidium
style
2010-11-20(svn r21273) -Codechange: Return values should start at the same line.alberth
2010-09-08(svn r20768) -Codechange: unify send-to-depot commandsrubidium
2010-09-05(svn r20746) -Fix: set CMD_NO_WATER flag for CmdBuildBridgeyexo
2010-09-03(svn r20729) -Fix [FS#4107]: assert when overbuilding objectyexo
2010-08-26(svn r20632) -Cleanup: remove "a few" unneeded includes, and add them to ↵rubidium
some headers
2010-08-18(svn r20547) -Change: the way order backups are performed. Now restoring an ↵rubidium
order doesn't require up to 765 commands.
2010-08-18(svn r20546) -Fix (r20542): starting AIs shouldn't cause an assertion to triggerrubidium
2010-08-18(svn r20542) -Codechange: generalise the setting of "p2" to the ClientID.rubidium