Commit Graph

67 Commits (c60988a1d5d2a140eb5f8ff1b90119ee40ec787e)

Author SHA1 Message Date
rubidium c60988a1d5 (svn r10758) -Codechange: make the depot struct use the pool item class as super class. 17 years ago
rubidium 2800a49f03 (svn r10733) -Codechange: change MP_STREET into MP_ROAD as we use the word "road" everywhere except in the tile type. 17 years ago
rubidium 8cc340681d (svn r10718) -Fix (r10698): when having a road corner on a slope removing the road bit perpendicular on the slope made the foundation disappear. 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 e97c2bf621 (svn r10695) -Fix [FS#1079]: building single pieces of road over tramtrack or vice versa on slopes did not work as expected. 17 years ago
rubidium df009178d4 (svn r10587) -Codechange: move the string/dparam related stuff from variables.h to strings.h 17 years ago
rubidium fd93cd0411 (svn r10502) -Fix [FS#1017]: trying to get the town from a tile that can never be associated with a town. 17 years ago
rubidium bf0be8f0bc (svn r10224) -Fix [FS#891]: the town road belongs to didn't get set properly when a town builds road over tram bits. 17 years ago
rubidium 911f37ee94 (svn r10221) -Fix: the one way sprites weren't drawn in the correct order, so they could remove the tramtrack in some cases. 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
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 740eb9d89a (svn r10053) -Fix: could not clear a level-crossing tile with tram tracks. 17 years ago
rubidium 4a62006c39 (svn r10004) -Fix: trams can always intersect/have junctions on one way roads (because they only work for busses and lorries). 17 years ago
rubidium 294a154bf7 (svn r9999) -Feature: make it possible to disallow busses and lorries to go a specific way on straight pieces of road. 17 years ago
rubidium a4750af656 (svn r9996) -Fix: be more strict when building/upgrading roads and/or road stops. 17 years ago
rubidium 1e371a99d2 (svn r9991) -Fix: one could build road when trams were driving on the tile and vice versa. 17 years ago
rubidium 0bdd409765 (svn r9986) -Fix (r9934): flooding towns could not remove tram tracks (boekabart). 17 years ago
rubidium 4f9a0f750a (svn r9964) -Fix: removing of road should not be free of charge. 17 years ago
maedhros 4f6ffd4e12 (svn r9955) -Codechange: Make _roadveh_enter_depot_unk0 slightly less mysterious. 17 years ago
glx 39463156df (svn r9951) -Fix: slope check was incomplete when building road over tram track (and vice-versa)
-Fix: you could build a drive-through station over a sloped road/tram track
17 years ago
rubidium fe9bf75436 (svn r9949) -Fix: (road) depots got deowned on bankrupts. 17 years ago
rubidium 9e8f500f7f (svn r9948) -Fix (r9947): building illegal roads on slopes. Why do 'fixes' always have the tendancy to backfire? 17 years ago
rubidium 5bdf6833b3 (svn r9947) -Fix [FS#807]: don't check whether roadbits may be built when they are already built for another type. 17 years ago
rubidium ff0bf9fb1f (svn r9946) -Fix: more places that weren't correctly marked dirty... 17 years ago
rubidium 567035ebb5 (svn r9945) -Fix: bridges were not properly marked dirty when adding/removing roadtypes. 17 years ago
rubidium 336c9a5cc4 (svn r9943) -Fix [FS#806]: building roads/trams did take notice of the foundation of the opposite roadtype. 17 years ago
rubidium b741bd1b1e (svn r9942) -Fix [FS#804]: crash when upgrading both ends of a bridge. 17 years ago
rubidium 7e6f19ac1c (svn r9934) -Fix (r9923): towns could remove 'half' tram tracks. 17 years ago
rubidium 01709037c0 (svn r9931) -Fix: some glitches with catenary and bridges. 17 years ago
rubidium 1360c8c116 (svn r9929) -Fix [FS#803]: fix several drawing issues. 17 years ago
rubidium a8d9b4e040 (svn r9923) -Add: support for Action 0 Road vehicles, property 1C, bit 0. 17 years ago
rubidium 9fc73931f1 (svn r9921) -Fix (r9892): ownership wasn't properly propagated on owner changes. 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
rubidium 75f0cb28cd (svn r9910) -Codechange: prepare road building/removing commands for more road types. 17 years ago
rubidium 33c3420ef4 (svn r9897) -Codechange: prepare the toolbar for more road types. 17 years ago
rubidium fe420111e8 (svn r9893) -Fix (r9892): various small bugs that only act up when using something different than plain roads. 17 years ago
rubidium 51109475a2 (svn r9892) -Codechange: lots of ground work for allowing multiple types of "road" with multiple owners on a single tile. 17 years ago
truelight b605f68631 (svn r9846) -Codechange: introduced ZOOM_LVL_MIN and ZOOM_LVL_MAX for the obvious reasons
-Codechange: introduced ZOOM_LVL_DETAIL to show/remove details
-Codechange: changed << and >> operator with ZoomLevel to a simple wrapper (that in theory also allows zoom-in besides the current zoom-out)
-Fix r9845: missed some int -> ZoomLevel
17 years ago
truelight dc191785db (svn r9844) -Codechange: replace zoomlevel with an enum
-Codechange: use predefined enums for viewport zoomlevels
17 years ago
peter1138 e4ada15d49 (svn r9805) -Codechange: Use HASBIT() et al for display options bits. 17 years ago
maedhros 1d05573950 (svn r9730) -Feature: [NewGRF] Add support for miscellaneous grf feature bit 1 - paved roads on desert tiles. 17 years ago
rubidium 7577954ced (svn r9672) -Cleanup: lots of coding style fixes around operands. 17 years ago
belugas 76faa0f759 (svn r9664) -Documentation: Doxygen corrections,errors and omissions 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
belugas 27311537ce (svn r9542) -Fix(FS# 712): When checking if a vehicle is on a given tile, and you are working on the ground tile, do not take aircrafts into account, as they do not pose any danger for the construction/destruction/conversion itself. Z stuff, in other words 17 years ago
belugas 34272ad201 (svn r9523) -Cleanup: doxygen changes. Time to take care of "R" 18 years ago
celestar 44be40052f (svn r9425) -Codechange/Fix (FS#689): Housekeeping in the convert rail functions: Changed the order of error checks to generate more meaningful error messages, added some doxygen comments and replaced bitshifting by proper mathematical operations 18 years ago