Commit Graph

251 Commits (6a401d5dfc04cc5e57dcdb8bcc2192f74e06a220)

Author SHA1 Message Date
belugas 1648da0e47 (svn r13907) -Codechange: Replace a number with Colours enum on DrawFrameRect usage 16 years ago
rubidium 59d815b391 (svn r13796) -Fix [FS#2161]: one couldn't start the last scenario in the "start server window"'s list of scenarios. 16 years ago
rubidium b81e31bdb1 (svn r13776) -Fix: some revision checking code was unintentionally disabled. 16 years ago
glx 11ca40cf88 (svn r13775) -Codechange: enforce the validity of a NetworkAction (chat packet) issued by a client 16 years ago
rubidium bd0e52011d (svn r13773) -Codechange: disable autoclean for protected/unprotected companies when the timeout is set to 0. Based on an idea by Thomas. 16 years ago
rubidium 67275acdff (svn r13740) -Fix (r13731): one could only join the first company. 16 years ago
rubidium 664bbd304a (svn r13739) -Fix (r13731): some variables would be erroneously zeroed, causing autoclean and company passwords not to work. 16 years ago
rubidium 6ecfaa5c84 (svn r13732) -Feature: add a few extra columns with information to the server list. Patch by Pegasus. 16 years ago
rubidium cde65455ac (svn r13731) -Codechange: make a pool of the array of players. 16 years ago
rubidium 6898a76c5f (svn r13719) -Codechange: rename IsValidPlayer to IsValidPlayerID in line with all other structs/classes that are in a pool. 16 years ago
rubidium a1ca1da1b3 (svn r13716) -Fix [FS#2144]: any player could construct new companies. 16 years ago
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'.
16 years ago
rubidium 31d283c6c8 (svn r13714) -Fix: remove the unique_id from the message that a client has joined as it is only exposes the unique_id more than needed. Patch by dih. 16 years ago
rubidium 348600eca9 (svn r13713) -Fix: possible crash on creating a network packet. 16 years ago
rubidium 03afcec36f (svn r13712) -Fix: enforce the length restrictions of company and president name in the commands too. 16 years ago
belugas a324f30783 (svn r13682) -Codechange: -Codechange: remove a now useless variable(dih). 16 years ago
rubidium 35f3284a60 (svn r13433) -Codechange: remove a now useless global variable.
-Fix: MP advertising was not advertising.
17 years ago
rubidium e2adaf59b2 (svn r13408) -Codechange: some stricter checking. 17 years ago
glx b60a1326bf (svn r13390) -Codechange: introduce usererror() for fatal but not openttd related errors. Now all error() will 'crash' openttd after showing the message in win32 releases (MSVC), creating a crash.log and crash.dmp (like the '!' hack used before). On the other hand, usererror() will just close the game. So use error() only when it can be helpful to debugging, else use usererror(). 17 years ago
glx f4b1d4b48b (svn r13380) -Fix (r13327): MSVC signed/unsigned warning 17 years ago
smatz 1f1eea4873 (svn r13378) -Fix (r13375): compilation without network support was broken 17 years ago
rubidium a315054443 (svn r13370) -Codechange: move the VARDEF stuff from openttd.h to variables.h so one doesn't need to include openttd.h before variables.h. 17 years ago
rubidium 994779e9e2 (svn r13369) -Codechange: remove duplication of network configuration settings between NetworkSettings and NetworkGameInfo.
-Fix: failure of changing the server password during games because the password wasn't duplicated properly.
17 years ago
skidd13 f1c954e842 (svn r13359) -Codechange: convert _fios_items to a SmallVector
-Cleanup: some reincarnations of _fios_items in the code
17 years ago
rubidium 387f4cfbe1 (svn r13344) -Codechange: remove some code duplication. 17 years ago
rubidium bae02e8c67 (svn r13343) -Codechange: reorder/move variable/functions in the network headers so that nothing from the network directory needs to include basically all network headers. 17 years ago
rubidium 02dbab8721 (svn r13334) -Codechange: move the network settings variables from network/network_internal to settings. 17 years ago
smatz 713923cd7e (svn r13330) -Fix: 'Player name' dialog was broken in two ways 17 years ago
skidd13 c624a20a32 (svn r13328) -Fix (r13327): Don't access an item when there isn't any 17 years ago
skidd13 73cf52a7c4 (svn r13327) -Codechange: NetworkGameWindow uses GUILists Sort() now 17 years ago
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. 17 years ago
peter1138 44dd8955d1 (svn r13291) -Fix (r13266): qsort passed wrong sizeof data 17 years ago
peter1138 781b90ac91 (svn r13266) -Codechange: Use SmallVector in GUIList 17 years ago
rubidium d289464d69 (svn r13255) -Codechange: move _opt to _settings. 17 years ago
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.
17 years ago
rubidium ce821b1ada (svn r13242) -Codechange: remove _opt_ptr. 17 years ago
rubidium 080af12d8b (svn r13229) -Codechange: replace some global variables that are only initialised once and always with the same value with enums. 17 years ago
rubidium bf3b61cfa3 (svn r13228) -Codechange: split console.h. 17 years ago
rubidium 162e2e074b (svn r13185) -Codechange: remove everything related to the WindowProc callbacks. 17 years ago
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