Commit Graph

45 Commits (466193c5742761d5e45ca5b4e34e3cab8e62affc)

Author SHA1 Message Date
belugas 17df5bdf72 (svn r11347) -Codechange: use marker loaded grf feature has_newwater when it is required. (more to come) 17 years ago
rubidium d1a51ebb36 (svn r11320) -Codechange: make lower halftiles at coast floodable. Patch by frosch. 17 years ago
rubidium 8342c18fb5 (svn r11303) -Fix: EnsureNoVehicle and EnsureNoVehicleOnGround were both used to check whether there was no vehicle on the ground, except that the former didn't take care of aircraft shadows. So now we only use EnsureNoVehicleOnGround. 17 years ago
rubidium 3bcfe14cd1 (svn r11276) -Codechange: be more consistent with naming of some accessors.
-Fix: make sure canals are never owned by water. Based on a patch by boekabart.
17 years ago
belugas c5a8f4a857 (svn r11266) -Documentation: Add a few comments. Parts of BigBB's work on shores 17 years ago
rubidium 0ca9fd7dc2 (svn r11065) -Documentation [FS#1186]: of the dirty marking/repainting subsystem. Patch by Progman. 17 years ago
rubidium 5243d98761 (svn r11024) -Fix [FS#1173]: give a more correct error when building some things on tile 0; "Can't build on water" or "Too close to the edge" instead of "Vehicle in the way". Patch by SmatZ. 17 years ago
rubidium 8d0804834c (svn r11022) -Fix: the canal border determination did not take oil rigs into consideration. 17 years ago
rubidium 732845440a (svn r11011) -Fix [FS#1129]: GetFirstVehicleInChain did change the game 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.
17 years ago
rubidium f4482907da (svn r11005) -Codechange: move the tiletype specific terraforming checks to the functions for those tile types.
-Codechange: barren the rail grounds on terraforming.
17 years ago
rubidium 5d8fa0616e (svn r10892) -Fix [FS#1127]: trains would not get flooded when they are at the lower part of a tile that would become a coast tile after flooding. Patch by frosch. 17 years ago
rubidium c60988a1d5 (svn r10758) -Codechange: make the depot struct use the pool item class as super class. 17 years ago
rubidium 903a0a08c2 (svn r10698) -Codechange [FS#1082]: simplify the code related to foundations. Primarily removal of (duplicated|magic) code and introduction of few helper functions to ease foundation determination. Patch by frosch. 17 years ago
rubidium a26ef1ee3a (svn r10696) -Codechange: remove duplication of the "make sprite transparent" code. 17 years ago
rubidium f30a71ab82 (svn r10593) -Fix [FS#1038]: one could not remove locks that were build in a (very) old version of OpenTTD. 17 years ago
rubidium df009178d4 (svn r10587) -Codechange: move the string/dparam related stuff from variables.h to strings.h 17 years ago
rubidium fc201d4ad8 (svn r10266) -Codechange: keep track of the origin, time of travel and 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. 17 years ago
rubidium 773a7c9cb6 (svn r10205) -Codechange: refactor returning of cost, so it can be more easily modified. 17 years ago
rubidium 82e79b847e (svn r10200) -Codechange: add "shortcut" for !CmdFailed (CmdSucceeded). 17 years ago
rubidium 3ccc83e640 (svn r10197) -Codechange: replace int32 with CommandCost where appropriate. 17 years ago
rubidium 3cdf29af0d (svn r10155) -Fix [FS#601]: Airports didn't flood when there are aircraft on the airport. 17 years ago
maedhros c186f91cbd (svn r10097) -Feature: Add support for articulated road vehicles, or callbacks 11 and 17 for
road vehicles for those who prefer the technical explanation.
17 years ago
rubidium 821e58ac95 (svn r9914) -Codechange: prepare GTTS and the pathfinders to handle multiple road types on a single tile. 17 years ago
peter1138 e109773636 (svn r9797) -Feature: [NewGRF] Add action 1, 2 and 3 support for canals. 17 years ago
rubidium 7577954ced (svn r9672) -Cleanup: lots of coding style fixes around operands. 17 years ago
maedhros 3d81de8d7e (svn r9609) -Codechange: Move some function prototypes out of functions.h and into landscape.h, and add a few where they didn't exist. 17 years ago
belugas 7ad3bb257e (svn r9568) -Documentation: doxygen and comment changes: Root of src is finally done. Now, time to start clearing as much as possible 17 years ago
peter1138 51d72c11c8 (svn r9563) -Feature: Add more finer control to transparency options, including a new toolbar, accessible from the map menu or Ctrl X. Patch by Wolf01. 17 years ago
peter1138 5a2236dd84 (svn r9322) -Codechange: Use cargo class to count crash/flood victims 18 years ago
rubidium b510eaaca5 (svn r9105) -Fix [FS#629]: disable the ability to make flooding water with the canal build tool. In the scenario editor you can still make both canals and flooding water at height level 0. 18 years ago
rubidium 36cea84b11 (svn r9068) -Codechange: capitalize the VEH_Train etc. enums to match the coding style (and rest of the code). 18 years ago
rubidium 979ccd45ba (svn r9051) -Codechange: typedef [enum|struct] Y {} X; -> [enum|struct] X {}; 18 years ago
rubidium 0945c6950b (svn r8953) -Codechange: make the names of enums of WaterTileType consistent with respect to RailTileType and RoadTileType. 18 years ago
rubidium 191a739d31 (svn r8908) -Codechange: declaration of DrawBridgeMiddle does not belong in a map accessors header. 18 years ago
tron 47b677abfe (svn r8876) -Fix
Replace tests with magic numbers by a simple extraction template for command parameters
18 years ago
tron 053e2ddda5 (svn r8841) -Fix
Remove {,u}intswap() and replace them by Swap()
18 years ago
rubidium eb5648f382 (svn r8698) -Codechange: enumify the returns of VehicleEnterTile 18 years ago
rubidium 022e11d421 (svn r8620) -Fix: buoys on canal tiles do not flood anymore (Maedhros). 18 years ago
rubidium bec2c60245 (svn r8593) -Fix (FS#564): bridges do not get destroyed when the bridge head gets flooded and there is a vehicle on the bridge. Original patch by KeeperofTheSoul. 18 years ago
celestar c95736046b (svn r8528) -Codechange: Rename IsBuoy_() to IsBuoy() now that the naming conflict no longer exists. 18 years ago
tron 9e7b066522 (svn r8299) -Fix
Remove unreachable code
18 years ago
peter1138 990e1a51f0 (svn r8154) -Codechange: Water can no longer be under bridge tiles, so don't check for it. 18 years ago
peter1138 ca9843424b (svn r8128) -Codechange: Split sprite and palette remap into separate 32 bit 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.
18 years ago
rubidium a7d0cdf95f (svn r8038) -Merge: the cpp branch. Effort of KUDr, Celestar, glx, Smoovius, stillunknown and pv2b. 18 years ago
KUDr 07c30785ab (svn r8033) [cpp] - Prepare for merge from branches/cpp (all .c files renamed to .cpp) 18 years ago