Commit Graph

173 Commits

Author SHA1 Message Date
rubidium 3b798599b6 (svn r14421) -Codechange: rename all player variables/types to company *or* client so it is immediatelly clear which one you are working with. 2008-09-30 20:39:50 +00:00
rubidium e7829c1a57 (svn r14414) -Fix: replace instances of strncpy with strecpy as strncpy doesn't guarantee the resulting string is '\0'-terminated. 2008-09-29 16:27:02 +00:00
rubidium 7ef5406946 (svn r14371) -Fix [FS#2313]: loading indicator didn't stay with the front engine when turning a train in a station. 2008-09-21 18:28:35 +00:00
smatz 1266b1a73f (svn r14334) -Feature: ability to reset name to default/automatic value (for vehicles, engines, towns, groups, stations, waypoints, managers and companies) 2008-09-15 19:02:50 +00:00
smatz 606f4defdc (svn r14331) -Codechange: use an enum as additional parameter for ShowQueryString() 2008-09-15 16:29:40 +00:00
rubidium ea1f180a55 (svn r14199) -Codechange: split fileio.h into fileio_type.h and fileio_func.h so not everything that includes saveload.h needs to include everything else too. 2008-08-31 10:50:05 +00:00
belugas 1500ed3665 (svn r14099) -Codechange: Welcome back, Celestar.
While at it, an alphabetic error been fixed
2008-08-18 17:07:27 +00:00
rubidium d986380169 (svn r14069) -Fix: silence MSVC 64-bits compile warnings. 2008-08-13 14:52:54 +00:00
rubidium 6995365535 (svn r14046) -Codechange: make the size of querystring "widgets" more configurable. 2008-08-11 22:08:56 +00:00
rubidium fe4f23dba2 (svn r13932) -Add [YAPP]: PBS signals added to the map array. The signals are drawn using the old Patch-like PBS sprites. (michi_cc) 2008-08-02 22:48:43 +00:00
frosch 0fc769bb6c (svn r13922) -Codechange: Move measurement-tooltip related stuff out of the general tooltip window. 2008-08-02 11:26:25 +00:00
belugas 22d9d9c588 (svn r13888) -Codechange: Replace numbers with Colours enum on miscellaneous guis. 2008-07-31 02:59:21 +00:00
smatz 05c2a8eba4 (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 ce7585101d (svn r13826) -Codechange: use 'INVALID_DATE' instead of '0' as placeholder in tile description 2008-07-25 19:50:40 +00:00
smatz 4835e300c4 (svn r13800) -Codechange: minor comment style fixes in misc_gui.cpp 2008-07-23 15:01:50 +00:00
smatz 06a52be95c (svn r13787) -Codechange: resize the red error message box if needed 2008-07-22 19:25:47 +00:00
rubidium 3a799389eb (svn r13731) -Codechange: make a pool of the array of players. 2008-07-18 16:40:29 +00:00
rubidium d06529ef4d (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 ab234cf90c (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 2ca4b8b2e4 (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 8a40ca49c6 (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 923e21129c (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 27bca407de (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 f7233786d2 (svn r13310) -Fix: invalidate OSK when parent editbox changes (from keyboard) 2008-05-28 15:28:27 +00:00
peter1138 504d0d1ae5 (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 e15863fa77 (svn r13304) -Fix (r13042): possible double free (showed up in r13092) 2008-05-27 23:40:36 +00:00
rubidium 5c5ee7eb57 (svn r13301) -Fix [FS#1997]: resolve more MSVC 9 x64 warnings. 2008-05-27 21:41:00 +00:00
rubidium 4625695653 (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 eca692ef90 (svn r13206) -Feature(ette): Display all owners of a tile in the tile-info-window. 2008-05-21 22:15:39 +00:00
smatz f244b6b361 (svn r13191) -Fix: segfault after confirming query subwindow in the Generate New World window 2008-05-19 19:17:56 +00:00
rubidium 27c38052b7 (svn r13185) -Codechange: remove everything related to the WindowProc callbacks. 2008-05-19 09:48:47 +00:00
rubidium c3fd582c55 (svn r13182) -Doc: add documentation to mostly rail_gui related functions. Patch by Alberth. 2008-05-19 09:24:03 +00:00
rubidium 6da56ee87e (svn r13169) -Codechange: remove a (now) unneeded parameter of one of the Window constructors. 2008-05-18 20:40:30 +00:00
rubidium f5681547ef (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 8b54212900 (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 d8154e00ac (svn r13138) -Codechange: remove the need for IsWindowOfPrototype. 2008-05-17 12:26:00 +00:00
glx 5b54c9e373 (svn r13131) -Codechange: make a class of the ErrmsgWindow. 2008-05-17 02:54:04 +00:00
rubidium 0449abe88b (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 be43bbc3f3 (svn r13093) -Codechange: make a class of AboutWindow. 2008-05-14 20:01:06 +00:00
glx 22960e82aa (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 3ef0a1e3be (svn r13049) -Codechange: make a class of the TooltipsWindow. 2008-05-11 17:44:38 +00:00
rubidium eb2d47b547 (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 e63137f47f (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 46875e28be (svn r13039) -Codechange: make a class of the Query window. 2008-05-11 06:59:51 +00:00
smatz d41f3def5c (svn r13033) -Fix [FS#2003](r13029): land info tool wasn't working 2008-05-10 19:59:41 +00:00
rubidium d24442ae8b (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 f23026cce8 (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 f438700402 (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 ba853fdb0b (svn r13018) -Codechange: make a class of the LandInfo Window. 2008-05-08 19:26:55 +00:00
rubidium 4a11ebe76f (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