Commit Graph

167 Commits (7273d73ee9e7de23e9b9001e6817aa4a5680601c)

Author SHA1 Message Date
rubidium 6898a76c5f (svn r13719) -Codechange: rename IsValidPlayer to IsValidPlayerID in line with all other structs/classes that are in a pool. 16 years ago
rubidium 65a4dc8902 (svn r13621) -Fix: building roadbits in the wrong direction on bridges or building roadbits from underneath the bridge to the bridgehead is impossible, so don't silently ignore that error when building over houses and industries is not ignored. 16 years ago
glx d74eac6211 (svn r13379) -Fix (r13255): drive side can't be changed in intro 16 years ago
rubidium e7a501100a (svn r13325) -Codechange: split the client-side only settings from the settings stored in the savegame so there is no need to have a duplicate copy of it for new games. 16 years ago
rubidium d289464d69 (svn r13255) -Codechange: move _opt to _settings. 16 years ago
rubidium dc77647ea4 (svn r13251) -Codechange: rename _patches to _settings as that is more logic.
-Codechange: move all Settings into substructs of _settings in a way that they are logically grouped.
16 years ago
rubidium ce821b1ada (svn r13242) -Codechange: remove _opt_ptr. 16 years ago
frosch 7fbfe54c74 (svn r13234) -Fix: Check/affect town rating when removing/bulldozing town-owned road under drivethrough stops.
-Fix: Reset the 'town-owned-road'-flag when removing and rebuilding road under drivethrough stops.
16 years ago
frosch 8f104a2e97 (svn r13233) -Fix: Replace some (incorrect) evaluations of TileOwner by RoadOwner.
-Fix: Before evaluating RoadOwner, check if the roadtype is present.
-Fix: Some places assumed that MP_ROAD means normal street.
16 years ago
frosch 7f80552293 (svn r13206) -Feature(ette): Display all owners of a tile in the tile-info-window. 16 years ago
rubidium 78eb7d66b1 (svn r13166) -Codechange: CmdSetRoadDriveSide belongs in road_cmd.cpp, not settings_gui.cpp. 16 years ago
smatz 2be223fc03 (svn r13090) -Codechange: add functions for direct conversion from DiagDirection to Track and Trackbits 16 years ago
smatz b4968c6bea (svn r13016) -Codechange: unify the detection if rail catenary should be drawn 16 years ago
rubidium 1ce0b03bf0 (svn r12971) -Documentation: add @file in files that missed them and add something more than whitespace as description of files that don't have a description. 16 years ago
smatz 0ddb481a33 (svn r12919) -Fix [FS#1965]: flood road tiles even when there are road works in progress 16 years ago
rubidium 2b85217bfe (svn r12857) -Fix [FS#1948]: remove the last uses of AutoPtr in the station code. 16 years ago
rubidium d56827a9a9 (svn r12855) -Codechange: do not use autoptr's for testing whether certain objects can be build, but check it directly in the pool so we do not have to call destructors in the testing phase. Stations still use the autoptr though. 16 years ago
rubidium 8186344628 (svn r12804) -Codechange: move the effect vehicle handling out of vehicle.cpp 16 years ago
rubidium d010ae9408 (svn r12801) -Codechange: remove the dependency of function.h in town_map.h 16 years ago
rubidium 18e64b28e2 (svn r12757) -Codechange: move all cheat related stuff from all over the place to a single location. 16 years ago
rubidium 6d063c3ad6 (svn r12754) -Codechange: split depot.h into depot_map.h, depot_func.h and depot_base.h and remove quite a lot of unneeded (before this) includes of depot.h. 16 years ago
rubidium 1078bc7dd0 (svn r12682) -Fix [FS#1920]: removing road pieces from a town gave you twice the intended penalty. 16 years ago
rubidium 5967f5b379 (svn r12622) -Fix: infinite loop in case your compiler decides that enums are unsigned by default. Patch by Dominik. 16 years ago
smatz 4c84f76dd5 (svn r12569) -Cleanup: variable scope and coding style in road*.cpp 16 years ago
smatz fcf4a7067d (svn r12547) -Feature: invisibility options to make objects invisible instead of transparent 16 years ago
rubidium 6d9c7ef315 (svn r12443) -Add: OpenTTDs version to openttd.cfg, just so we do not need to keep to ask people for their version number because it's likely they give you the wrong answer anyway. 16 years ago
skidd13 5d06dcb37e (svn r12442) -Feature: Allow build leveled roads on slopes for the old ai 16 years ago
skidd13 75072624d8 (svn r12440) -Fix [FS#1694]: Make the road building and road removing conditions more union
-Feature: Allow to build/remove more road-piece combinations directly
16 years ago
skidd13 066e6dedfd (svn r12419) -Cleanup: of the internal road-piece building and removing. 16 years ago
peter1138 f0e39a7953 (svn r12410) -Codechange: abstract out the test for catenary on electric rails 16 years ago
smatz 9dade55b4a (svn r12363) -Fix: do not allow building 'zero' road bits 17 years ago
belugas 2678c4faaa (svn r12290) -Fix[FS#1807]: Do not draw trees nor lamps between tram tracks.(Roujin) 17 years ago
frosch 7f3d56041b (svn r12199) -Codechange: Remove magic around the results of GetTileTrackStatus(). 17 years ago
smatz 7a5855fec2 (svn r12185) -Fix (r12177): wrong operator priority, hopefully harmless (spotted by michi_cc) 17 years ago
smatz b2721c08fc (svn r12183) -Codechange: give a better error message when building road over existing road with vehicle on it, or do not fail at all 17 years ago
smatz 4a329de942 (svn r12179) -Codechange: use GetCrossingRailTrack() and GetCrossingRailAxis() to improve code readability 17 years ago
smatz 9f619f91b3 (svn r12177) -Codechange: use 'side' parameter in GetTileTrackStatus so there can be less checks in pathfinders for depots/stations/tunnels/bridges 17 years ago
smatz b389425dda (svn r12170) -Fix: do not draw trees along road and street lights under low bridges (spotted by _minime_) 17 years ago
frosch a13899ee8e (svn r12149) -Codechange: Merge 'ground_sprite' and 'ground_pal' of DrawTileSprites into one PalSpriteID 17 years ago
frosch ae996a270b (svn r12148) -Codechange: Merge 'image' and 'pal' of DrawTileSeqStruct into one PalSpriteID 17 years ago
frosch 514df81e27 (svn r12141) -Codechange: Introduce IsNormalRoad[Tile](), IsRoadDepot[Tile]() and HasTileRoadType(); and use them. 17 years ago
smatz e081e0712f (svn r12138) -Fix: do not allow adding tram to rail-road crossing when there is a vehicle on it 17 years ago
smatz 17d9c9bf2b (svn r12103) -Feature(tte): separate catenary transparency settings from building transparency settings 17 years ago
smatz 98e81e95a5 (svn r12095) -Fix [FS#1703]: when a company bankrupts, remove drive-through road stops, ship depots and buoys too. Update owners of water and road. 17 years ago
smatz d00bf03012 (svn r12094) -Codechange: use DC_BANKRUPT command flag when removing player property to allow further fixes 17 years ago
smatz db50a6d231 (svn r11998) -Fix [FS#1692](r10053): possible remote assert by setting bit 6 of p1 for CMD_REMOVE_ROAD 17 years ago
frosch d4dc5e0775 (svn r11983) -Codechange: Add some helper functions for slopes and use them. 17 years ago
smatz 74af65e556 (svn r11968) -Codechange: remove redundant FindLengthOfTunnel(), use GetTunnelBridgeLength() and/or GetOtherTunnelEnd() instead 17 years ago
smatz 8be486c27e (svn r11960) -Cleanup: simplify some IsTunnel(Tile) / IsBridge(Tile) conditions 17 years ago
smatz d89c5e945f (svn r11953) -Fix (r11172): do not allow modifying roadbits when other roadtypes would need different foundation 17 years ago