summaryrefslogtreecommitdiff
path: root/src/water_cmd.cpp
AgeCommit message (Collapse)Author
2010-05-31(svn r19914) -Codechange: Wrap a helper class around temporary assignments ↵frosch
of _current_company to ensure proper restoration.
2010-05-12(svn r19799) -Change: give depots an unique name in the same manner buoys ↵rubidium
and waypoints are named
2010-05-11(svn r19788) -Codechange: make FOR_EACH_SET_BIT not change the value of the ↵rubidium
passed bit variable, i.e. allow expressions as parameter
2010-04-25(svn r19720) -Feature: New base costs for building/clearing canals, ↵terkhen
building/clearing aqueducts and building/clearing locks.
2010-04-25(svn r19719) -Codechange: When building a lock, do not add the cost of ↵terkhen
building canals if they are already built.
2010-04-25(svn r19718) -Fix: The cost of clearing tiles was not taken into account ↵terkhen
when building locks.
2010-04-25(svn r19716) -Documentation: Add comments for lock building and removal ↵terkhen
functions.
2010-04-24(svn r19715) -Codechange: Rename all appareances of shiplift to lock.terkhen
2010-04-17(svn r19668) -Codechange: Use WaterClass in parameters of CMD_BUILD_CANAL.frosch
2010-04-17(svn r19654) -Codechange: Use Extract<> in more places.frosch
2010-04-13(svn r19616) -Codechange: Increase transparency of 'Extract' by passing also ↵frosch
the number of used bits.
2010-03-20(svn r19494) -Codechange: Remove _error_message.alberth
2010-03-18(svn r19455) -Codechange: split all airport information in Station to a ↵yexo
seperate class
2010-03-14(svn r19416) -Codechange: Code style, move variable declarations to their ↵alberth
first use.
2010-03-14(svn r19415) -Codechange: Forward CommandCost with an error back to the caller.alberth
2010-03-07(svn r19373) -Fix (r19372): Missing variable declaration.terkhen
2010-03-07(svn r19372) -Codechange: CheckTileOwnership() returns a CommandCost.alberth
2010-03-05(svn r19319) -Codechange: EnsureNoVehicleOnGround() returns a CommandCost.alberth
2010-02-22(svn r19203) -Codechange: silence some gcc warningssmatz
2010-02-22(svn r19198) -Codechange: store the size of stations in savegamesyexo
2010-01-21(svn r18872) -Codechange: introduce PaletteID and use itrubidium
2010-01-18(svn r18866) -Codechange: remove the CmdFailed(ret)/CmdSucceeded(ret) ↵rubidium
wrapper functions
2010-01-18(svn r18858) -Codechange: use IsAirportTile where possibleyexo
2010-01-15(svn r18809) -Codechange/Cleanup: remove unneeded headers from some files, ↵rubidium
if a header require a header make it include that header
2010-01-15(svn r18807) -Codechange: introduce AirportSpec and move several ↵yexo
non-statemachine-related variables to there
2010-01-04(svn r18720) -Codechange: simplify looping and validation of CmdBuildCanalrubidium
2010-01-04(svn r18718) -Codechange: make a wrapper macro for looping TileAreasrubidium
2009-12-04(svn r18402) -Codechange: unify/centralise the code for crashing vehiclesrubidium
2009-12-04(svn r18399) -Codechange: bail out early in FloodVehicle instead of a ↵rubidium
massive if (...) { } else { return }
2009-11-07(svn r18005) -Codechange: Convert the Prices struct into an array and an enum.frosch
2009-11-05(svn r17976) -Codechange: Move CargoClass to cargotype.h and clean up ↵frosch
including of newgrf_cargo.h
2009-10-20(svn r17817) -Codechange: MakeWater actually made sea tiles, so rename it to ↵rubidium
MakeSea and unduplicate the code to make sea, rivers and canals.
2009-10-04(svn r17693) -Cleanup: remove some unneeded includesrubidium
2009-10-04(svn r17692) -Codechange: minor coding style fixessmatz
2009-09-18(svn r17567) -Fix: some doxygen warningsrubidium
2009-09-13(svn r17532) -Codechange: Rename several Invalidate functions to SetDirty ↵frosch
for more consistency and distinguishability.
2009-09-10(svn r17495) -Codechange: replace 'Depot::Get(GetDepotIndex(tile))->index' ↵rubidium
with GetDepotIndex(tile)
2009-09-10(svn r17493) -Codechange: store the depot index on the maprubidium
2009-08-30(svn r17316) -Codechange: use Industry::GetByTile() instead of ↵smatz
GetIndustryByTile()
2009-08-21(svn r17248) -Fix: add GPL license notice where appropriaterubidium
2009-08-10(svn r17152) -Fix: A stuck train could free the reservation of another train ↵michi_cc
if it was reversed or did crash.
2009-08-05(svn r17075) -Codechange: rename ~750 strings to be more uniform with their ↵rubidium
relatives
2009-07-31(svn r17001) -Codechange: replace some more assert(0)s to NOT_REACHED() and ↵rubidium
document why they (assert(0)) have to stay for the remaining cases.
2009-07-26(svn r16966) -Codechange: BEGIN_TILE_LOOP and END_TILE_LOOP reworked into ↵rubidium
TILE_LOOP, which means no more duplication of parameters between BEGIN_TILE_LOOP and END_TILE_LOOP
2009-07-25(svn r16947) -Codechange: use TileArea instead of train_tile, trainst_w and ↵rubidium
trainst_h.
2009-07-02(svn r16721) -Codechange: make Is/SetRoadVehicleFront, ↵rubidium
Is/Set/HasArticulatedPart member of RoadVehicle.
2009-07-01(svn r16717) -Codechange: make IsFrontEngine() member of Trainsmatz
2009-06-27(svn r16673) -Codechange: rename GetProducedCargo() to AddProducedCargo() ↵smatz
and change its behaviour accordingly
2009-06-25(svn r16660) -Codechange: get rid of more dummy tile_type_procssmatz
2009-06-25(svn r16659) -Codechange: rename GetAcceptedCargo() to AddAcceptedCargo() ↵smatz
and change its behaviour accordingly -Codechange: remove dummy GetAcceptedCargo_*() handlers