summaryrefslogtreecommitdiff
path: root/src/command.cpp
AgeCommit message (Collapse)Author
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.
2010-01-11(svn r18784) -Codechange: make NetworkSend_Command accept a company instead ↵rubidium
of using _local_company to pass that information, with the whole mess when you don't want the company to be _local_company.
2010-01-11(svn r18783) -Codechange: make CheckCompanyHasMoney set an error on the ↵rubidium
CommandCost it tests when you don't have enough money instead of setting a global variable.
2010-01-11(svn r18781) -Codechange: pass the CommandCost to the callback instead of ↵rubidium
whether it succeeded or not. -Fix: AIs did update their last cost incorrectly in network games if the cost of the DC_EXEC phase differed from the ~DC_EXEC phase.
2009-11-25(svn r18292) -Codechange: add a command to set the start date of a ↵rubidium
timetable. Based on work by PhilSophus.
2009-11-24(svn r18281) -Feature: founding towns in-game (based on work by Belugas, ↵smatz
TheJosh, GeekToo, Terkhen and others)
2009-10-31(svn r17928) -Codechange: ShowErrorMessage() now takes the summary string ↵alberth
before the details string. Gentlemen, swap your string parameters.
2009-10-04(svn r17693) -Cleanup: remove some unneeded includesrubidium