summaryrefslogtreecommitdiff
path: root/src/command.cpp
AgeCommit message (Collapse)Author
2008-04-07(svn r12616) -Codechange: r12591 didn't work as expected for NDS, move one ↵smatz
function back to cpp
2008-04-06(svn r12591) -Codechange: move CommandCost accessors to header file, 8kB of ↵smatz
binary size saved
2008-03-25(svn r12421) -Feature: [autoreplace] the autoreplace button in train depots ↵bjarni
will now also replace wagons even if they aren't connected to a locomotive fixed estimated cost in CmdDepotMassAutoReplace() (will still not estimate wagon removal profits) Made it possible to command CmdDepotMassAutoReplace() to either replace everything or nothing (the button will still happily replace just some of the vehicles if cash premits)
2008-02-28(svn r12304) -Codechange: use IsValidTile() where it should be usedglx
2008-02-09(svn r12094) -Codechange: use DC_BANKRUPT command flag when removing player ↵smatz
property to allow further fixes
2008-02-06(svn r12075) -Codechange: Remove explicit numbering on command enum, and ↵peter1138
remove blanks from command list where old commands have been removed.
2008-02-04(svn r12061) -Cleanup: since r12060, DC_FORCETEST is not used anymoresmatz
2008-01-29(svn r12012) -Fix (r11795): Enable TownRatingTestMode during cost estimation ↵frosch
with 'shift'-key.
2008-01-16(svn r11871) -Fix [FS#1074]: do not update signals after each tile when ↵smatz
building/removing a large block of track/signals/station
2008-01-13(svn r11839) -Codechange: move some variables from variables.h to a more ↵rubidium
logical location.
2008-01-13(svn r11828) -Codechange: include table/* as the last includes and remove an ↵rubidium
unneeded include from openttd.h.
2008-01-12(svn r11818) -Codechange: split player.h into smaller pieces.rubidium
2008-01-11(svn r11811) -Fix: make compilation without networking work again (and thus ↵rubidium
move the debugdumpcommand stuff out of the network 'area').
2008-01-09(svn r11795) -Fix [FS#1616]: take town rating into account when testing if a ↵glx
command can be executed.
2008-01-09(svn r11793) -Codechange: pass the expense type via the CommandCost instead ↵rubidium
of a global variable. Patch by Noldo (FS#1114).
2008-01-05(svn r11762) -Fix: compilation with DEBUG_DUMP_COMMANDS was brokenglx
2008-01-03(svn r11750) -Revert (r11749): commited too muchglx
2008-01-03(svn r11749) -Fix (r11352): when a bankrupted company is bought, reset ↵glx
vehicle color mapping so the vehicles use the new owner color
2007-12-26(svn r11701) -Codechange: removal unnecessary inclusions of map.h (and split ↵rubidium
map.h).
2007-12-25(svn r11692) -Codechange: move some functions from 'functions.h' to a more ↵rubidium
logical place and remove about 50% of the includes of 'functions.h'
2007-12-23(svn r11684) -Codechange: split gfx.h in a type and functional header.rubidium
2007-12-21(svn r11677) -Codechange: move price and command related types/functions to ↵rubidium
their respective places.
2007-12-21(svn r11675) -Codechange: split the string types from the string functions.rubidium
2007-12-19(svn r11669) -Codechange: refactor tile.h -> tile_type.h and tile_map.hrubidium
2007-12-19(svn r11668) -Codechange: more refactoring aimed at reducing compile time ↵rubidium
and making it more logic where function definitions can be found.
2007-12-17(svn r11657) -Fix: show better error message when trying to convert railsmatz
-Codechange: merge DoConvert functions into one, make test and exec runs the same for tunnels/bridges
2007-12-06(svn r11584) -Change: add some extra checking in the hope to find the cause ↵rubidium
of FS#1482.
2007-10-20(svn r11312) -Codechange: implement a overflow safe integer and use that for ↵rubidium
money and don't misuses CommandCost to have a overflow safe integer. Based on a patch by Noldo.
2007-09-22(svn r11138) -Codechange: prepare some subsystems for persistent storage for ↵rubidium
NewGRFs.
2007-09-10(svn r11084) -Documentation [FS#1219]: of command.*. Patch by Progman.rubidium
2007-09-04(svn r11040) -Fix [FS#1179]: removing CMD_AUTO from some commands could ↵rubidium
remotely trigger an assertion.
2007-08-31(svn r11021) -Fix [FS#1175]: do not display income/expenses when they do not ↵rubidium
belong to a "valid" tile, like the money cheat/giving money.
2007-07-16(svn r10587) -Codechange: move the string/dparam related stuff from ↵rubidium
variables.h to strings.h
2007-07-10(svn r10501) -Fix [FS#1015]: error dialog was sometimes shown on all clients ↵rubidium
when a command failed instead of only the client that actually did the command.
2007-06-25(svn r10331) -Feature: Add the possibility of automatically filling in ↵maedhros
timetables based on the times from the first (or subsequent) run-throughs.
2007-06-21(svn r10258) -Codechange: as we are now using int64 all over the place, it's ↵rubidium
better to use int64 variables in the string generating too instead of packing them into two int32s. -Fix: some displays of money were wrong.
2007-06-21(svn r10247) -Fix (r10210): *always* call SetDParamMoney when you want to ↵rubidium
place money in some string.
2007-06-21(svn r10246) -Fix (r10297): some forgotten money conversions and truncation ↵rubidium
issues. Thanks to benc for providing the patch.
2007-06-20(svn r10236) -Feature: Introduce a form of timetabling for vehicles.maedhros
2007-06-19(svn r10212) -Fix [FS#723]: money overflow bugs in many locations.rubidium
2007-06-18(svn r10208) -Codechange: replace int32 with Money where appropriate.rubidium
2007-06-18(svn r10205) -Codechange: refactor returning of cost, so it can be more ↵rubidium
easily modified.
2007-06-18(svn r10197) -Codechange: replace int32 with CommandCost where appropriate.rubidium
2007-06-08(svn r10071) -Feature [FS#828]: moving of orders (skidd13).rubidium
2007-06-04(svn r10033) -Feature [FS#760]: skip to the selected order in the order list ↵rubidium
when clicking on the "skip" button while pressing CTRL.
2007-05-22(svn r9898) -Fix (r9874): Many...peter1138
- Group protection status wasn't changed via a command. - Group renaming didn't check group owner (and in fact changed the owner, just like renaming a sign...). - Added owner checks to other group commands. - Invalidate window data after the command has been completed instead of after the command has been sent. This fixes gui issues in network play.
2007-05-19(svn r9874) -Feature: advanced vehicle lists a.k.a. group interface. Now you ↵rubidium
can make groups of vehicles and perform all kinds of tasks on that given group. Original code by nycom and graphics by skidd13.
2007-05-16(svn r9855) -Fix: [FS#779] do not perform any commands on MP_VOID tiles.rubidium
2007-04-29(svn r9742) -Fix (r9689) [FS#739]: Fix cloning with refit costs again, ↵maedhros
hopefully for good this time.
2007-04-18(svn r9672) -Cleanup: lots of coding style fixes around operands.rubidium