Age | Commit message (Collapse) | Author | |
---|---|---|---|
2005-06-25 | (svn r2487) Replace TILE_XY by TileXY/TileDiffXY | tron | |
2005-06-24 | (svn r2483) Replace almost 500 "uint tile" (and variants) with "TileIndex tile" | tron | |
2005-06-09 | (svn r2436) - Fix: Deleting canals under bridges removes bridges first in ↵ | Darkvater | |
certain configurations (peter1138) | |||
2005-06-04 | (svn r2408) Introduce SetTileOwner() and use it | tron | |
2005-06-04 | (svn r2407) Use {Get,Is}TileOwner to get/check the owner of a tile and fix ↵ | tron | |
some bogus reads of _map_owner | |||
2005-06-02 | (svn r2397) - CodeChange: rename all "ttd" files to "openttd" files. | Darkvater | |
2005-06-01 | (svn r2390) - Codechange: Fix some warnings on GCC 4.0.0 | hackykid | |
2005-05-09 | (svn r2288) - CodeChange: protected the next batch of commands (41 so far, ↵ | Darkvater | |
out of 115). - CodeChange: changed the airport gui airport-type checking. Added function GetValidAirports() that returns bitmasked availibility, is also used for checking. - CodeChange: to check tree-planting, 2 const arrays have been moved to table/tree_land.h (type and count) - CodeChange: added IsTownIndex() in following of IsStationIndex(), etc. - Fix (regression): road tunnels did not work anymore, forgot that their type was 0x200 (documented now) | |||
2005-05-09 | (svn r2286) - CodeChange: paramcheck the next batch of commands. | Darkvater | |
- Fix (regression): fix up terraform land where every player can terraform land (towns, map generation), and player can terraform different corners; used for building tunnels | |||
2005-05-09 | (svn r2285) - Codechange: Fix up some of the missing things from ↵ | Darkvater | |
server-checking; namely bridge-type, bridge-length, dragged end-tile (bridge/station), station_spread - Fix: [ 1197256 ] max station spread patch < 7 does not work. Station spread was not taking into account when not using drag&drop. Fix this up, and add a callback to the settings window to immediately reflect the changes. | |||
2005-05-07 | (svn r2279) - Fix: Check the parameters of the first 10 Commands. While ↵ | Darkvater | |
there also add proper comments for the functions and fix up CmdFailed() | |||
2005-03-27 | (svn r2091) Small cleanup: uint -> TileIndex, const, don't call ↵ | tron | |
FindLandscapeHeightByTile() | |||
2005-03-27 | (svn r2089) - Codechange: Simplify slopes check in CmdBuildBridge(). ↵ | pasky | |
Inspired by st3wis' patch 1144746. | |||
2005-03-25 | (svn r2066) - Fix: [ 1164248 ] game crash while AI builds bridge. Also ↵ | Darkvater | |
protect bridge building against invalid bridges and some safeguards when drawing. | |||
2005-03-24 | (svn r2046) -Codechange: moved all waypoint code to waypoint.c/waypoint.h | truelight | |
-Codechange: rewrote some functions while moving waypoint-stuff -Add: added support for 64k waypoints -Fix: made the waypoint struct a bit more logic (no bit-fucking) | |||
2005-03-06 | (svn r1934) Small cleanup (uint -> TileIndex, (uint)-1 -> INVALID_TILE and ↵ | tron | |
similar stuff) | |||
2005-03-04 | (svn r1923) - Fix: [ 1155696 ] Crash with german umlauts in station names. ↵ | Darkvater | |
The width was not calculated using unsigned values, so all characters above 128 were "negative" - Codechange: a more proper check for a null pointer in tunnelbridge_cmd.c should have gone in with the previous commit | |||
2005-02-13 | (svn r1867) Include tables/sprites.h only in files which need it | tron | |
2005-02-07 | (svn r1839) Move GetTileSlope() and GetTileZ() into tile.[ch] and use more ↵ | tron | |
explicit types as parameters | |||
2005-02-06 | (svn r1834) - Fix: NPF does not check the owner of its target, busses try to ↵ | matthijs | |
enter other players' depots. TODO - Add: asserts to find the v->u.rail.track == 0 problem. - Add: IsValidDepot(), IsValidTown(), IsValidSign(), IsValidVehicle(), IsValidStation() - Add: GetTileOwner(), IsTileOwner() - Codechange: Replaced IsShipDepotTile(), IsTrainDepotTile(), IsRoadDepotTile() by IsTileDepotType(). - Codechange: typedeffed the MAP_OWNERS as Owner. Should be used as variable type. - Codechange: Replaced a few uint by TileIndex. | |||
2005-01-29 | (svn r1713) Split off several functions which query/set information about a ↵ | tron | |
single tile from map.h and put them into a seperate file tile.h | |||
2005-01-27 | (svn r1696) Use GetTileSlope() instead of FindLandscapeHeightByTile() where ↵ | tron | |
it is sufficient. FindLandscapeHeightByTile() uses GetTileSlope() internally and adds some more info, which is discarded in these cases. While touching the code make a bit more clear how GetBridgeHeight() works. | |||
2005-01-23 | (svn r1610) Remove trailing whitespace (last time ever, i hope) | tron | |
2005-01-22 | (svn r1596) Add some more statics | tron | |
2005-01-22 | (svn r1592) -Fix: [1090495] Slopes under high bridges weren't flooded | tron | |
2005-01-21 | (svn r1583) -Fix: You should no longer be able to delete bridges on any type ↵ | darkvater | |
of underground when there is a vehicle on it | |||
2005-01-20 | (svn r1574) -Fix [ 1105281 ] upgrade rail fails when train under bridge | celestar | |
2005-01-19 | (svn r1568) made an enum of train subtypes to make the code more readable | bjarni | |
2005-01-18 | (svn r1560) Introduce SetTileType() and SetTileHeight() | tron | |
Replace direct references to _map_type_and_height with these | |||
2005-01-16 | (svn r1542) Rename TileHeight to TilePixelHeight, because this is what it ↵ | tron | |
actually returns | |||
2005-01-16 | (svn r1536) Move GET_TILEHEIGHT, GET_TILETYPE and IS_TILETYPE to map.h, turn ↵ | tron | |
them into inline functions and add some asserts | |||
2005-01-14 | (svn r1504) enummed town ratings (Jango) | celestar | |
2005-01-09 | (svn r1451) Fix some of the signed/unsigned comparison warnings | tron | |
2005-01-07 | (svn r1414) Move TileIndex, TILE_MASK and GET_TILE_[XY] to map.h and turn ↵ | tron | |
the latter into inline functions names Tile[XY] | |||
2005-01-05 | (svn r1386) Move TileIndexDiff to map.h | tron | |
Move _tileoffs_by_dir to map.[ch] and encapsulate it in TileOffsByDir() | |||
2005-01-03 | (svn r1337) Use MapMax[XY]() (or MapSize[XY]() if appropriate) instead of ↵ | tron | |
TILE_MAX_[XY] While here replace one erroneous TILE_MAX_X with MapMaxY() | |||
2004-12-15 | (svn r1117) Move map arrays and some related macros into their own files ↵ | tron | |
map.c and map.h | |||
2004-12-04 | (svn r925) Use sound enums | tron | |
Also play the correct sound when a toyland road vehicle breaks down | |||
2004-12-02 | (svn r901) Small step in the process to clean up the DPARAM mess: | tron | |
- reduce to 2 sizes (*DParam64 for 64bit values, *DParam for the rest) - use inline functions instead of macros - add assert()s to check for buffer overruns | |||
2004-11-26 | (svn r826) Seperate all bridge related tables from tunnel_land.h into their ↵ | tron | |
own file | |||
2004-11-25 | (svn r815) Include strings.h only in the files which need it. | tron | |
This should reduce the compile time after altering english.txt by about 1/3, because "only" 62 instead of 90 .c files must be recompiled. | |||
2004-11-23 | (svn r787) Invert the sense of the DO_TRANS_BUILDINGS flag to be consistent ↵ | tron | |
with its own name and all other DO_* flags. Now it is active-true. | |||
2004-11-21 | (svn r724) Remove restriction that a tile can only accept 3 cargo types. | tron | |
This especially enables houses to accept passengers, mail, goods AND food. Add string templates for up to 5 cargo types for the tile info window. If more are needed just add them. Simplify (de-uglify) the logic for cargo acceptence for houses and split the goods/food table into two. The acceptance is unmodified, but accepting goods AND food is now trivially possible. The exact amounts have to be decided. This is based on Celestar's changes in the map branch plus some further bits that will be merged there soon. | |||
2004-11-05 | (svn r513) Merge revisions 402, 416, 417, 478, 479, 511, 512 from map to trunk | tron | |
This includes 2 fixes -Fix: [1048596] Monorail and Maglev sounds are swapped (r511) -Add special case to load the jackhammer sound (r478) The rest are cleanups und enumeration to make merging possible/easier | |||
2004-11-03 | (svn r501) -Fix: Vehicles slow down under bridge if the track is on a foundation | tron | |
2004-11-03 | (svn r500) -Fix: Some bridge part isn't displayed transparent in transparent ↵ | tron | |
mode -Fix: If bridge has no pillars cursor arrow is displayed in transparent mode | |||
2004-09-14 | (svn r242) -Fix: Pathfinding bug for road vehicles introduced in r160 fixed ↵ | darkvater | |
(blathijs) -Fix: Pathfinding under bridges bug for ships introduced in r160 fixed (Darkvater) | |||
2004-09-11 | (svn r204) -Fix: deleted unneeded casts (tnx Tron) | truelight | |
2004-09-11 | (svn r201) -Fix: [1025836] Company values bigger dan int32 were put to negative | truelight | |
-Fix: [1025836] Long bridges had negative value -Fix: Typo in endian_check.c (Zr40) | |||
2004-09-10 | (svn r194) -Codechange: stripping trailing-spaces. Please keep this that way! | truelight | |