summaryrefslogtreecommitdiff
path: root/src/network
AgeCommit message (Collapse)Author
2008-07-18(svn r13731) -Codechange: make a pool of the array of players.rubidium
2008-07-17(svn r13719) -Codechange: rename IsValidPlayer to IsValidPlayerID in line ↵rubidium
with all other structs/classes that are in a pool.
2008-07-17(svn r13716) -Fix [FS#2144]: any player could construct new companies.rubidium
2008-07-17(svn r13715) -Fix [FS#2129]: C-like strings had to be rebound each time they ↵rubidium
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(svn r13714) -Fix: remove the unique_id from the message that a client has ↵rubidium
joined as it is only exposes the unique_id more than needed. Patch by dih.
2008-07-17(svn r13713) -Fix: possible crash on creating a network packet.rubidium
2008-07-17(svn r13712) -Fix: enforce the length restrictions of company and president ↵rubidium
name in the commands too.
2008-07-08(svn r13682) -Codechange: -Codechange: remove a now useless variable(dih).belugas
2008-06-09(svn r13433) -Codechange: remove a now useless global variable.rubidium
-Fix: MP advertising was not advertising.
2008-06-08(svn r13408) -Codechange: some stricter checking.rubidium
2008-06-05(svn r13390) -Codechange: introduce usererror() for fatal but not openttd ↵glx
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().
2008-06-04(svn r13380) -Fix (r13327): MSVC signed/unsigned warningglx
2008-06-04(svn r13378) -Fix (r13375): compilation without network support was brokensmatz
2008-06-03(svn r13370) -Codechange: move the VARDEF stuff from openttd.h to ↵rubidium
variables.h so one doesn't need to include openttd.h before variables.h.
2008-06-03(svn r13369) -Codechange: remove duplication of network configuration ↵rubidium
settings between NetworkSettings and NetworkGameInfo. -Fix: failure of changing the server password during games because the password wasn't duplicated properly.
2008-06-02(svn r13359) -Codechange: convert _fios_items to a SmallVectorskidd13
-Cleanup: some reincarnations of _fios_items in the code
2008-05-30(svn r13344) -Codechange: remove some code duplication.rubidium
2008-05-30(svn r13343) -Codechange: reorder/move variable/functions in the network ↵rubidium
headers so that nothing from the network directory needs to include basically all network headers.
2008-05-29(svn r13334) -Codechange: move the network settings variables from ↵rubidium
network/network_internal to settings.
2008-05-29(svn r13330) -Fix: 'Player name' dialog was broken in two wayssmatz
2008-05-29(svn r13328) -Fix (r13327): Don't access an item when there isn't anyskidd13
2008-05-29(svn r13327) -Codechange: NetworkGameWindow uses GUILists Sort() nowskidd13
2008-05-29(svn r13325) -Codechange: split the client-side only settings from the ↵rubidium
settings stored in the savegame so there is no need to have a duplicate copy of it for new games.
2008-05-27(svn r13291) -Fix (r13266): qsort passed wrong sizeof datapeter1138
2008-05-26(svn r13266) -Codechange: Use SmallVector in GUIListpeter1138
2008-05-25(svn r13255) -Codechange: move _opt to _settings.rubidium
2008-05-25(svn r13251) -Codechange: rename _patches to _settings as that is more logic.rubidium
-Codechange: move all Settings into substructs of _settings in a way that they are logically grouped.
2008-05-25(svn r13242) -Codechange: remove _opt_ptr.rubidium
2008-05-24(svn r13229) -Codechange: replace some global variables that are only ↵rubidium
initialised once and always with the same value with enums.
2008-05-24(svn r13228) -Codechange: split console.h.rubidium
2008-05-19(svn r13185) -Codechange: remove everything related to the WindowProc callbacks.rubidium
2008-05-18(svn r13169) -Codechange: remove a (now) unneeded parameter of one of the ↵rubidium
Window constructors.
2008-05-17(svn r13151) -Codechange: use an enum instead of bool as return type of ↵rubidium
OnKeyPress/OnCTRLStateChange to make it obvious what the return values mean.
2008-05-17(svn r13140) -Codechange: move the gui-list-sorting out of window_gui.h so ↵rubidium
window_gui.h only needs to be included in *_gui.cpp.
2008-05-17(svn r13139) -Codechange: move DrawWindowWidgets and DrawWindowViewport to ↵rubidium
the Window class and remove Window from their naming.
2008-05-17(svn r13135) -Codechange: make a class of the NetworkJoinStatusWindow.rubidium
2008-05-15(svn r13108) -Codechange: make a Window subclass of the main toolbars sub menus.rubidium
2008-05-15(svn r13107) -Codechange: make NetworkCompanyPasswordWindow and ↵glx
SelectPlayerFaceWindow children of PlayerCompanyWindow.
2008-05-11(svn r13045) -Codechange: make list_d (now GUIList) more generic and uniform.rubidium
2008-05-11(svn r13044) -Fix: deleting an already deleted window.rubidium
2008-05-11(svn r13043) -Codechange: remove some duplicate variables from news_d.rubidium
2008-05-11(svn r13042) -Codechange: make a class of CreateScenarioWindow, ↵rubidium
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(svn r13041) -Fix: calling a virtual function on a not fully constructed ↵rubidium
object is bound to cause errors.
2008-05-11(svn r13040) -Codechange: make a class of the NetworkLobbyWindow.rubidium
2008-05-10(svn r13028) -Codechange: WE_MESSAGE and WE_INVALIDATE_DATA were doing the ↵rubidium
same thing.
2008-05-10(svn r13027) -Codechange: use StrEmpty instead of arr[0] == '\0' and remove ↵rubidium
the need for WE_ON_EDIT_TEXT_CANCEL.
2008-05-09(svn r13025) -Codechange: remove the need for two WindowEvents.rubidium
2008-05-08(svn r13008) -Fix [FS#1997]: silence some MSVC x64 warningsglx
2008-05-08(svn r13005) -Codechange: prepare AllocateWindowDescFront for subclassing of ↵rubidium
Window.
2008-05-08(svn r13004) -Codechange: replace AllocateWindow and AllocateWindowDesc with ↵rubidium
a Window constructor.