summaryrefslogtreecommitdiff
path: root/src/genworld_gui.cpp
AgeCommit message (Collapse)Author
2009-02-25(svn r15576) -Codechange: rename SwitchModes to SwitchMode and don't ↵yexo
hardcode the values for that enum.
2009-02-25(svn r15575) -Codechange: Rename GameModes to GameMode and store _game_mode ↵yexo
as GameMode instead of as byte.
2009-02-24(svn r15573) -Fix (r15538): Terrain type and sea level couldn't be changed ↵yexo
in the scenario editor.
2009-02-21(svn r15538) -Fix (r15334): The difficulty level wasn't set to custom when ↵yexo
changing the amount of towns/industries from the newgame gui.
2009-02-14(svn r15495) -Revert (r15383,r15422): Loading NewGRFs depends on correct ↵yexo
settings, but the economy can only be started after loading NewGRFs. In short: r15383 causes more problems then it's worth.
2009-02-09(svn r15424) -Codechange: make it possible to have multiple windows with ↵rubidium
edit box open simultaniously (Zuu).
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.
2009-02-06(svn r15383) -Cleanup: Don't call MakeNewgameSettingsLive more often than ↵Yexo
necessary.
2009-02-04(svn r15340) -Fix [FS#2121]: changing town road layout in-game caused ugly ↵smatz
road networks -Fix: use a flag instead of TL_NO_ROADS to forbid towns to build roads. The flag is ignored during world generation, so there won't be 'ghost' towns anymore -Feature: town layout is now stored per town, so it is possible to (manually) set different layout for each town
2009-01-31(svn r15299) -Cleanup: remove many redundant includessmatz
2009-01-28(svn r15288) -Fix (r15212): Don't set the newgame setting for water borders ↵Yexo
to a random value if it's 'random' when the newgame gui is opened.
2009-01-23(svn r15240) -Fix (r15212): Loading heightmaps resulted in an assert.Yexo
2009-01-23(svn r15212) -Feature [FS#2566]: Change the dropdown box where you can chose ↵Yexo
which edges will be water to 4 pushbuttons (based on patch by planetmaker).
2009-01-21(svn r15190) -Feature: Allow terraforming of the tiles at the edges of the map.Yexo
2009-01-17(svn r15117) -Codechange: enlarge a few text boxes in the Create Scenario ↵belugas
window, allowing them to be more visible.
2009-01-16(svn r15115) -Documentation: Add some widget enums to the widget array ↵belugas
definition (Terkhen).
2009-01-12(svn r15027) -Merge: tomatos and bananas left to be, here is NoAI for all to ↵truebrain
see. NoAI is an API (a framework) to build your own AIs in. See: http://wiki.openttd.org/wiki/index.php/AI:Main_Page With many thanks to: - glx and Rubidium for their syncing, feedback and hard work - Yexo for his feedback, patches, and AIs which tested the system very deep - Morloth for his feedback and patches - TJIP for hosting a challenge which kept NoAI on track - All AI authors for testing our AI API, and all other people who helped in one way or another -Remove: all old AIs and their cheats/hacks
2009-01-06(svn r14855) -Documentation: Apply some widget naming to the widget arrays. ↵belugas
Based on Yorick's work
2009-01-03(svn r14804) -Codechange: unify opening the OSK (Zuu)rubidium
2008-10-22(svn r14514) -Codechange: use 'size' instead of 'length' for querystring and ↵smatz
textbuf, explicitly say it includes the terminating zero -Fix: one couldn't rename things with too long default/automatic name -Fix: buffer overflow in console when too long (1024 bytes) command was entered
2008-09-23(svn r14390) -Codechange: replace magic constants with symbolic constants.rubidium
2008-09-15(svn r14331) -Codechange: use an enum as additional parameter for ↵smatz
ShowQueryString()
2008-08-20(svn r14105) -Fix: Some typos that are more grammatical errors, as it seems.belugas
Provided by ln I've added a little fix on currency.cpp too, why not :)
2008-08-13(svn r14060) -Codechange: Replace numbers with Colours enum on Gen world gui.belugas
Note that some WWT_TEXT widgets have received a COLOUR_x value. It is not a valid colour a per say. THe strings been displayed there do have their own colours encoded. IT is currently just for the sake of ease of writing, as TextColour and Colours are not really related.
2008-08-11(svn r14046) -Codechange: make the size of querystring "widgets" more ↵rubidium
configurable.
2008-07-17(svn r13715) -Fix [FS#2129]: C-like strings had to be rebound each time they ↵rubidium
were printed, otherwise the text could change due to the few number of slots that could be used to bind. -Codechange: remove all BindCString and related functions and replace it by RAW_STRING which prints the C-string raw pointer that is on the 'print stack'.
2008-06-27(svn r13647) -Codechange: replace MAX_UVALUE() for std types with the ↵skidd13
equivalent constant
2008-06-13(svn r13508) -Fix (r7733): incorrect usage of strtoulglx
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-26(svn r13277) -Fix: opntitle 'jumping' to the temperate climate when closing ↵rubidium
the NewGRF settings window.
2008-05-26(svn r13256) -Codechange: merge the OPTS and PATS chuncks.rubidium
-Codechange: split the diff_custom variable. -Feature: allow changing some of the diff_custom variables via the console in network games.
2008-05-25(svn r13255) -Codechange: move _opt to _settings.rubidium
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-25(svn r13242) -Codechange: remove _opt_ptr.rubidium
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.