Commit Graph

52 Commits (cce3d4fec805ae3c55d24a9d05cbc6c1a3aeba99)

Author SHA1 Message Date
rubidium df16ebd730 (svn r23595) -Codechange: add comma after last enum to get a more uniform coding style 13 years ago
rubidium 5a620d1c65 (svn r22406) -Document: some more "random-ish" tidbits 13 years ago
terkhen 096c2857ee (svn r22049) -Codechange: Add assert condition to GetRoadOwner. 14 years ago
rubidium 9ca4b629cd (svn r21846) -Codechange: move documentation towards the code to make it more likely to be updated [o-s]. 14 years ago
michi_cc e34faa8e15 (svn r20314) -Fix (r20312): Too many parameters, missed one. 14 years ago
michi_cc 3c7b220d59 (svn r20312) -Doc: Add missing doxygen comments to road map accessors. 14 years ago
frosch ed4f806f1d (svn r20283) -Codechange: Unify start of doygen comments. 14 years ago
frosch 75d4bc947d (svn r19654) -Codechange: Use Extract<> in more places. 14 years ago
smatz 53aaabe6e9 (svn r19507) -Codechange: remove semicolon after DECLARE_POSTFIX_INCREMENT and DECLARE_ENUM_AS_BIT_SET 14 years ago
rubidium 82fc28f77f (svn r18809) -Codechange/Cleanup: remove unneeded headers from some files, if a header require a header make it include that header 15 years ago
rubidium 860b9b1cea (svn r18028) -Codechange: unglobalise some functions 15 years ago
rubidium e8ddf001c8 (svn r17570) -Fix: a number of Doxygen warnings about missing parameters, which were sometimes missing and sometimes just typos 15 years ago
rubidium 55ddce8da2 (svn r17493) -Codechange: store the depot index on the map 15 years ago
rubidium bb94724a09 (svn r17492) -Codechange: don't store the town index for road depots. 15 years ago
rubidium 7fbc33dae1 (svn r17248) -Fix: add GPL license notice where appropriate 15 years ago
rubidium 8405d7d7e7 (svn r16907) -Codechange: make a more clear distinction between reservation functions that return a bool and that return TrackBits; GetRailStationReservation vs GetRailwayStationReservation, which one returns the bool and which one the TrackBits? 15 years ago
rubidium b5b743bcba (svn r16795) -Fix [FS#3025]: houses wouldn't get build on the map edge. 15 years ago
rubidium 9d018723b7 (svn r15711) -Codechange: lots of whitespace cleanup/fixes 16 years ago
smatz e124aa8fd6 (svn r15643) -Fix [FS#2711]: be more strict with zeroing unused map array bits 16 years ago
rubidium 7831346ef8 (svn r15601) -Fix [FS#2615]: bridges/tunnels don't store tram owner making it possible to remove someone's tram tracks.
-Feature: allow building road stops on road/tram tracks of competitors.
16 years ago
smatz 07e3c096b3 (svn r14591) -Fix [FS#2388](r14528): cached nearest town could be invalid after importing older savegame and during town generation
-Codechange: rewrite parts of code responsible for caching index of nearest town
16 years ago
rubidium a14ad77a36 (svn r14528) -Codechange: cache the closest town for all road tiles instead 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) 16 years ago
rubidium ec7cc49825 (svn r13926) -Add [YAPP]: Add map accessors for path reservations. (michi_cc) 16 years ago
frosch 6e7a7412cd (svn r13233) -Fix: Replace some (incorrect) evaluations of TileOwner by RoadOwner.
-Fix: Before evaluating RoadOwner, check if the roadtype is present.
-Fix: Some places assumed that MP_ROAD means normal street.
16 years ago
rubidium d03994098b (svn r12971) -Documentation: add @file in files that missed them and add something more than whitespace as description of files that don't have a description. 16 years ago
skidd13 b490a21e50 (svn r12440) -Fix [FS#1694]: Make the road building and road removing conditions more union
-Feature: Allow to build/remove more road-piece combinations directly
16 years ago
skidd13 82eebc20c0 (svn r12419) -Cleanup: of the internal road-piece building and removing. 17 years ago
rubidium f0538b4b62 (svn r12390) -Fix [FS#1851]: trams failing to turn on bridge heads/tunnel entrances. 17 years ago
smatz 509b3a3247 (svn r12179) -Codechange: use GetCrossingRailTrack() and GetCrossingRailAxis() to improve code readability 17 years ago
frosch 43c0f7ea8e (svn r12141) -Codechange: Introduce IsNormalRoad[Tile](), IsRoadDepot[Tile]() and HasTileRoadType(); and use them. 17 years ago
smatz 9e0a93d286 (svn r12104) -Fix (r12103): remember loading indicators transparency settings and make in switchable by Ctrl+9 17 years ago
smatz 8d077b16d8 (svn r11910) -Fix: play 'ding-ding' crossing sound in more cases (except gameload and crossing construction)
-Fix: crossing sound is bound to tile, not to vehicle
17 years ago
rubidium 38115acf5a (svn r11776) -Codechange: more header splittings to reduce the dependencies. 17 years ago
rubidium 01e20c9140 (svn r11674) -Codechange: refactor some functions out of macros.h into more logical locations. 17 years ago
rubidium 5b49e75453 (svn r11669) -Codechange: refactor tile.h -> tile_type.h and tile_map.h 17 years ago
rubidium e4ef359f47 (svn r11663) -Codechange: moving of the road related types and functions. 17 years ago
rubidium df0c6eb2b9 (svn r11662) -Codechange: move some rail types/related functions around. 17 years ago
skidd13 a91c2a4c39 (svn r11485) -Codechange: Remove the doubled function ToggleBitT and rename the remaining to fit with the naming style 17 years ago
skidd13 eeaa348f8b (svn r11484) -Codechange: Remove the doubled function SetBitT and rename the remaining to fit with the naming style 17 years ago
skidd13 5c31a973a1 (svn r11482) -Codechange: Remove the doubled function ClrBitT and rename the remaining to fit with the naming style 17 years ago
skidd13 71c4325c50 (svn r11481) -Codechange: Rename the HASBIT function to fit with the naming style 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 31ddab50ad (svn r10014) -Fix: roads became automatically one way in the scenario editor. 17 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. 17 years ago
rubidium 07535d857b (svn r9893) -Fix (r9892): various small bugs that only act up when using something different than plain roads. 17 years ago
rubidium d86b5e5e93 (svn r9892) -Codechange: lots of ground work for allowing multiple types of "road" with multiple owners on a single tile. 17 years ago
rubidium a403f32e59 (svn r9554) -Documentation: add documentation to some map accessors. 17 years ago
belugas 386e298acd (svn r9523) -Cleanup: doxygen changes. Time to take care of "R" 18 years ago
belugas 72fc068844 (svn r9520) -Codechange: Add the notion of Industry behaviour. It means 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... 18 years ago
rubidium 24c4d5b06d (svn r9051) -Codechange: typedef [enum|struct] Y {} X; -> [enum|struct] X {}; 18 years ago