Commit Graph

212 Commits (3f53c2fd0e5265e517e291ffeacdc287aa093691)

Author SHA1 Message Date
rubidium a21d3fc63b (svn r13169) -Codechange: remove a (now) unneeded parameter of one of the Window constructors. 17 years ago
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. 17 years ago
rubidium ad6e52080c (svn r13140) -Codechange: move the gui-list-sorting out of window_gui.h so window_gui.h only needs to be included in *_gui.cpp. 17 years ago
rubidium a89b5721a8 (svn r13139) -Codechange: move DrawWindowWidgets and DrawWindowViewport to the Window class and remove Window from their naming. 17 years ago
rubidium 6f45805af0 (svn r13135) -Codechange: make a class of the NetworkJoinStatusWindow. 17 years ago
rubidium 439b328f41 (svn r13108) -Codechange: make a Window subclass of the main toolbars sub menus. 17 years ago
glx 07e10eade8 (svn r13107) -Codechange: make NetworkCompanyPasswordWindow and SelectPlayerFaceWindow children of PlayerCompanyWindow. 17 years ago
rubidium 89a60ce249 (svn r13045) -Codechange: make list_d (now GUIList) more generic and uniform. 17 years ago
rubidium aa0929351d (svn r13044) -Fix: deleting an already deleted window. 17 years ago
rubidium 4a46a5cdda (svn r13043) -Codechange: remove some duplicate variables from news_d. 17 years ago
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. 17 years ago
rubidium 29ad1d442a (svn r13041) -Fix: calling a virtual function on a not fully constructed object is bound to cause errors. 17 years ago
rubidium 1f70b47e22 (svn r13040) -Codechange: make a class of the NetworkLobbyWindow. 17 years ago
rubidium f710876037 (svn r13028) -Codechange: WE_MESSAGE and WE_INVALIDATE_DATA were doing the same thing. 17 years ago
rubidium 2c96ce4506 (svn r13027) -Codechange: use StrEmpty instead of arr[0] == '\0' and remove the need for WE_ON_EDIT_TEXT_CANCEL. 17 years ago
rubidium 8d0a7f4634 (svn r13025) -Codechange: remove the need for two WindowEvents. 17 years ago
glx a28ea38653 (svn r13008) -Fix [FS#1997]: silence some MSVC x64 warnings 17 years ago
rubidium 92aac531c2 (svn r13005) -Codechange: prepare AllocateWindowDescFront for subclassing of Window. 17 years ago
rubidium 51cda2252c (svn r13004) -Codechange: replace AllocateWindow and AllocateWindowDesc with a Window constructor. 17 years ago
rubidium e0e1bf76a2 (svn r12986) -Codechange: move the landscape and transport related types from openttd.h to their own headers. 17 years ago
rubidium 8796331d83 (svn r12975) -Codechange: replace DeleteWindow(w) with delete w. 17 years ago
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. 17 years ago
maedhros 28e1da6c5d (svn r12968) -Fix: Don't segfault when adding a server if 0.0.0.0 was entered for the address. 17 years ago
rubidium e7d125de58 (svn r12963) -Fix (r12960): loading some NewGRFs could cause an infinite loop. 17 years ago
rubidium f2683a6037 (svn r12960) -Codechange: handle return values of (some) file system related functions. 17 years ago
rubidium 41aeb7ffa0 (svn r12957) -Codechange: do not misuse snprintf when you just want to copy a string, also use DEBUG instead of fprintf in one case. 17 years ago
smatz 89a8dc8cf7 (svn r12944) -Codechange: use rev.h instead of externs at many places 17 years ago
rubidium f1820a5708 (svn r12930) -Add: build support for NetBSD and HP-UX. Patch by ahoka. 17 years ago
smatz 3fe8c58257 (svn r12777) -Codechange: rename fatal() and error() in strgen, so it can always have the NORETURN attribute 17 years ago
rubidium d46d8d9c9d (svn r12765) -Codechange: move some stuff out of variables.h that required including other headers in variables.h. 17 years ago
rubidium f4b07a78c4 (svn r12762) -Fix: tabs after the first non-tab character are generally not okay (or lines starting with a space and then tabs). 17 years ago
rubidium ca1f8fbe2e (svn r12761) -Codechange: lots of minor whitespace coding style fixes around operators. 17 years ago
rubidium 52d83de8d8 (svn r12709) -Feature: show the last joined server. Heavily based on a patch by Yexo. 17 years ago
rubidium cf00e8e1d9 (svn r12701) -Codechange: do not explicitly number a widget enum because that causes a big diff when adding something. 17 years ago
rubidium cd23dd64bf (svn r12637) -Fix [FS#1913]: possible NULL pointer dereference when reading some NewGRF data. 17 years ago
rubidium fcf888799f (svn r12574) -Fix: binding to a specific IP could cause OpenTTD to not register properly with the masterserver if one has multiple external interfaces. 17 years ago
rubidium b488fe1929 (svn r12501) -Codechange: split signs.h. 17 years ago
rubidium 0f1a82a4c2 (svn r12499) -Codechange: some coding style tweaks for network_internal.h. 17 years ago
rubidium c51b81c247 (svn r12489) -Codechange: split station.h into station_base.h and station_func.h. 17 years ago
rubidium a28f2f2bb1 (svn r12426) -Cleanup: sprinkle some coding style over a few files. 17 years ago
rubidium a606fe9610 (svn r12425) -Feature [FS#1846]: On Screen Keyboard for input fields so someone without a keyboard can enter text too. Patch by Dominik. 17 years ago
glx 15cd2931f3 (svn r12407) -Add [FS#1866]: more language flags for servers 17 years ago
rubidium f76110425b (svn r12404) -Codechange: rename the string buffer used for network GUIs to something more unique than what it is called now. 17 years ago
rubidium d4b6b57f8b (svn r12403) -Codechange: unmisuse a variable in the chat window and make the code a little cleaner. 17 years ago
peter1138 46ad4b8267 (svn r12370) -Fix [FS#1853]: Close language drop down when parent window is clicked/closed. 17 years ago
smatz 8d7f246b55 (svn r12367) -Fix [FS#1650](r707): commands were sent to clients waiting for map download causing 'executing command from the past' error 17 years ago
rubidium 3e90a16cfc (svn r12017) -Fix: when you have more than 9 network interfaces you'll enter the wonderfull world of overflows. 17 years ago
rubidium 1b7051768c (svn r12004) -Codechange: refactor the random functions to reduce code duplication. 17 years ago
glx b3e35db958 (svn r11920) -Fix (r11844): train count was incorrect in network lobby window (and 'players' command) 17 years ago
peter1138 04da1e1d45 (svn r11915) -Codechange: Add a function to draw a sort button's up/down arrow. Arrows are now drawn in a consistent position based on the widget, instead of randomly positioned by pixel. 17 years ago