summaryrefslogtreecommitdiff
path: root/src/command.cpp
AgeCommit message (Collapse)Author
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
2009-09-21(svn r17608) -Codechange: use CmdFoundTown when founding 'Random town' toosmatz
2009-09-21(svn r17607) -Fix: when command didn't fail in test run and failed in exec ↵smatz
run, error message wasn't set. Affects only few commands
2009-09-21(svn r17603) -Codechange: since now, towns are 'founded' instead of 'built'smatz
2009-09-18(svn r17567) -Fix: some doxygen warningsrubidium
2009-08-21(svn r17248) -Fix: add GPL license notice where appropriaterubidium
2009-07-29(svn r16990) -Codechange: unify some (command) naming w.r.t. stations/waypoints.rubidium
2009-07-22(svn r16922) -Codechange: unduplicate some vehicle CMD_*s and move the ↵rubidium
setting of the error message to a single place
2009-06-02(svn r16504) -Fix [FS#2948](r16435): one couldn't build anything in the ↵smatz
scenario editor
2009-05-26(svn r16438) -Fix (r16436): set 'old_company' after modifying '_current_company'smatz
2009-05-26(svn r16436) -Codechange: always execute 'spectator'/'server' commands as ↵rubidium
spectator. This to reduce the difference between dedicated and non-dedicated servers and normal clients.
2009-05-26(svn r16435) -Codechange: don't require the 'user company 0' hack for commands.rubidium
2009-05-26(svn r16429) -Change: Make the company settings behave like all others ↵yexo
settings: the default set in the main menu / config file is now really the default for a new company, and changing the value in game will no longer change the default for new companies.
2009-05-18(svn r16352) -Codechange: use PoolItem::GetIfValid() instead of ↵smatz
PoolItem::IsValidID() and PoolItem::Get()