summaryrefslogtreecommitdiff
path: root/src/rail_gui.cpp
AgeCommit message (Collapse)Author
2008-05-15(svn r13104) -Codechange: make ResetObjectToPlace safe to be called ↵rubidium
recursively via the OnPlaceObjectAbort callback and use this knowledge to simplify closing some windows.
2008-05-09(svn r13024) -Codechange: do not use WE_MOUSELOOP when WE_TICK suffices, ↵rubidium
rename WE_4 to something more descriptive and correct some (completely incorrect) comments.
2008-05-08(svn r13011) -Codechange: move PlaceProc_BuyLand out of rail_gui.cpp to the ↵rubidium
place where it is used and remove some unneeded globalisations of some other PlaceProc functions.
2008-05-08(svn r13005) -Codechange: prepare AllocateWindowDescFront for subclassing of ↵rubidium
Window.
2008-05-08(svn r13004) -Codechange: replace AllocateWindow and AllocateWindowDesc with ↵rubidium
a Window constructor.
2008-05-07(svn r12987) -Codechange: split viewport and tile selection.rubidium
2008-05-06(svn r12976) -Codechange: use w->SetDirty() instead of SetWindowDirty(w) ↵rubidium
when it's certain that w != NULL.
2008-05-06(svn r12975) -Codechange: replace DeleteWindow(w) with delete w.rubidium
2008-05-04(svn r12939) -Codechange: do not use the window proc to determine whether a ↵rubidium
toolbar is a rail toolbar, but use the window number.
2008-04-21(svn r12819) -Codechange: handle more NewGRFs in the same way as TTDP does ↵rubidium
it, i.e. testing the low bits for 0xFF or 0 instead of all bits.
2008-04-18(svn r12765) -Codechange: move some stuff out of variables.h that required ↵rubidium
including other headers in variables.h.
2008-04-06(svn r12596) -Feature: show what cargos a station could be supplied with. ↵rubidium
Patch by Roujin.
2008-04-05(svn r12577) -Fix (r11547): the convert signal button disallowed signal ↵smatz
dragging when the signal GUI was closed
2008-04-03(svn r12553) -Fix (r11547): redraw the signal GUI when the signal drag ↵smatz
density changes in the patch settings and vice versa
2008-04-03(svn r12550) -Change: the signal GUI is now persistent - has the same data ↵smatz
when it is reopened
2008-04-03(svn r12549) -Fix [FS#1900](r11547): respect type of selected signal when ↵smatz
building more signals using the GUI -Fix: do not check patch settings but check if the Signal GUI window is open instead
2008-03-31(svn r12489) -Codechange: split station.h into station_base.h and ↵rubidium
station_func.h.
2008-02-20(svn r12199) -Codechange: Remove magic around the results of ↵frosch
GetTileTrackStatus().
2008-02-17(svn r12168) -Fix: behave a bit better when 'R' is pressed during rail ↵smatz
station dragging
2008-02-17(svn r12167) -Feature(tte): change colour of autorail and autoroad selection ↵smatz
when Ctrl is pressed
2008-02-15(svn r12154) -Codechange: removed a magic numberglx
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-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-17(svn r11912) -Codechange: use dropdown widget for autoreplace, station ↵peter1138
builder and (second?) vehicle list windows
2008-01-15(svn r11859) -Codechange: Update newgrf station class dropdown to use new ↵peter1138
method of generating list.
2008-01-14(svn r11848) -Codechange: New class-based drop down list functionality. ↵peter1138
Lists are now dynamically generated, and can include parameters, or be extended however needed.
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 r11800) -Codechange: move some functions to a more logical location + ↵rubidium
some type safety.
2008-01-09(svn r11787) -Codechange: more header rewrites. This time related to viewport.h.rubidium
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-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 r11702) -Codechange: move all date related stuff to date*.rubidium
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-23(svn r11689) -Fix: compilation error and most of warnings for gcc 4.3smatz
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 r11680) -Codechange: refactor more out of openttd.h and functions.h.rubidium
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-16(svn r11649) -Codechange: some code can be simplified thanks to changes in ↵smatz
r11642
2007-12-16(svn r11644) -Codechange: merge some functions from tunnel_map.h and ↵smatz
bridge_map.h into tunnelbridge_map.h
2007-12-08(svn r11592) -Codechange: Use the Window member RaiseButtons and remove the ↵belugas
now useless RaiseWindowButtons function