summaryrefslogtreecommitdiff
path: root/src/road_map.h
AgeCommit message (Collapse)Author
2008-11-18(svn r14591) -Fix [FS#2388](r14528): cached nearest town could be invalid ↵smatz
after importing older savegame and during town generation -Codechange: rewrite parts of code responsible for caching index of nearest town
2008-10-25(svn r14528) -Codechange: cache the closest town for all road tiles instead ↵rubidium
of only roads owned by tiles. This replaces a O(n) search over all towns from the road's tileloop with a O(1) lookup (PhilSophus)
2008-08-02(svn r13926) -Add [YAPP]: Add map accessors for path reservations. (michi_cc)rubidium
2008-05-24(svn r13233) -Fix: Replace some (incorrect) evaluations of TileOwner by ↵frosch
RoadOwner. -Fix: Before evaluating RoadOwner, check if the roadtype is present. -Fix: Some places assumed that MP_ROAD means normal street.
2008-05-06(svn r12971) -Documentation: add @file in files that missed them and add ↵rubidium
something more than whitespace as description of files that don't have a description.
2008-03-27(svn r12440) -Fix [FS#1694]: Make the road building and road removing ↵skidd13
conditions more union -Feature: Allow to build/remove more road-piece combinations directly
2008-03-25(svn r12419) -Cleanup: of the internal road-piece building and removing.skidd13
2008-03-22(svn r12390) -Fix [FS#1851]: trams failing to turn on bridge heads/tunnel ↵rubidium
entrances.
2008-02-18(svn r12179) -Codechange: use GetCrossingRailTrack() and ↵smatz
GetCrossingRailAxis() to improve code readability
2008-02-14(svn r12141) -Codechange: Introduce IsNormalRoad[Tile](), ↵frosch
IsRoadDepot[Tile]() and HasTileRoadType(); and use them.
2008-02-10(svn r12104) -Fix (r12103): remember loading indicators transparency ↵smatz
settings and make in switchable by Ctrl+9
2008-01-17(svn r11910) -Fix: play 'ding-ding' crossing sound in more cases (except ↵smatz
gameload and crossing construction) -Fix: crossing sound is bound to tile, not to vehicle
2008-01-07(svn r11776) -Codechange: more header splittings to reduce the dependencies.rubidium
2007-12-21(svn r11674) -Codechange: refactor some functions out of macros.h into more ↵rubidium
logical locations.
2007-12-19(svn r11669) -Codechange: refactor tile.h -> tile_type.h and tile_map.hrubidium
2007-12-18(svn r11663) -Codechange: moving of the road related types and functions.rubidium
2007-12-18(svn r11662) -Codechange: move some rail types/related functions around.rubidium
2007-11-20(svn r11485) -Codechange: Remove the doubled function ToggleBitT and rename ↵skidd13
the remaining to fit with the naming style
2007-11-20(svn r11484) -Codechange: Remove the doubled function SetBitT and rename the ↵skidd13
remaining to fit with the naming style
2007-11-19(svn r11482) -Codechange: Remove the doubled function ClrBitT and rename the ↵skidd13
remaining to fit with the naming style
2007-11-19(svn r11481) -Codechange: Rename the HASBIT function to fit with the naming ↵skidd13
style
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-06-01(svn r10014) -Fix: roads became automatically one way in the scenario editor. rubidium
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-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-04-03(svn r9554) -Documentation: add documentation to some map accessors.rubidium
2007-03-28(svn r9523) -Cleanup: doxygen changes. Time to take care of "R"belugas
2007-03-28(svn r9520) -Codechange: Add the notion of Industry behaviour. It means ↵belugas
what an industry can do (plant fields, cut trees, do not change production), what can be done to it (disasters like mine subsidence, jet/chopper attack), when it can be built etc...
2007-03-07(svn r9051) -Codechange: typedef [enum|struct] Y {} X; -> [enum|struct] X {};rubidium
2007-02-27(svn r8935) -Codechange: unification of track type between road and rail ↵rubidium
tiles, unification of ground type between normal rail tiles and depots/waypoints and removing the need for RailTileSubType.
2007-01-02(svn r7759) -Merge: makefile rewrite. This merge features:rubidium
- A proper ./configure, so everything needs to be configured only once, not for every make. - Usage of makedepend when available. This greatly reduces the time needed for generating the dependencies. - A generator for all project files. There is a single file with sources, which is used to generate Makefiles and the project files for MSVC. - Proper support for OSX universal binaries. - Object files for non-MSVC compiles are also placed in separate directories, making is faster to switch between debug and release compiles and it does not touch the directory with the source files. - Functionality to make a bundle of all needed files for for example a nightly or distribution of a binary with all needed GRFs and language files. Note: as this merge moves almost all files, it is recommended to make a backup of your working copy before updating your working copy.