Commit Graph

175 Commits (e0940888523e2a48760e5c528300be5ef983960d)

Author SHA1 Message Date
smatz c10f7db576 (svn r14514) -Codechange: use 'size' instead of 'length' for querystring and 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
16 years ago
rubidium b650a86e58 (svn r14422) -Codechange: also reflect the changes of r14421 in the filenames. 16 years ago
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. 16 years ago
rubidium e7829c1a57 (svn r14414) -Fix: replace instances of strncpy with strecpy as strncpy doesn't guarantee the resulting string is '\0'-terminated. 16 years ago
rubidium 7ef5406946 (svn r14371) -Fix [FS#2313]: loading indicator didn't stay with the front engine when turning a train in a station. 16 years ago
smatz 1266b1a73f (svn r14334) -Feature: ability to reset name to default/automatic value (for vehicles, engines, towns, groups, stations, waypoints, managers and companies) 16 years ago
smatz 606f4defdc (svn r14331) -Codechange: use an enum as additional parameter for ShowQueryString() 16 years ago
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. 16 years ago
belugas 1500ed3665 (svn r14099) -Codechange: Welcome back, Celestar.
While at it, an alphabetic error been fixed
16 years ago
rubidium d986380169 (svn r14069) -Fix: silence MSVC 64-bits compile warnings. 16 years ago
rubidium 6995365535 (svn r14046) -Codechange: make the size of querystring "widgets" more configurable. 16 years ago
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) 16 years ago
frosch 0fc769bb6c (svn r13922) -Codechange: Move measurement-tooltip related stuff out of the general tooltip window. 16 years ago
belugas 22d9d9c588 (svn r13888) -Codechange: Replace numbers with Colours enum on miscellaneous guis. 16 years ago
smatz 05c2a8eba4 (svn r13830) -Feature: show additional NewGRF info in the Tile Info window for stations, houses and industries 16 years ago
smatz ce7585101d (svn r13826) -Codechange: use 'INVALID_DATE' instead of '0' as placeholder in tile description 16 years ago
smatz 4835e300c4 (svn r13800) -Codechange: minor comment style fixes in misc_gui.cpp 16 years ago
smatz 06a52be95c (svn r13787) -Codechange: resize the red error message box if needed 16 years ago
rubidium 3a799389eb (svn r13731) -Codechange: make a pool of the array of players. 16 years ago
rubidium d06529ef4d (svn r13719) -Codechange: rename IsValidPlayer to IsValidPlayerID in line with all other structs/classes that are in a pool. 16 years ago
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'.
16 years ago
smatz 2ca4b8b2e4 (svn r13601) -Codechange: resize the Tile Info window when it is needed, make it better readable 16 years ago
skidd13 8a40ca49c6 (svn r13359) -Codechange: convert _fios_items to a SmallVector
-Cleanup: some reincarnations of _fios_items in the code
16 years ago
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. 16 years ago
rubidium 27bca407de (svn r13318) -Codechange: move some functions from gui.h/misc_gui.cpp to window_gui.h/window.cpp because they belong there. 16 years ago
smatz f7233786d2 (svn r13310) -Fix: invalidate OSK when parent editbox changes (from keyboard) 16 years ago
peter1138 504d0d1ae5 (svn r13305) -Fix (r13039): Confirmation window sent both yes and no answers instead of just yes. 16 years ago
smatz e15863fa77 (svn r13304) -Fix (r13042): possible double free (showed up in r13092) 16 years ago
rubidium 5c5ee7eb57 (svn r13301) -Fix [FS#1997]: resolve more MSVC 9 x64 warnings. 16 years ago
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.
16 years ago
frosch eca692ef90 (svn r13206) -Feature(ette): Display all owners of a tile in the tile-info-window. 16 years ago
smatz f244b6b361 (svn r13191) -Fix: segfault after confirming query subwindow in the Generate New World window 16 years ago
rubidium 27c38052b7 (svn r13185) -Codechange: remove everything related to the WindowProc callbacks. 16 years ago
rubidium c3fd582c55 (svn r13182) -Doc: add documentation to mostly rail_gui related functions. Patch by Alberth. 16 years ago
rubidium 6da56ee87e (svn r13169) -Codechange: remove a (now) unneeded parameter of one of the Window constructors. 16 years ago
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. 16 years ago
rubidium 8b54212900 (svn r13139) -Codechange: move DrawWindowWidgets and DrawWindowViewport to the Window class and remove Window from their naming. 16 years ago
rubidium d8154e00ac (svn r13138) -Codechange: remove the need for IsWindowOfPrototype. 16 years ago
glx 5b54c9e373 (svn r13131) -Codechange: make a class of the ErrmsgWindow. 16 years ago
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. 16 years ago
glx be43bbc3f3 (svn r13093) -Codechange: make a class of AboutWindow. 16 years ago
glx 22960e82aa (svn r13092) -Fix (r13042): don't add a variable in a subclass when the parent class already have it 16 years ago
rubidium 3ef0a1e3be (svn r13049) -Codechange: make a class of the TooltipsWindow. 16 years ago
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. 16 years ago
rubidium e63137f47f (svn r13041) -Fix: calling a virtual function on a not fully constructed object is bound to cause errors. 16 years ago
rubidium 46875e28be (svn r13039) -Codechange: make a class of the Query window. 16 years ago
smatz d41f3def5c (svn r13033) -Fix [FS#2003](r13029): land info tool wasn't working 16 years ago
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. 16 years ago
rubidium f23026cce8 (svn r13027) -Codechange: use StrEmpty instead of arr[0] == '\0' and remove the need for WE_ON_EDIT_TEXT_CANCEL. 16 years ago
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. 16 years ago