Commit Graph

71 Commits (0df355bbda0e97edb0c642188db663620dd2e4f6)

Author SHA1 Message Date
rubidium b284b5fa92 (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 cb7eaff353 (svn r11003) -Codechange: replace Vehicle->next to Vehicle->Next() and Vehicle->SetNext() so we can trap instances that change a next pointer and (in the future) update the first/previous pointers based on that. 17 years ago
rubidium b169fceabc (svn r10890) -Fix [FS#1125]: removing road with the road removal tool would also work with a negative bank account, making the bank account even more negative than it was. 17 years ago
rubidium 2bff32afb0 (svn r10833) -Fix [FS#1115]: assertion (different cost between test and execution) of overbuilding road tunnels with tram tracks (and vice versa) when the dragged area contains both ends of the tunnel. 17 years ago
rubidium 549450d31a (svn r10758) -Codechange: make the depot struct use the pool item class as super class. 17 years ago
rubidium 7fb3f54584 (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 b0f2653eb8 (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 d624f66c79 (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 02ab86631e (svn r10696) -Codechange: remove duplication of the "make sprite transparent" code. 17 years ago
rubidium d031da78d8 (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 efc7fdf2fd (svn r10587) -Codechange: move the string/dparam related stuff from variables.h to strings.h 17 years ago
rubidium 255102d223 (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 b11bf3e157 (svn r10224) -Fix [FS#891]: the town road belongs to didn't get set properly when a town builds road over tram bits. 18 years ago
rubidium e51a513eb8 (svn r10221) -Fix: the one way sprites weren't drawn in the correct order, so they could remove the tramtrack in some cases. 18 years ago
rubidium 49220cc6f1 (svn r10205) -Codechange: refactor returning of cost, so it can be more easily modified. 18 years ago
rubidium b09431478d (svn r10200) -Codechange: add "shortcut" for !CmdFailed (CmdSucceeded). 18 years ago
rubidium 966e2738b9 (svn r10197) -Codechange: replace int32 with CommandCost where appropriate. 18 years ago
maedhros 3e326085fa (svn r10097) -Feature: Add support for articulated road vehicles, or callbacks 11 and 17 for
road vehicles for those who prefer the technical explanation.
18 years ago
rubidium 770d7188ac (svn r10053) -Fix: could not clear a level-crossing tile with tram tracks. 18 years ago
rubidium 01f80cf343 (svn r10004) -Fix: trams can always intersect/have junctions on one way roads (because they only work for busses and lorries). 18 years ago
rubidium 253aa1b0b0 (svn r9999) -Feature: make it possible to disallow busses and lorries to go a specific way on straight pieces of road. 18 years ago
rubidium 52f612d711 (svn r9996) -Fix: be more strict when building/upgrading roads and/or road stops. 18 years ago
rubidium 2db0d81cc1 (svn r9991) -Fix: one could build road when trams were driving on the tile and vice versa. 18 years ago
rubidium a31e944149 (svn r9986) -Fix (r9934): flooding towns could not remove tram tracks (boekabart). 18 years ago
rubidium 66c23060e2 (svn r9964) -Fix: removing of road should not be free of charge. 18 years ago
maedhros 21454957b5 (svn r9955) -Codechange: Make _roadveh_enter_depot_unk0 slightly less mysterious. 18 years ago
glx 8c9b4ee548 (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
18 years ago
rubidium c69458d894 (svn r9949) -Fix: (road) depots got deowned on bankrupts. 18 years ago
rubidium 35f1299d40 (svn r9948) -Fix (r9947): building illegal roads on slopes. Why do 'fixes' always have the tendancy to backfire? 18 years ago
rubidium 7088cedb7a (svn r9947) -Fix [FS#807]: don't check whether roadbits may be built when they are already built for another type. 18 years ago
rubidium 997901189f (svn r9946) -Fix: more places that weren't correctly marked dirty... 18 years ago
rubidium 54d7cb8f7c (svn r9945) -Fix: bridges were not properly marked dirty when adding/removing roadtypes. 18 years ago
rubidium 0e07a938b7 (svn r9943) -Fix [FS#806]: building roads/trams did take notice of the foundation of the opposite roadtype. 18 years ago
rubidium 016e651ffd (svn r9942) -Fix [FS#804]: crash when upgrading both ends of a bridge. 18 years ago
rubidium 04f9b1ab61 (svn r9934) -Fix (r9923): towns could remove 'half' tram tracks. 18 years ago
rubidium 78be11be40 (svn r9931) -Fix: some glitches with catenary and bridges. 18 years ago
rubidium ceae5eaeba (svn r9929) -Fix [FS#803]: fix several drawing issues. 18 years ago
rubidium 17390241e6 (svn r9923) -Add: support for Action 0 Road vehicles, property 1C, bit 0. 18 years ago
rubidium 8484a9a2e5 (svn r9921) -Fix (r9892): ownership wasn't properly propagated on owner changes. 18 years ago
rubidium 440d723d84 (svn r9914) -Codechange: prepare GTTS and the pathfinders to handle multiple road types on a single tile. 18 years ago
rubidium 04c07c9388 (svn r9910) -Codechange: prepare road building/removing commands for more road types. 18 years ago
rubidium b7748a686e (svn r9897) -Codechange: prepare the toolbar for more road types. 18 years ago
rubidium 07535d857b (svn r9893) -Fix (r9892): various small bugs that only act up when using something different than plain roads. 18 years ago
rubidium d86b5e5e93 (svn r9892) -Codechange: lots of ground work for allowing multiple types of "road" with multiple owners on a single tile. 18 years ago
truelight 765c466b8d (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
18 years ago
truelight d3f375231f (svn r9844) -Codechange: replace zoomlevel with an enum
-Codechange: use predefined enums for viewport zoomlevels
18 years ago
peter1138 0de85b7eb0 (svn r9805) -Codechange: Use HASBIT() et al for display options bits. 18 years ago
maedhros 889f2ab48c (svn r9730) -Feature: [NewGRF] Add support for miscellaneous grf feature bit 1 - paved roads on desert tiles. 18 years ago
rubidium 80c259f64f (svn r9672) -Cleanup: lots of coding style fixes around operands. 18 years ago
belugas addcae43fa (svn r9664) -Documentation: Doxygen corrections,errors and omissions 18 years ago