summaryrefslogtreecommitdiff
path: root/src/water_cmd.cpp
AgeCommit message (Collapse)Author
2007-09-09(svn r11065) -Documentation [FS#1186]: of the dirty marking/repainting ↵rubidium
subsystem. Patch by Progman.
2007-08-31(svn r11024) -Fix [FS#1173]: give a more correct error when building some ↵rubidium
things on tile 0; "Can't build on water" or "Too close to the edge" instead of "Vehicle in the way". Patch by SmatZ.
2007-08-31(svn r11022) -Fix: the canal border determination did not take oil rigs into ↵rubidium
consideration.
2007-08-30(svn r11011) -Fix [FS#1129]: GetFirstVehicleInChain did change the game ↵rubidium
state while being marked const. -Codechange: do not brute force determine the first vehicle in the chain or previous vehicle, but do it by properly accounting the previous and first pointers when updating the next pointer. This gives a performance increase of about 15% when there are a lot of vehicles in the game.
2007-08-30(svn r11005) -Codechange: move the tiletype specific terraforming checks to ↵rubidium
the functions for those tile types. -Codechange: barren the rail grounds on terraforming.
2007-08-14(svn r10892) -Fix [FS#1127]: trains would not get flooded when they are at ↵rubidium
the lower part of a tile that would become a coast tile after flooding. Patch by frosch.
2007-08-02(svn r10758) -Codechange: make the depot struct use the pool item class as ↵rubidium
super class.
2007-07-26(svn r10698) -Codechange [FS#1082]: simplify the code related to ↵rubidium
foundations. Primarily removal of (duplicated|magic) code and introduction of few helper functions to ease foundation determination. Patch by frosch.
2007-07-26(svn r10696) -Codechange: remove duplication of the "make sprite ↵rubidium
transparent" code.
2007-07-16(svn r10593) -Fix [FS#1038]: one could not remove locks that were build in a ↵rubidium
(very) old version of OpenTTD.
2007-07-16(svn r10587) -Codechange: move the string/dparam related stuff from ↵rubidium
variables.h to strings.h
2007-06-22(svn r10266) -Codechange: keep track of the origin, time of travel and ↵rubidium
accumulated feeder share (transfers) of individual pieces of cargo. This means that cargo isn't thrown on a big pile when it's put in a station or unloaded at a station, however the GUI does not reflect these changes yet so you will not actually see it.
2007-06-18(svn r10205) -Codechange: refactor returning of cost, so it can be more ↵rubidium
easily modified.
2007-06-18(svn r10200) -Codechange: add "shortcut" for !CmdFailed (CmdSucceeded).rubidium
2007-06-18(svn r10197) -Codechange: replace int32 with CommandCost where appropriate.rubidium
2007-06-14(svn r10155) -Fix [FS#601]: Airports didn't flood when there are aircraft on ↵rubidium
the airport.
2007-06-11(svn r10097) -Feature: Add support for articulated road vehicles, or ↵maedhros
callbacks 11 and 17 for road vehicles for those who prefer the technical explanation.
2007-05-24(svn r9914) -Codechange: prepare GTTS and the pathfinders to handle multiple ↵rubidium
road types on a single tile.
2007-05-06(svn r9797) -Feature: [NewGRF] Add action 1, 2 and 3 support for canals.peter1138
2007-04-18(svn r9672) -Cleanup: lots of coding style fixes around operands.rubidium
2007-04-12(svn r9609) -Codechange: Move some function prototypes out of functions.h ↵maedhros
and into landscape.h, and add a few where they didn't exist.
2007-04-06(svn r9568) -Documentation: doxygen and comment changes: Root of src is ↵belugas
finally done. Now, time to start clearing as much as possible
2007-04-05(svn r9563) -Feature: Add more finer control to transparency options, ↵peter1138
including a new toolbar, accessible from the map menu or Ctrl X. Patch by Wolf01.
2007-03-19(svn r9322) -Codechange: Use cargo class to count crash/flood victimspeter1138
2007-03-10(svn r9105) -Fix [FS#629]: disable the ability to make flooding water with ↵rubidium
the canal build tool. In the scenario editor you can still make both canals and flooding water at height level 0.
2007-03-08(svn r9068) -Codechange: capitalize the VEH_Train etc. enums to match the ↵rubidium
coding style (and rest of the code).
2007-03-07(svn r9051) -Codechange: typedef [enum|struct] Y {} X; -> [enum|struct] X {};rubidium
2007-03-01(svn r8953) -Codechange: make the names of enums of WaterTileType consistent ↵rubidium
with respect to RailTileType and RoadTileType.
2007-02-26(svn r8908) -Codechange: declaration of DrawBridgeMiddle does not belong in ↵rubidium
a map accessors header.
2007-02-24(svn r8876) -Fixtron
Replace tests with magic numbers by a simple extraction template for command parameters
2007-02-22(svn r8841) -Fixtron
Remove {,u}intswap() and replace them by Swap()
2007-02-13(svn r8698) -Codechange: enumify the returns of VehicleEnterTilerubidium
2007-02-07(svn r8620) -Fix: buoys on canal tiles do not flood anymore (Maedhros).rubidium
2007-02-05(svn r8593) -Fix (FS#564): bridges do not get destroyed when the bridge head ↵rubidium
gets flooded and there is a vehicle on the bridge. Original patch by KeeperofTheSoul.
2007-02-02(svn r8528) -Codechange: Rename IsBuoy_() to IsBuoy() now that the naming ↵celestar
conflict no longer exists.
2007-01-21(svn r8299) -Fixtron
Remove unreachable code
2007-01-16(svn r8154) -Codechange: Water can no longer be under bridge tiles, so don't ↵peter1138
check for it.
2007-01-14(svn r8128) -Codechange: Split sprite and palette remap into separate 32 bit ↵peter1138
values. This lets us increase the sprite width from 14 to up to 29 bits, effectively nulling the old sprite limit. Table changes in next commit.
2007-01-10(svn r8038) -Merge: the cpp branch. Effort of KUDr, Celestar, glx, Smoovius, ↵rubidium
stillunknown and pv2b.
2007-01-10(svn r8033) [cpp] - Prepare for merge from branches/cpp (all .c files ↵KUDr
renamed to .cpp)