summaryrefslogtreecommitdiff
path: root/src/command.cpp
AgeCommit message (Collapse)Author
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
2010-08-18(svn r20536) -Codechange: unify the refitting of vehiclesrubidium
2010-08-17(svn r20532) -Codechange: unify selling of vehicles a bitrubidium
2010-08-17(svn r20531) -Codechange: unify quite a bit of the vehicle building commandsrubidium
2010-08-08(svn r20411) -Codechange: rename unmovables as quite a lot of them are ↵rubidium
actually movable; e.g. HQ and owned land are pretty movable.
2010-08-02(svn r20328) -Codechange: unify the unmovable related commands and make ↵rubidium
building lighthouses/transmitters actually happen via a command
2010-08-02(svn r20323) -Codechange: Move Delete town code to a command.terkhen
2010-08-02(svn r20322) -Codechange: Move Expand town code to a command.terkhen
2010-06-23(svn r20013) -Fix [FS#3890]: silence some warnings / take the advice of the ↵rubidium
warnings into account
2010-06-05(svn r19933) -Fix [FS#3804]: Keep _current_company and _local_company in ↵frosch
sync during GUI operation.
2010-05-12(svn r19801) -Add [FS#3691]: custom naming of depots. Based on work by sbrrubidium
2010-04-17(svn r19663) -Fix: in rare cases, update of signals could be missedsmatz
2010-04-11(svn r19602) -Codechange: add the name of the command to the desync logsrubidium
2010-04-11(svn r19601) -Fix: make the desync replay parse the "whole" string instead ↵rubidium
of everything up to the first space; make it log the sync state too
2010-04-08(svn r19589) -Change: add some more useful information to the desync log and ↵rubidium
unify the formatting
2010-03-20(svn r19494) -Codechange: Remove _error_message.alberth
2010-03-14(svn r19419) -Codechange: Use failed CommandCost object to retrieve message ↵alberth
instead of _error_message.
2010-03-14(svn r19415) -Codechange: Forward CommandCost with an error back to the caller.alberth
2010-03-14(svn r19414) -Doc: Several doxygen additions and corrections.alberth
2010-02-24(svn r19224) -Codechange: change parameters passed to ShowErrorMessage() a bitsmatz
2010-02-14(svn r19130) -Codechange: Use references and inlining in CommandCost.alberth
2010-02-14(svn r19128) -Codechange: CommandCost cost methods return void instead of a ↵alberth
copy of *this.
2010-01-31(svn r18975) -Cleanup: CMD_REMOVE_ROAD is unused.frosch
2010-01-31(svn r18974) -Fix [FS#3578]: CMD_BUILD_ROAD missed CMD_AUTO. Also do not ↵frosch
access tiles anymore after clearing them; that fails either in test or exec run.
2010-01-18(svn r18866) -Codechange: remove the CmdFailed(ret)/CmdSucceeded(ret) ↵rubidium
wrapper functions
2010-01-11(svn r18788) -Codechange: replace macro as without macro it's shorter than ↵rubidium
with the macro.
2010-01-11(svn r18785) -Codechange: rewrite/rework DoCommandP in order to simplify it, ↵rubidium
reduce duplication and remove gotos.