summaryrefslogtreecommitdiff
path: root/src/bridge_gui.cpp
AgeCommit message (Collapse)Author
2009-04-21(svn r16118) -Change/cleanup: remove the hexadecimal 'in TTD the string had ↵rubidium
this ID' from 'some' strings and replace the string name with something more sensible.
2009-03-29(svn r15885) -Codechange: Removed new_size parameter of Window::OnResize() ↵alberth
callback
2009-03-22(svn r15820) -Codechange: Some windows using nested widgetsalberth
2009-03-22(svn r15815) -Fix (~r15800): bridge strings got truncated too earlyrubidium
2009-03-22(svn r15808) -Codechange: use the new DrawString API in a number of GUIsrubidium
2009-03-15(svn r15726) -Codechange: unify coding style for const pointerssmatz
2009-03-15(svn r15723) -Codechange: use a constructor for WindowDescs as that makes ↵rubidium
expanding them much easier (Alberth)
2009-02-08(svn r15413) -Fix [FS#2529/2533]: inconsistencies between station and bridge ↵rubidium
building w.r.t. tile selection and when the window should be closed.
2009-02-04(svn r15338) -Fix [FS#2598]: close all construction related windows whenever ↵rubidium
changing company.
2009-02-01(svn r15308) -Codechange: Deduplicate km-ish/h -> mph conversions.frosch
2009-01-31(svn r15299) -Cleanup: remove many redundant includessmatz
2009-01-10(svn r14949) -Cleanup: pointer coding stylerubidium
2009-01-03(svn r14805) -Feature [FS#2238]: pressing CTRL while dragging to build a ↵rubidium
bridge build the last built bridge type if possible (planetmaker)
2008-12-28(svn r14754) -Codechange: get rid of _cmd_text and just pass it as ↵rubidium
(optional) parameter.
2008-09-14(svn r14326) -Fix: some wrong comments (Yexo)rubidium
2008-07-30(svn r13876) -Codechange: Replace numbers with Colours enum on bridge guibelugas
2008-06-20(svn r13592) -Fix: window size remembering was brokenskidd13
2008-06-16(svn r13533) -Codechange: Replace direct class member access of GUIList with ↵skidd13
the appropriate function calls
2008-06-08(svn r13419) -Fix [FS#2063]: Entries in the bridge list were not sorted when ↵rubidium
the window was just opened.
2008-05-27(svn r13280) -Fix (r13276): MSVC compilation was brokensmatz
2008-05-26(svn r13273) -Fix [FS#2042]: MSVC warnings (again)glx
2008-05-26(svn r13269) -Codechange: build bridge window uses GUILists Sort() nowskidd13
-Cleanup: make some globals part of the build bridge window
2008-05-26(svn r13266) -Codechange: Use SmallVector in GUIListpeter1138
2008-05-20(svn r13202) -Fix (r13149): MSVC signed/unsigned warningglx
2008-05-19(svn r13185) -Codechange: remove everything related to the WindowProc callbacks.rubidium
2008-05-18(svn r13159) -Feature: Add the ability to sort availible bridges in the ↵skidd13
build bridge GUI
2008-05-17(svn r13151) -Codechange: use an enum instead of bool as return type of ↵rubidium
OnKeyPress/OnCTRLStateChange to make it obvious what the return values mean.
2008-05-17(svn r13149) -Codechange: make a class of the BuildBridgeWindow.skidd13
2008-05-17(svn r13139) -Codechange: move DrawWindowWidgets and DrawWindowViewport to ↵rubidium
the Window class and remove Window from their naming.
2008-05-08(svn r13004) -Codechange: replace AllocateWindow and AllocateWindowDesc with ↵rubidium
a Window constructor.
2008-05-06(svn r12975) -Codechange: replace DeleteWindow(w) with delete w.rubidium
2008-02-14(svn r12136) -Fix(r12135): Code style compliance and... code style as suchbelugas
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-02-11(svn r12111) -Codechange: Rename Bridge to BridgeSpec, out of consistensy ↵belugas
with other Specs in used.
2008-02-11(svn r12107) -Codechange: Add and use the typedef BridgeTypebelugas
2008-02-05(svn r12066) -Codechange: Rename GetBridge for the more common GetBridgeSpecbelugas
-Codechange: Remove direct access to the _bridge table in favor of the above mentioned GetBridgeSpec -Codechange: Rationalize the use of Bridge type pointer
2008-01-23(svn r11968) -Codechange: remove redundant FindLengthOfTunnel(), use ↵smatz
GetTunnelBridgeLength() and/or GetOtherTunnelEnd() instead
2008-01-13(svn r11828) -Codechange: include table/* as the last includes and remove an ↵rubidium
unneeded include from openttd.h.
2008-01-09(svn r11787) -Codechange: more header rewrites. This time related to viewport.h.rubidium
2007-12-29(svn r11719) -Codechange: split sound.h in a header with types and one with ↵rubidium
functions.
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 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-06(svn r11580) -Feature: Memorise the resizing of the build bridge selection ↵skidd13
window during runtime
2007-11-29(svn r11539) -Feature: Make the bridge selection window resizableskidd13
2007-11-04(svn r11374) -Codechange: Give meaning to the magical number that specifies ↵belugas
the color of the text in a DrawString call. Patch heavily based on BiBB's work (FS#1383)