summaryrefslogtreecommitdiff
path: root/src/gui.h
AgeCommit message (Collapse)Author
2012-01-03(svn r23735) -Codechange: remove ~50 includes from headers that weren't neededrubidium
2012-01-03(svn r23731) -Add: add GSGoal::Question(), to ask a question to a(ll) ↵truebrain
company(ies). It can contain random text, and at most 3 buttons from a collection of 17
2011-12-19(svn r23630) -Add: a Goal GUI to show your current goalstruebrain
2011-12-10(svn r23474) -Codechange: move the declaration error related functions to ↵rubidium
error.h
2011-07-03(svn r22629) -Fix [FS#4599]: Remove all usages of the ErrorRefStack. It was ↵frosch
continuously overwritten by e.g. industry prospection without closing the old error window; also StopTextRefStackUsage() was not called for errors returned by commands (which caused FS#4599). Now return in the CommandCost result whether the textref stack needs to be used, and store a copy of the stack values in the error window just like for the normal string parameters.
2010-12-21(svn r21589) -Codechange: Move PlaceLandBlockInfo() to the right file, ↵alberth
introduce a ShowLandInfo() function.
2010-10-17(svn r20962) -Fix [FS#4166](r20956): Determine tile under cursor before ↵frosch
opening the new viewport. It might appear just below the cursor.
2010-07-19(svn r20189) -Codechange: unVARDEF _display_opt and move it to a more ↵rubidium
logical location
2010-07-04(svn r20071) -Codechange: Consistently return the toolbar window for ↵frosch
ShowBuildXxxToolbar().
2010-06-05(svn r19937) -Codechange: Move some fios related prototypes to fios.hfrosch
2010-02-24(svn r19224) -Codechange: change parameters passed to ShowErrorMessage() a bitsmatz
2010-02-10(svn r19076) -Codechange: Move graph functions to their own header.terkhen
2010-02-08(svn r19062) -Codechange: Move smallmap related functions to their own header.terkhen
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-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-10-31(svn r17928) -Codechange: ShowErrorMessage() now takes the summary string ↵alberth
before the details string. Gentlemen, swap your string parameters.
2009-10-31(svn r17927) -Codechange: Rename error message string variables.alberth
2009-09-21(svn r17603) -Codechange: since now, towns are 'founded' instead of 'built'smatz
2009-08-21(svn r17248) -Fix: add GPL license notice where appropriaterubidium
2009-05-24(svn r16414) -Change: Make it harder to ignore/close important error ↵frosch
messages. Esp. do not close them automatically after some time.
2009-02-09(svn r15428) -Codechange: consistently use colour instead of having both ↵rubidium
color and colour.
2009-02-08(svn r15410) -Cleanup: get rid of most of the references to the 'patches' ↵rubidium
except where it's used for backward compatability.
2008-08-08(svn r14017) -Codechange: DrawArrowButtons now uses Colours enum to specify ↵belugas
the colour of the button
2008-06-25(svn r13628) -Feature: enable building of aqueducts in the scenario editorskidd13
-Codechange: related to this split the waterway based buttons from the landscape generation window
2008-05-29(svn r13318) -Codechange: move some functions from gui.h/misc_gui.cpp to ↵rubidium
window_gui.h/window.cpp because they belong there.
2008-05-12(svn r13061) -Codechange: make a class of the BuildTreesWindow.glx
2008-05-08(svn r13009) -Codechange: move more tile highlighting related ↵rubidium
functions/types to tilehighlight_*.h.
2008-05-07(svn r12986) -Codechange: move the landscape and transport related types ↵rubidium
from openttd.h to their own headers.
2008-05-06(svn r12977) -Codechange: remove quite some redundant (duplicate) function ↵rubidium
declarations.
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-05(svn r12953) -Feature: Open a new viewport when ctrl-clicking on a ↵peter1138
'Location' button, a town/station/industry list, or some news items.
2008-04-18(svn r12768) -Codechange: move the statusbar GUI to it's own file.rubidium
2008-04-18(svn r12767) -Codechange: merge all main toolbar related functions into a ↵rubidium
single file instead of scattering the functionality over several files.
2008-04-17(svn r12757) -Codechange: move all cheat related stuff from all over the ↵rubidium
place to a single location.
2008-03-27(svn r12441) -Feature: open the time table when pressing the order button ↵rubidium
while pressing the CTRL key. Patch by Phil Sophus.
2008-03-23(svn r12398) -Codechange [FS#1770]: Move toolbar related code to it's own ↵rubidium
little neighbourhood. Based on a patch by Dominik.
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-01-21(svn r11939) -Codechange: some type fixes and very initial steps into ↵rubidium
supporting NDS by default. Based on work by Dominik.
2008-01-19(svn r11926) -Feature: Rivers. Graphics must be provided by NewGRF else ↵peter1138
rivers are drawn as canals. Rivers can currently only be placed with-in the scenario editor.
2008-01-13(svn r11832) -Codechange: get rid of (quite) some VARDEFs.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 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.
2008-01-04(svn r11759) -Feature: Add drag-n-drop support to the raise/lower land ↵peter1138
tools. Land is raised/lowered at the start and the rest of the area levelled to match. Patch by Roujin.
2007-12-25(svn r11700) -Codechange: reduce the amount of unnecessary includes.rubidium
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 r11685) -Codechange: remove a few 'useless' includes.rubidium
2007-12-23(svn r11684) -Codechange: split gfx.h in a type and functional header.rubidium