summaryrefslogtreecommitdiff
path: root/src/road_cmd.cpp
AgeCommit message (Collapse)Author
2007-09-01(svn r11031) -Codechange: reduce the amount of duplication of bit counting ↵rubidium
functions. Based on patches by skidd13, SmatZ and Belugas.
2007-08-30(svn r11005) -Codechange: move the tiletype specific terraforming checks to ↵rubidium
the functions for those tile types. -Codechange: barren the rail grounds on terraforming.
2007-08-30(svn r11003) -Codechange: replace Vehicle->next to Vehicle->Next() and ↵rubidium
Vehicle->SetNext() so we can trap instances that change a next pointer and (in the future) update the first/previous pointers based on that.
2007-08-14(svn r10890) -Fix [FS#1125]: removing road with the road removal tool would ↵rubidium
also work with a negative bank account, making the bank account even more negative than it was.
2007-08-09(svn r10833) -Fix [FS#1115]: assertion (different cost between test and ↵rubidium
execution) of overbuilding road tunnels with tram tracks (and vice versa) when the dragged area contains both ends of the tunnel.
2007-08-02(svn r10758) -Codechange: make the depot struct use the pool item class as ↵rubidium
super class.
2007-07-29(svn r10733) -Codechange: change MP_STREET into MP_ROAD as we use the word ↵rubidium
"road" everywhere except in the tile type.
2007-07-29(svn r10718) -Fix (r10698): when having a road corner on a slope removing ↵rubidium
the road bit perpendicular on the slope made the foundation disappear.
2007-07-26(svn r10698) -Codechange [FS#1082]: simplify the code related to ↵rubidium
foundations. Primarily removal of (duplicated|magic) code and introduction of few helper functions to ease foundation determination. Patch by frosch.
2007-07-26(svn r10696) -Codechange: remove duplication of the "make sprite ↵rubidium
transparent" code.
2007-07-26(svn r10695) -Fix [FS#1079]: building single pieces of road over tramtrack ↵rubidium
or vice versa on slopes did not work as expected.
2007-07-16(svn r10587) -Codechange: move the string/dparam related stuff from ↵rubidium
variables.h to strings.h
2007-07-10(svn r10502) -Fix [FS#1017]: trying to get the town from a tile that can ↵rubidium
never be associated with a town.
2007-06-19(svn r10224) -Fix [FS#891]: the town road belongs to didn't get set properly ↵rubidium
when a town builds road over tram bits.
2007-06-19(svn r10221) -Fix: the one way sprites weren't drawn in the correct order, ↵rubidium
so they could remove the tramtrack in some cases.
2007-06-18(svn r10205) -Codechange: refactor returning of cost, so it can be more ↵rubidium
easily modified.
2007-06-18(svn r10200) -Codechange: add "shortcut" for !CmdFailed (CmdSucceeded).rubidium
2007-06-18(svn r10197) -Codechange: replace int32 with CommandCost where appropriate.rubidium
2007-06-11(svn r10097) -Feature: Add support for articulated road vehicles, or ↵maedhros
callbacks 11 and 17 for road vehicles for those who prefer the technical explanation.
2007-06-07(svn r10053) -Fix: could not clear a level-crossing tile with tram tracks.rubidium
2007-05-31(svn r10004) -Fix: trams can always intersect/have junctions on one way ↵rubidium
roads (because they only work for busses and lorries).
2007-05-31(svn r9999) -Feature: make it possible to disallow busses and lorries to go ↵rubidium
a specific way on straight pieces of road.
2007-05-31(svn r9996) -Fix: be more strict when building/upgrading roads and/or road ↵rubidium
stops.
2007-05-30(svn r9991) -Fix: one could build road when trams were driving on the tile ↵rubidium
and vice versa.
2007-05-30(svn r9986) -Fix (r9934): flooding towns could not remove tram tracks ↵rubidium
(boekabart).
2007-05-28(svn r9964) -Fix: removing of road should not be free of charge. rubidium
2007-05-27(svn r9955) -Codechange: Make _roadveh_enter_depot_unk0 slightly less ↵maedhros
mysterious.
2007-05-27(svn r9951) -Fix: slope check was incomplete when building road over tram ↵glx
track (and vice-versa) -Fix: you could build a drive-through station over a sloped road/tram track
2007-05-26(svn r9949) -Fix: (road) depots got deowned on bankrupts.rubidium
2007-05-26(svn r9948) -Fix (r9947): building illegal roads on slopes. Why do 'fixes' ↵rubidium
always have the tendancy to backfire?
2007-05-26(svn r9947) -Fix [FS#807]: don't check whether roadbits may be built when ↵rubidium
they are already built for another type.
2007-05-26(svn r9946) -Fix: more places that weren't correctly marked dirty...rubidium
2007-05-26(svn r9945) -Fix: bridges were not properly marked dirty when ↵rubidium
adding/removing roadtypes.
2007-05-26(svn r9943) -Fix [FS#806]: building roads/trams did take notice of the ↵rubidium
foundation of the opposite roadtype.
2007-05-26(svn r9942) -Fix [FS#804]: crash when upgrading both ends of a bridge. rubidium
2007-05-26(svn r9934) -Fix (r9923): towns could remove 'half' tram tracks.rubidium
2007-05-26(svn r9931) -Fix: some glitches with catenary and bridges. rubidium
2007-05-26(svn r9929) -Fix [FS#803]: fix several drawing issues. rubidium
2007-05-25(svn r9923) -Add: support for Action 0 Road vehicles, property 1C, bit 0.rubidium
2007-05-25(svn r9921) -Fix (r9892): ownership wasn't properly propagated on owner changes.rubidium
2007-05-24(svn r9914) -Codechange: prepare GTTS and the pathfinders to handle multiple ↵rubidium
road types on a single tile.
2007-05-24(svn r9910) -Codechange: prepare road building/removing commands for more ↵rubidium
road types.
2007-05-21(svn r9897) -Codechange: prepare the toolbar for more road types.rubidium
2007-05-20(svn r9893) -Fix (r9892): various small bugs that only act up when using ↵rubidium
something different than plain roads.
2007-05-20(svn r9892) -Codechange: lots of ground work for allowing multiple types of ↵rubidium
"road" with multiple owners on a single tile.
2007-05-15(svn r9846) -Codechange: introduced ZOOM_LVL_MIN and ZOOM_LVL_MAX for the ↵truelight
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
2007-05-15(svn r9844) -Codechange: replace zoomlevel with an enumtruelight
-Codechange: use predefined enums for viewport zoomlevels
2007-05-07(svn r9805) -Codechange: Use HASBIT() et al for display options bits.peter1138
2007-04-27(svn r9730) -Feature: [NewGRF] Add support for miscellaneous grf feature bit ↵maedhros
1 - paved roads on desert tiles.
2007-04-18(svn r9672) -Cleanup: lots of coding style fixes around operands.rubidium