summaryrefslogtreecommitdiff
path: root/src/airport_gui.cpp
AgeCommit message (Collapse)Author
2009-07-05(svn r16752) -Codechange: Remove most of the window-changing code from ↵yexo
AirportPickerWindow::OnPaint
2009-06-21(svn r16614) -Codechange: Make the airport min/max available year a property ↵yexo
of the Airport class. -Change: rename station.always_small_airport to station.never_expire_airports to make it more future-proof
2009-05-31(svn r16486) -Codechange [FS#2939]: Added widget numbers to the airport ↵alberth
toolbar (based on work by erikjanp)
2009-05-17(svn r16327) -Codechange: replace IsValidPoolItemID(index) by ↵smatz
PoolItem::IsValidID(index)
2009-04-26(svn r16160) -Codechange: remove the need for explicit TC_FROMSTRING for ↵rubidium
DrawString.
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-04-19(svn r16088) -Codechange: merge HighLightStyle and ViewportHighlightMode as ↵rubidium
they are basically the same thing
2009-03-22(svn r15820) -Codechange: Some windows using nested widgetsalberth
2009-03-22(svn r15810) -Fix: Airport-type labels overlapped with first button, ↵alberth
background did not cover whole window
2009-03-22(svn r15808) -Codechange: use the new DrawString API in a number of GUIsrubidium
2009-03-22(svn r15805) -Codechange: Completing/fixing airportpicker widget names and ↵alberth
adding them as comment
2009-03-15(svn r15723) -Codechange: use a constructor for WindowDescs as that makes ↵rubidium
expanding them much easier (Alberth)
2009-02-09(svn r15425) -Codechange: some color->colour changes and type safety.rubidium
2009-02-08(svn r15414) -Codechange: s/delete FindWindowById/DeleteWindowById/rubidium
2009-02-04(svn r15338) -Fix [FS#2598]: close all construction related windows whenever ↵rubidium
changing company.
2009-02-04(svn r15336) -Fix: do not use _current_company in the GUI as there are no ↵rubidium
guarantees that _current_company is the same as _local_company.
2009-01-31(svn r15299) -Cleanup: remove many redundant includessmatz
2009-01-08(svn r14919) -Feature: distant joining of stations (Frostregen and PhilSophus)rubidium
2009-01-07(svn r14902) -Feature: Advanced setting to keep various building tools ↵frosch
active, which are usually closed after placing an object. (planetmaker)
2009-01-07(svn r14895) -Change: move CMD_NO_WATER from all DoCommandPs to the command ↵rubidium
table
2009-01-04(svn r14822) -Change: save 'build station' settings in the config file, like ↵rubidium
drag'n'drop and and show coverage area (Rexxars)
2009-01-02(svn r14787) -Fix: landscape toolbar getting closed when ↵rubidium
rail/road/water/airport toolbar gets closed with linked toolbars turned on.
2008-12-28(svn r14754) -Codechange: get rid of _cmd_text and just pass it as ↵rubidium
(optional) parameter.
2008-09-30(svn r14422) -Codechange: also reflect the changes of r14421 in the filenames.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-07-30(svn r13875) -Codechange: Remove some magic numbers in favour of the Colours ↵belugas
enum they are representing
2008-07-18(svn r13731) -Codechange: make a pool of the array of players.rubidium
2008-07-17(svn r13719) -Codechange: rename IsValidPlayer to IsValidPlayerID in line ↵rubidium
with all other structs/classes that are in a pool.
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 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-24(svn r13230) -Fix [FS#2030](r13171): When closing toolbars, also close their ↵frosch
PickerWindows.
2008-05-24(svn r13226) -Feature: Allow to have more than only two airports per town. ↵belugas
The number of airports is now controlled by the noise each of them generates, the distance from town's center and how tolerant the town is. Initial concept : TTDPatch (moreairpots), Initial code : Pasky Thanks to BigBB (help coding), Smatz Skidd13 and frosch for bugcatches and advices
2008-05-19(svn r13185) -Codechange: remove everything related to the WindowProc callbacks.rubidium
2008-05-18(svn r13171) -Codechange: make a class of the ↵rubidium
Build[Air|Rail|Road|Dock]ToolbarWindows.
2008-05-18(svn r13160) -Codechange: prepare GUIPlaceProcDragXY for the removal of ↵rubidium
WindowEvent.
2008-05-17(svn r13139) -Codechange: move DrawWindowWidgets and DrawWindowViewport to ↵rubidium
the Window class and remove Window from their naming.
2008-05-17(svn r13134) -Codechange: make a class of the Airport Picker Window.belugas
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-10(svn r13026) -Codechange[FS#1999]: Further Dynamite Tool Unification.(Roujin)belugas
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 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-07(svn r12983) -Codechange [FS#1987] : Unification of all dynamite tools calls ↵belugas
to only one. Thanks to Roujin
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-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-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-29(svn r12918) -Fix [FS#1963] (r12679): last airport would always be shown as ↵rubidium
buildable even when it was not.
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.