summaryrefslogtreecommitdiff
path: root/src/road_cmd.cpp
AgeCommit message (Collapse)Author
2009-01-02(svn r14789) -Feature: allow scrolling with the left mouse button pressed ↵rubidium
(if enabled). Primarily useful for systems with touch screen (aapo)
2008-12-28(svn r14754) -Codechange: get rid of _cmd_text and just pass it as ↵rubidium
(optional) parameter.
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-10-19(svn r14491) -Documentation: updates/additions of doxygen docs (Alberth)rubidium
2008-10-14(svn r14464) -Codechange: replace (uint)-1 with UINT_MAX (PhilSophus)rubidium
2008-09-30(svn r14421) -Codechange: rename all player variables/types to company *or* ↵rubidium
client so it is immediatelly clear which one you are working with.
2008-09-13(svn r14316) -Fix: do not allow building road over level crossings and ↵smatz
drive-through road stops in the wrong direction even when the roadtype is present
2008-09-13(svn r14315) -Fix: allow adding roadtypes only to drive-through road stopssmatz
2008-09-13(svn r14314) -Fix: pay for two road bits when adding/removing roadtype at ↵smatz
drive through road stop/level crossing
2008-09-11(svn r14293) -Change: do not show PBS track reservation in the intro gamesmatz
2008-09-07(svn r14258) -Codechange: rework the way to query the vehicle hash to make ↵rubidium
sure it always results in the same irregardless of the order of the hash-linked-list. -Fix: desync in PBS reservation following, vehicle flooding and road vehicle overtake/follow code.
2008-08-25(svn r14176) -Fix: better 'safe' than ... 'save'smatz
2008-08-02(svn r13931) -Codechange [YAPP]: Retain the reservation state when ↵rubidium
building/removing waypoints or level crossings. (michi_cc)
2008-08-02(svn r13927) -Add [YAPP]: Draw reserved tracks darker, toggeld by a patch ↵rubidium
setting. (michi_cc)
2008-07-25(svn r13824) -Fix (r13822): also make sure a tile is a road stop tile before ↵rubidium
trying to get information about the roadstop...
2008-07-25(svn r13822) -Fix [FS#2166]: building through the wrong side of a drive ↵rubidium
through station was allowed.
2008-07-17(svn r13719) -Codechange: rename IsValidPlayer to IsValidPlayerID in line ↵rubidium
with all other structs/classes that are in a pool.
2008-06-24(svn r13621) -Fix: building roadbits in the wrong direction on bridges or ↵rubidium
building roadbits from underneath the bridge to the bridgehead is impossible, so don't silently ignore that error when building over houses and industries is not ignored.
2008-06-04(svn r13379) -Fix (r13255): drive side can't be changed in introglx
2008-05-29(svn r13325) -Codechange: split the client-side only settings from the ↵rubidium
settings stored in the savegame so there is no need to have a duplicate copy of it for new games.
2008-05-25(svn r13255) -Codechange: move _opt to _settings.rubidium
2008-05-25(svn r13251) -Codechange: rename _patches to _settings as that is more logic.rubidium
-Codechange: move all Settings into substructs of _settings in a way that they are logically grouped.
2008-05-25(svn r13242) -Codechange: remove _opt_ptr.rubidium
2008-05-24(svn r13234) -Fix: Check/affect town rating when removing/bulldozing ↵frosch
town-owned road under drivethrough stops. -Fix: Reset the 'town-owned-road'-flag when removing and rebuilding road under drivethrough stops.
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-21(svn r13206) -Feature(ette): Display all owners of a tile in the ↵frosch
tile-info-window.
2008-05-18(svn r13166) -Codechange: CmdSetRoadDriveSide belongs in road_cmd.cpp, not ↵rubidium
settings_gui.cpp.
2008-05-14(svn r13090) -Codechange: add functions for direct conversion from ↵smatz
DiagDirection to Track and Trackbits
2008-05-08(svn r13016) -Codechange: unify the detection if rail catenary should be drawnsmatz
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-04-29(svn r12919) -Fix [FS#1965]: flood road tiles even when there are road works ↵smatz
in progress
2008-04-23(svn r12857) -Fix [FS#1948]: remove the last uses of AutoPtr in the station ↵rubidium
code.
2008-04-23(svn r12855) -Codechange: do not use autoptr's for testing whether certain ↵rubidium
objects can be build, but check it directly in the pool so we do not have to call destructors in the testing phase. Stations still use the autoptr though.
2008-04-20(svn r12804) -Codechange: move the effect vehicle handling out of vehicle.cpprubidium
2008-04-20(svn r12801) -Codechange: remove the dependency of function.h in town_map.hrubidium
2008-04-17(svn r12757) -Codechange: move all cheat related stuff from all over the ↵rubidium
place to a single location.
2008-04-17(svn r12754) -Codechange: split depot.h into depot_map.h, depot_func.h and ↵rubidium
depot_base.h and remove quite a lot of unneeded (before this) includes of depot.h.
2008-04-13(svn r12682) -Fix [FS#1920]: removing road pieces from a town gave you twice ↵rubidium
the intended penalty.
2008-04-07(svn r12622) -Fix: infinite loop in case your compiler decides that enums ↵rubidium
are unsigned by default. Patch by Dominik.
2008-04-04(svn r12569) -Cleanup: variable scope and coding style in road*.cppsmatz
2008-04-03(svn r12547) -Feature: invisibility options to make objects invisible ↵smatz
instead of transparent
2008-03-27(svn r12443) -Add: OpenTTDs version to openttd.cfg, just so we do not need ↵rubidium
to keep to ask people for their version number because it's likely they give you the wrong answer anyway.
2008-03-27(svn r12442) -Feature: Allow build leveled roads on slopes for the old aiskidd13
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-25(svn r12410) -Codechange: abstract out the test for catenary on electric railspeter1138
2008-03-12(svn r12363) -Fix: do not allow building 'zero' road bitssmatz
2008-02-27(svn r12290) -Fix[FS#1807]: Do not draw trees nor lamps between tram ↵belugas
tracks.(Roujin)
2008-02-20(svn r12199) -Codechange: Remove magic around the results of ↵frosch
GetTileTrackStatus().