Commit Graph

162 Commits

Author SHA1 Message Date
belugas
195f40b123 (svn r13888) -Codechange: Replace numbers with Colours enum on miscellaneous guis. 2008-07-31 02:59:21 +00:00
smatz
abea03fb89 (svn r13830) -Feature: show additional NewGRF info in the Tile Info window for stations, houses and industries 2008-07-25 22:37:34 +00:00
smatz
9943ac2942 (svn r13826) -Codechange: use 'INVALID_DATE' instead of '0' as placeholder in tile description 2008-07-25 19:50:40 +00:00
smatz
a49260b0da (svn r13800) -Codechange: minor comment style fixes in misc_gui.cpp 2008-07-23 15:01:50 +00:00
smatz
766e57df5f (svn r13787) -Codechange: resize the red error message box if needed 2008-07-22 19:25:47 +00:00
rubidium
cde65455ac (svn r13731) -Codechange: make a pool of the array of players. 2008-07-18 16:40:29 +00:00
rubidium
6898a76c5f (svn r13719) -Codechange: rename IsValidPlayer to IsValidPlayerID in line with all other structs/classes that are in a pool. 2008-07-17 20:13:01 +00:00
rubidium
5a94972c2d (svn r13715) -Fix [FS#2129]: C-like strings had to be rebound each time they 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-07-17 13:47:04 +00:00
smatz
d4a4075dc6 (svn r13601) -Codechange: resize the Tile Info window when it is needed, make it better readable 2008-06-21 18:59:15 +00:00
skidd13
f1c954e842 (svn r13359) -Codechange: convert _fios_items to a SmallVector
-Cleanup: some reincarnations of _fios_items in the code
2008-06-02 14:19:27 +00:00
rubidium
e7a501100a (svn r13325) -Codechange: split the client-side only settings from the settings stored in the savegame so there is no need to have a duplicate copy of it for new games. 2008-05-29 15:13:28 +00:00
rubidium
3716f4814d (svn r13318) -Codechange: move some functions from gui.h/misc_gui.cpp to window_gui.h/window.cpp because they belong there. 2008-05-29 06:49:56 +00:00
smatz
3f000be670 (svn r13310) -Fix: invalidate OSK when parent editbox changes (from keyboard) 2008-05-28 15:28:27 +00:00
peter1138
9a78083c8a (svn r13305) -Fix (r13039): Confirmation window sent both yes and no answers instead of just yes. 2008-05-28 06:30:55 +00:00
smatz
f505e4e407 (svn r13304) -Fix (r13042): possible double free (showed up in r13092) 2008-05-27 23:40:36 +00:00
rubidium
33e18c236d (svn r13301) -Fix [FS#1997]: resolve more MSVC 9 x64 warnings. 2008-05-27 21:41:00 +00:00
rubidium
dc77647ea4 (svn r13251) -Codechange: rename _patches to _settings as that is more logic.
-Codechange: move all Settings into substructs of _settings in a way that they are logically grouped.
2008-05-25 19:17:03 +00:00
frosch
7f80552293 (svn r13206) -Feature(ette): Display all owners of a tile in the tile-info-window. 2008-05-21 22:15:39 +00:00
smatz
c1e45bcb01 (svn r13191) -Fix: segfault after confirming query subwindow in the Generate New World window 2008-05-19 19:17:56 +00:00
rubidium
162e2e074b (svn r13185) -Codechange: remove everything related to the WindowProc callbacks. 2008-05-19 09:48:47 +00:00
rubidium
8560c8f16f (svn r13182) -Doc: add documentation to mostly rail_gui related functions. Patch by Alberth. 2008-05-19 09:24:03 +00:00
rubidium
a21d3fc63b (svn r13169) -Codechange: remove a (now) unneeded parameter of one of the Window constructors. 2008-05-18 20:40:30 +00:00
rubidium
d284ba2283 (svn r13151) -Codechange: use an enum instead of bool as return type of OnKeyPress/OnCTRLStateChange to make it obvious what the return values mean. 2008-05-17 23:11:06 +00:00
rubidium
a89b5721a8 (svn r13139) -Codechange: move DrawWindowWidgets and DrawWindowViewport to the Window class and remove Window from their naming. 2008-05-17 12:48:06 +00:00
rubidium
7f6ccdc624 (svn r13138) -Codechange: remove the need for IsWindowOfPrototype. 2008-05-17 12:26:00 +00:00
glx
0e9eb5bacb (svn r13131) -Codechange: make a class of the ErrmsgWindow. 2008-05-17 02:54:04 +00:00
rubidium
beb17f743f (svn r13094) -Fix: closing the QueryWindow would always send a 'query has been cancelled message' even when it was not cancelled causing joining passworded servers/companies to fail. 2008-05-14 20:28:11 +00:00
glx
5704d59314 (svn r13093) -Codechange: make a class of AboutWindow. 2008-05-14 20:01:06 +00:00
glx
e812c8223f (svn r13092) -Fix (r13042): don't add a variable in a subclass when the parent class already have it 2008-05-14 19:08:09 +00:00
rubidium
323004da0c (svn r13049) -Codechange: make a class of the TooltipsWindow. 2008-05-11 17:44:38 +00:00
rubidium
d8a6bb392a (svn r13042) -Codechange: make a class of CreateScenarioWindow, 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-11 12:26:20 +00:00
rubidium
29ad1d442a (svn r13041) -Fix: calling a virtual function on a not fully constructed object is bound to cause errors. 2008-05-11 11:41:18 +00:00
rubidium
dc42908757 (svn r13039) -Codechange: make a class of the Query window. 2008-05-11 06:59:51 +00:00
smatz
311a3f9675 (svn r13033) -Fix [FS#2003](r13029): land info tool wasn't working 2008-05-10 19:59:41 +00:00
rubidium
2ac412375c (svn r13029) -Codechange: more work in the road to getting the WP macros and byte[WINDOW_CUSTOM_SIZE] removed. This step changes the event handling to work directly on the Window class instead of via a function pointer and big switches while keeping backward compatability while we're rewriting the Windows to the new scheme. 2008-05-10 13:46:36 +00:00
rubidium
2c96ce4506 (svn r13027) -Codechange: use StrEmpty instead of arr[0] == '\0' and remove the need for WE_ON_EDIT_TEXT_CANCEL. 2008-05-10 08:58:52 +00:00
rubidium
0f7d925121 (svn r13024) -Codechange: do not use WE_MOUSELOOP when WE_TICK suffices, rename WE_4 to something more descriptive and correct some (completely incorrect) comments. 2008-05-09 09:29:27 +00:00
rubidium
fc47683a0b (svn r13018) -Codechange: make a class of the LandInfo Window. 2008-05-08 19:26:55 +00:00
rubidium
11d36d5e46 (svn r13015) -Codechange: move some 'WP' structs out of window_gui.h to the .cpp files where they are actually used. 2008-05-08 14:14:16 +00:00
rubidium
0c30e46c9c (svn r13010) -Codechange: move the tree building GUI out of misc_gui.cpp. 2008-05-08 13:29:35 +00:00
rubidium
92aac531c2 (svn r13005) -Codechange: prepare AllocateWindowDescFront for subclassing of Window. 2008-05-08 11:50:34 +00:00
rubidium
51cda2252c (svn r13004) -Codechange: replace AllocateWindow and AllocateWindowDesc with a Window constructor. 2008-05-08 11:31:41 +00:00
rubidium
c28ce39e3c (svn r12987) -Codechange: split viewport and tile selection. 2008-05-07 13:10:15 +00:00
rubidium
9db77e3808 (svn r12976) -Codechange: use w->SetDirty() instead of SetWindowDirty(w) when it's certain that w != NULL. 2008-05-06 22:08:18 +00:00
rubidium
8796331d83 (svn r12975) -Codechange: replace DeleteWindow(w) with delete w. 2008-05-06 21:28:30 +00:00
rubidium
1ce0b03bf0 (svn r12971) -Documentation: add @file in files that missed them and add something more than whitespace as description of files that don't have a description. 2008-05-06 15:11:33 +00:00
rubidium
0083ce9e1b (svn r12941) -Codechange: don't access wndproc directly. Patch by Alberth. 2008-05-04 10:05:50 +00:00
peter1138
b471c5d312 (svn r12848) -Cleanup/Codechange: Use correct variable types, don't prefix with _ for non-globals, and use implicit enum numbering. 2008-04-23 12:03:47 +00:00
rubidium
d46d8d9c9d (svn r12765) -Codechange: move some stuff out of variables.h that required including other headers in variables.h. 2008-04-18 10:16:51 +00:00
rubidium
ca1f8fbe2e (svn r12761) -Codechange: lots of minor whitespace coding style fixes around operators. 2008-04-18 04:37:06 +00:00