summaryrefslogtreecommitdiff
path: root/src/road_cmd.cpp
AgeCommit message (Collapse)Author
2007-12-08(svn r11603) -Fix [FS#1481]: make price for railtype conversion more realisticsmatz
2007-11-25(svn r11523) -Codechange: Move the CHANCE macros to core/random_func.cpp ↵skidd13
cause they depend on Random() -Codechange: Convert the CHANCE macros to functions and rename them fitting to the naming style
2007-11-24(svn r11510) -Codechange: merge the IS_*INSIDE* functions and rename them ↵skidd13
fitting to the naming style
2007-11-19(svn r11481) -Codechange: Rename the HASBIT function to fit with the naming ↵skidd13
style
2007-11-11(svn r11407) -Fix: do not allow building of tram-tracks when they are not ↵truelight
available (SmatZ)
2007-11-10(svn r11399) -Feature(ette): transparency settings can now be saved and thus ↵belugas
remembered. -Codechange: Wrap all transparency settings in accessors, hiding the implementation -Change: Clicking "transparent building" menu will toggle Houses And Trees only. The other options can be used in the transparency gui. Initial patch by Smatz (FS#1349), with some rework by BigBB and your humble servant.
2007-11-04(svn r11382) -Codechange: renamed COUNTBITS to CountBits, as it is no longer ↵truelight
a macro (skidd13)
2007-11-02(svn r11369) -Codechange [FS#1390]: changes some int to int8 in macros.h, as ↵truelight
they describe a bit-position, which fits perfectly in an int8 (max 64) (skidd13) -Codechange [FS#1390]: added consts in macros.h functions, so compilers can optimise better (skidd13) -Codechange [FS#1390]: remove HAS_SINGLE_BIT, as COUNTBITS does the same (skidd13)
2007-10-20(svn r11312) -Codechange: implement a overflow safe integer and use that for ↵rubidium
money and don't misuses CommandCost to have a overflow safe integer. Based on a patch by Noldo.
2007-10-19(svn r11303) -Fix: EnsureNoVehicle and EnsureNoVehicleOnGround were both ↵rubidium
used to check whether there was no vehicle on the ground, except that the former didn't take care of aircraft shadows. So now we only use EnsureNoVehicleOnGround.
2007-10-14(svn r11265) -Feature: Make more advanced rail types more expensive to build.maedhros
2007-10-05(svn r11206) -Fix [FS#1299]: half tram bits could be removed in some cases. ↵rubidium
Based on patches by frosch and skidd13.
2007-10-04(svn r11201) -Fix [FS#1283]: minor issue with building one way roads one ↵rubidium
tile long. Patch by SmatZ.
2007-09-26(svn r11172) -Codechange: rewrite of town road building and addition of the ↵rubidium
possibility to clean up unconnected road bits during the local road reconstructions. Based on a patch by skidd13.
2007-09-19(svn r11128) -Fix: a lot of graphical glitches by changing some bounding ↵rubidium
boxes. It's not perfect yet, but a *very* good step into the right direction. Patch by frosch.
2007-09-14(svn r11107) -Feature: some tool so one can still build tunnels under rails ↵rubidium
(and other structures) when the owner of the structure built it on foundations and if you have enough "empty" space ofcourse. One could use the tool for some other construction needs too. Patch by frosch.
2007-09-08(svn r11059) -Fix [FS#1182]: inconsistency between Rail<->ElRail conversions ↵rubidium
of different kinds of rail containing tiles (normal rail, stations, depots, etc). Patch by SmatZ.
2007-09-07(svn r11056) -Fix [FS#1213]: road/tram tiles would not always get marked ↵rubidium
dirty properly, causing glitches for non-local players. Patch by SmatZ.
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