summaryrefslogtreecommitdiff
path: root/src/genworld_gui.cpp
AgeCommit message (Collapse)Author
2008-05-23(svn r13225) -Fix (r13041): Missing calls to FindWindowPlacementAndResize() ↵peter1138
from lots of windows causing 'two stage' opening effect.
2008-05-19(svn r13185) -Codechange: remove everything related to the WindowProc callbacks.rubidium
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 r13139) -Codechange: move DrawWindowWidgets and DrawWindowViewport to ↵rubidium
the Window class and remove Window from their naming.
2008-05-17(svn r13132) -Codechange: make a class of the GenerateProgressWindow.glx
2008-05-13(svn r13069) -Codechange: it is no longer needed to pass a void *data ↵rubidium
pointer with the WE_CREATE message because nothing uses it anymore.
2008-05-11(svn r13042) -Codechange: make a class of CreateScenarioWindow, ↵rubidium
GenerateLandscapeWindow, NetworkChatWindow, NetworkCompanyPasswordWindow, NetworkGameWindow, NetworkStartServerWindow, QueryStringWindow, SaveLoadWindow. All these classes depended on the 'querystr_d' object which is now put into QueryStringBaseWindow. As a side effect this removes quite a lot of WP macro usages and a few global variables.
2008-05-10(svn r13027) -Codechange: use StrEmpty instead of arr[0] == '\0' and remove ↵rubidium
the need for WE_ON_EDIT_TEXT_CANCEL.
2008-05-08(svn r13005) -Codechange: prepare AllocateWindowDescFront for subclassing of ↵rubidium
Window.
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 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-03-27(svn r12445) -Fix: Add missing compile asserts for window data structspeter1138
2008-03-26(svn r12425) -Feature [FS#1846]: On Screen Keyboard for input fields so ↵rubidium
someone without a keyboard can enter text too. Patch by Dominik.
2008-01-29(svn r12003) -Codechange: don't declare InteractiveRandom[Range] in multiple ↵rubidium
places.
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-18(svn r11921) -Cleanup: correct indenting and switch case line spacing.peter1138
2008-01-18(svn r11919) -Codechange: Assign numbered parameters to world generator ↵peter1138
widgets to avoid separate DrawString()s, and do the same for the scenario flat-land window.
2008-01-17(svn r11907) -Codechange: clean up of worldgen/heightmap ui: replace many ↵peter1138
separate DrawString() calls with widgets, use dropdown widgets, and use consistent positioning/sizing.
2008-01-17(svn r11893) -Codechange: build map size drop downs dynamically and remove ↵peter1138
unneeded strings
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 r11787) -Codechange: more header rewrites. This time related to viewport.h.rubidium
2008-01-07(svn r11777) -Codechange: split the string header and make do not include it ↵rubidium
when it's not necessary.
2008-01-07(svn r11771) -Codechange: split settings.h into better separated headers.rubidium
2007-12-29(svn r11719) -Codechange: split sound.h in a header with types and one with ↵rubidium
functions.
2007-12-28(svn r11713) -Codechange: Move some declarations and definitions in a more ↵belugas
logical disposition
2007-12-26(svn r11702) -Codechange: move all date related stuff to date*.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-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 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-08(svn r11596) -Codechange: Use the Window member HandleButtonClick and remove ↵belugas
its now useless counterpart function
2007-12-07(svn r11588) -Codechange: use the new member introduced in r11551glx
2007-12-06(svn r11579) -Revert(r11578): some cases of key propagation are not handled ↵belugas
correctly. A better solution will be deviced, but not now. Let's not cause a ton of bug reports
2007-12-06(svn r11578) -Codechange: Introduce the window default flag WDF_TEXTENTRY ↵belugas
which specifies that the window holding it is actually one that enables an edit box. Use this flag when dispatching a key event instead of using some hard coded window IDs. This should ease a little bit the creation of new edit aware windows.
2007-12-02(svn r11555) -Codechange: use the new members introduced in r11551.rubidium
2007-11-19(svn r11475) -Codechange: rename clamp and clampu to Clamp and ClampU to fit ↵skidd13
with the coding style
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)
2007-07-27(svn r10704) -Codechange: provide an infrastructure to have resizable ↵rubidium
windows that are smaller than the default window size.
2007-07-23(svn r10665) -Codechange: replace magic 15 with MAX_TILE_HEIGHT (bilbo)truelight
-Codechange: replace magic 13 with MAX_SNOWLINE_HEIGHT (bilbo) -Codechange: assure _map_height_bits is always of correct size (Rubidium)
2007-06-30(svn r10396) -Fix: When landscape generating, allow for 200ms between screen ↵peter1138
updates instead of updating every 200ms. Previously slow screen updates would result in very slow map generation (GeekToo)
2007-06-28(svn r10370) -Fix: Heightmap GUI abused custom name system and used ↵peter1138
unnecessary globals. All details are now kept within the window's custom data.
2007-06-22(svn r10276) -Codechange: made a counter based on milliseconds and ↵truelight
independent of the game-state to base double-click and TGP Generation Process on -Codechange: renamed _timer_counter to _palette_animation_counter, as that is what it is