summaryrefslogtreecommitdiff
path: root/src/road_gui.cpp
AgeCommit message (Collapse)Author
2008-02-15(svn r12154) -Codechange: removed a magic numberglx
2008-02-14(svn r12141) -Codechange: Introduce IsNormalRoad[Tile](), ↵frosch
IsRoadDepot[Tile]() and HasTileRoadType(); and use them.
2008-02-14(svn r12135) -Codechange: Road and rail bridge selection windows were ↵belugas
identical apart the caption. So remove one window definition and set manually the caption accordingly. -Codechange: prepare the "type" of bridge parameter only once, at the beginning of the selection process. Makes less magic around.
2008-01-29(svn r12010) -Fix (r11994): build tramway window should use ↵smatz
STR_WHITE_TRAMWAY_CONSTRUCTION
2008-01-27(svn r11994) -Codechange: Remove numbers from string names where the strings ↵maedhros
aren't present in TTD, since they don't correspond to either TTD's TextIDs or OpenTTD's StringIDs.
2008-01-27(svn r11993) -Fix: Resize station/roadstop/dock/airport construction windows ↵peter1138
if cargo acceptance list is too long.
2008-01-13(svn r11834) -Codechange: only include settings_type.h if needed.rubidium
2008-01-13(svn r11828) -Codechange: include table/* as the last includes and remove an ↵rubidium
unneeded include from openttd.h.
2008-01-12(svn r11818) -Codechange: split player.h into smaller pieces.rubidium
2008-01-09(svn r11801) -Codechange: remove some unneeded includes from some header files.rubidium
2008-01-09(svn r11787) -Codechange: more header rewrites. This time related to viewport.h.rubidium
2008-01-09(svn r11786) -Codechange: shuffle more includespeter1138
2008-01-06(svn r11768) -Codechange: move some terraform related gui stuff from ↵rubidium
main_gui.cpp to terraform_gui.cpp (and introduce terraform_gui.h). Based on a patch by Roujin.
2007-12-31(svn r11729) -Codechange: Don't rely on the first railtype's sprite offset ↵peter1138
being zero when drawing road stations.
2007-12-29(svn r11719) -Codechange: split sound.h in a header with types and one with ↵rubidium
functions.
2007-12-27(svn r11706) -Codechange: split vehicle.h and remove another bunch of ↵rubidium
useless includes.
2007-12-26(svn r11701) -Codechange: removal unnecessary inclusions of map.h (and split ↵rubidium
map.h).
2007-12-25(svn r11692) -Codechange: move some functions from 'functions.h' to a more ↵rubidium
logical place and remove about 50% of the includes of 'functions.h'
2007-12-22(svn r11682) -Codechange: move some 'generic' geometry related types into a ↵rubidium
single file and do not include gfx.h everywhere to get a Point type.
2007-12-21(svn r11677) -Codechange: move price and command related types/functions to ↵rubidium
their respective places.
2007-12-21(svn r11675) -Codechange: split the string types from the string functions.rubidium
2007-12-19(svn r11669) -Codechange: refactor tile.h -> tile_type.h and tile_map.hrubidium
2007-12-19(svn r11668) -Codechange: more refactoring aimed at reducing compile time ↵rubidium
and making it more logic where function definitions can be found.
2007-12-19(svn r11667) -Codechange: split window.h into a header that defines some ↵rubidium
'global' window related types, on that defined 'global' window functions and one that defines functions and types only used by *_gui.cpps.
2007-12-18(svn r11663) -Codechange: moving of the road related types and functions.rubidium
2007-12-07(svn r11587) -Fix (r11457): The one way road button wasn't reset on abortskidd13
2007-12-02(svn r11555) -Codechange: use the new members introduced in r11551.rubidium
2007-11-24(svn r11512) -Change: make the subsidy window able to resize to something ↵rubidium
smaller than 640x127 (especially the 640 part) when the screen is really too small.
2007-11-24(svn r11505) -Fix/Feature: make CTRL work on all road/rail construction ↵rubidium
options that 'work' with the 'Bulldozer' button instead of only a few.
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 r11481) -Codechange: Rename the HASBIT function to fit with the naming ↵skidd13
style
2007-11-18(svn r11466) -Fix (r11339): operator priority problem resulting in ↵smatz
problematic autoroad placement in some cases
2007-11-18(svn r11459) -Fix: (r11457) The selection highlight color hasn't been resetskidd13
2007-11-18(svn r11457) -Fix: (r11455) Reenable the accidentaly removed one way roads ↵skidd13
option -Change: Enable one way roads like the remove via a toolbar icon
2007-11-18(svn r11455) -Codechange: make autoroad, 'normal' road building and 'normal' ↵rubidium
rail building all react the same on CTRL as autorail.
2007-11-17(svn r11446) -Codechange: change the naming of road related code parts to ↵skidd13
something more descriptive -Change: invert the two single roads gui buttons, making it consistent with rails toolbar Based on a patch by Octopussy
2007-10-26(svn r11344) -Codechange: Removes some magic numbers referring the ↵belugas
highlighting mode in road_gui.cpp Some typos fixed too.(FS#1371-skidd13)
2007-10-22(svn r11339) -Add: autoroad; same as autorail, but for road and trams and ↵rubidium
only on X and Y direction. Patch by Octopussy and skidd13.
2007-10-14(svn r11264) -Codechange: replace a lot of magic numbers with enums for the ↵rubidium
rail and road GUIs. Patch by skidd13.
2007-09-04(svn r11040) -Fix [FS#1179]: removing CMD_AUTO from some commands could ↵rubidium
remotely trigger an assertion.
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-27(svn r10704) -Codechange: provide an infrastructure to have resizable ↵rubidium
windows that are smaller than the default window size.
2007-07-27(svn r10702) -Fix: "Can't build ..." instead of "Can't remove ..." message ↵rubidium
shown for road stops for trucks/cargo trams.
2007-07-16(svn r10601) -Codechange: store (and use) the type of stations instead of ↵rubidium
hardcoding station types by graphics IDs.
2007-07-16(svn r10587) -Codechange: move the string/dparam related stuff from ↵rubidium
variables.h to strings.h
2007-07-12(svn r10522) -Fix: the "build truck station" GUI showed that it would accept ↵rubidium
tourists when it does not, whereas the "build bus station" GUI did not show them when it did accept them.
2007-06-27(svn r10353) -Fix/Feature [FS#669]: disallow (in the GUI) the building of ↵rubidium
infrastructure you do not have available vehicles for. This means that the airport building button is disabled till you can actually build aircraft. The game itself will not disallow you to build the infrastructure and this "new" behaviour can be overriden with a patch setting.
2007-06-01(svn r10015) -Fix: one could build (only) tram tracks when that was the last ↵rubidium
built roadtype (in a normal game).
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-26(svn r9933) -Fix (9925): unified a little too much.rubidium