summaryrefslogtreecommitdiff
path: root/src/airport_gui.cpp
AgeCommit message (Collapse)Author
2012-04-22(svn r24167) -Codechange: Rename NewGRFClass::GetCount() to ↵frosch
NewGRFClass::GetClassCount()
2012-04-22(svn r24166) -Codechange: Turn NewGRFClass::Get(Tid, uint) and GetCount(Tid) ↵frosch
into non-static members GetSpec(uint) and GetSpecCount().
2012-04-22(svn r24162) -Codechange: Remove NewGRFClass::GetName() and SetName() in ↵frosch
favour of using Get() and direct member access (which is needed anyway for GRF string resolving).
2012-01-03(svn r23740) -Codechange: remove some 300 unneeded includes from the .cpp filesrubidium
2011-12-16(svn r23531) -Codechange: document and rename widgets to be consistent and ↵truebrain
understandable
2011-12-15(svn r23528) -Codechange: move widget enums to widgets/NNN_type.htruebrain
2011-11-10(svn r23179) -Codechange: use some tooltips that already existed (monoid)rubidium
2011-08-04(svn r22716) -Fix: Murphy is a bitchplanetmaker
2011-08-04(svn r22715) -Fix: If there's also no point in opening the air toolbar via ↵planetmaker
custom-defined global hotkeys, if there are no aircraft available
2011-06-04(svn r22538) -Fix [FS#4619]: possible crash when opening the airport build ↵rubidium
window for the first time
2011-05-27(svn r22497) -Codechange: Simplify button handling in airport build GUIplanetmaker
2011-05-27(svn r22495) -Fix: The layout selectors of the airport build GUI did not ↵planetmaker
latch properly
2011-05-27(svn r22494) -Fix: airport preview sprite can depend on the layout, so ↵yexo
update the cached SpriteID when the layout changes
2011-05-06(svn r22429) -Add: some constants for specific palette colours used in the GUI.frosch
2011-05-04(svn r22421) -Fix: Replace various references to Windows palette greyscale ↵frosch
indices with the DOS palette indices.
2011-01-26(svn r21909) -Fix: some missing spacesrubidium
2010-12-24(svn r21627) -Codechange: Remove _place_proc global variable.alberth
2010-12-23(svn r21609) -Fix (r21545,r21552,r21580,r21586): Restore diagonal clearing ↵alberth
of areas.
2010-12-21(svn r21580) -Codechange: Replace callback via pointer by a switch statement.alberth
2010-12-21(svn r21579) -Codechange: Remove _build_air_button_proc and its functions to ↵alberth
a switch statement, record the last started action.
2010-11-26(svn r21331) -Codechange: Make drawing the widgets default behaviour in ↵alberth
OnPaint().
2010-08-26(svn r20632) -Cleanup: remove "a few" unneeded includes, and add them to ↵rubidium
some headers
2010-08-12(svn r20470) -Codechange: Make arrow buttons lower and raise like other ↵frosch
buttons when clicked.
2010-08-12(svn r20461) -Codechange: Replace WWT_HSCROLLBAR, WWT_SCROLLBAR and ↵frosch
WWT_SCROLL2BAR with NWID_HSCROLLBAR and NWID_VSCROLLBAR.
2010-08-12(svn r20453) -Codechange: Remove direct accesses to Window::hscroll, vscroll ↵frosch
and vscroll2. Note: All windows get individual members with the same names, which are initialised via Window::GetScrollbar(). This caching is not required at all, but simplifies conversion.
2010-08-12(svn r20452) -Codechange: Remove NWidgetCore::FindScrollbar() and associate ↵frosch
scrollbar explicitly using a NWidgetPart via SetScrollbar().
2010-08-07(svn r20407) -Codechange: make AirportClass use the new generic classrubidium
2010-08-05(svn r20382) -Codechange: Hide default airport layoutname if there is only ↵frosch
one layout.
2010-08-05(svn r20379) -Codechange: Draw airport preview using company colours.frosch
2010-08-05(svn r20373) -Feature: [NewGRF] callback 0x156 to use another name for ↵yexo
airport layouts than the default "Layout x"
2010-08-05(svn r20372) -Feature; [NewGRF] callback 0x155 to display extra information ↵yexo
about an airport in the build gui
2010-08-05(svn r20369) -Feature: preview sprites for airportsyexo
2010-08-05(svn r20366) -Codechange: store the rotation of the airport layout in the ↵yexo
station struct and use it to rotate hangar tiles
2010-08-05(svn r20365) -Codechange: allow multiple layouts for one airport ↵yexo
statemachine, store the layout number
2010-08-04(svn r20362) -Codechange: use correct parameter type for SetFill in airport guiyexo
2010-08-01(svn r20281) -Codechange: unify case scope closure + break coding stylerubidium
2010-07-04(svn r20071) -Codechange: Consistently return the toolbar window for ↵frosch
ShowBuildXxxToolbar().
2010-07-03(svn r20070) -Feature: when none of the open windows handles a keypress, try ↵yexo
all toolbars for global hotkeys Users that have run a version between r20056 and r20068 should delete their hotkeys.cfg to reset the terraform toolbar hotkeys to default
2010-07-03(svn r20062) -Feature: customizable hotkeys for the airport toolbaryexo
2010-05-13(svn r19814) -Codechange: give some more unnamed enums a name, in case they ↵rubidium
consisted of unrelated values use static const (u)int
2010-03-06(svn r19333) -Fix (r19328): int versus uint comparison warning fixed.alberth
2010-03-05(svn r19328) -Feature: a more extendable gui for building airportsyexo
2010-02-22(svn r19205) -Codechange: move AirportSpec to newgrf_airport.h/cppyexo
2010-01-30(svn r18966) -Codechange: Remove Window::OnDoubleClick() in favour of a ↵frosch
parameter for OnClick().
2010-01-15(svn r18809) -Codechange/Cleanup: remove unneeded headers from some files, ↵rubidium
if a header require a header make it include that header
2010-01-15(svn r18807) -Codechange: introduce AirportSpec and move several ↵yexo
non-statemachine-related variables to there
2010-01-11(svn r18781) -Codechange: pass the CommandCost to the callback instead of ↵rubidium
whether it succeeded or not. -Fix: AIs did update their last cost incorrectly in network games if the cost of the DC_EXEC phase differed from the ~DC_EXEC phase.
2009-11-28(svn r18324) -Codechange: there's no need for a default size when the window ↵rubidium
isn't resizable
2009-11-28(svn r18322) -Codechange: remove the WDP duplication; no need to tell the ↵rubidium
same twice.
2009-11-28(svn r18321) -Fix [FS#3331]: make the toolbars also calculate their top ↵rubidium
location based on the main toolbar's height instead of hardcoding that