summaryrefslogtreecommitdiff
path: root/src/network
AgeCommit message (Collapse)Author
2019-02-16Fix: colour of network specific strings in company dropdown menusglx
2019-02-12Fix: Do not mangle tagged revision strings for network revision stringsNiels Martin Hansen
2019-02-12Fix: CompanyEconomy documentationThomas den Hollander
Company income was described as an unsigned integer, but it should be signed.
2019-02-06Fix fdc2e85: Double close of file handlesNiels Martin Hansen
When unpacking downloaded content, the downloaded .gz file was being opened with `fopen`, the OS file handle given to zlib, and then afterwards zlib told to close the file. But the `FILE *` object was never closed with `fclose`, meaning the stdio library would have a hanging file object, whose file handle was now invalid or referred to a different file. This caused asserts during shutdown with Microsoft's C library in debug mode. Fix this by properly duplicating the OS handle and `fclose`ing the `FILE *` object, before giving the handle to zlib.
2019-02-04Add: CompanyCtrlAction enum for CMD_COMPANY_CTRL actionsglx
2019-02-03Change: Make a shortened network revision string for use in server queriesNiels Martin Hansen
2019-02-03Change: Increase NETWORK_REVISION_LENGTH to 33 bytesNiels Martin Hansen
2019-01-28Add: allow opening of one TextfileWindow per typeglx
2019-01-17Codechange: Remove unnecessarily defined functions under MinGWCharles Pigott
2019-01-12Fix #6780: Some windows didn't get updated from OnTick() (#7048)PeterN
2018-12-27Fix: [Win32] WIN32 may not be defined, always prefer the compiler predefined ↵glx
macro _WIN32
2018-10-31Doc: Lots and lots of doxymentation fixesCharles Pigott
2018-06-23Feature #986: Automatic save when losing connection to a network gameNiels Martin Hansen
2018-04-30Fix b4b98e5165: Use FALLTHROUGH attribute with correct indentation.J0an Josep
2018-04-30Fix: Some spelling errors in printed messagesMatthijs Kooijman
2018-04-29Remove: PSP supportPatric Stout
2017-08-13(svn r27893) -Codechange: Use fallthrough attribute. (LordAro)frosch
2017-03-14(svn r27794) -Fix [FS#6526]: Chat text background overflowed due to missing ↵peter1138
padding.
2017-01-14(svn r27729) -Codechange: Do not count static NewGRF when checking for the ↵frosch
maximum number of NewGRFs in a game. -Codechange: Remove LAST_GRF_SLOT and MAX_NEWGRFS. Now NETWORK_MAX_GRF_COUNT is the only constant to specify the maximum number of non-static NewGRF. -Codechange: Increase the number of file slots, effectively increasing the maximum number of static NewGRF and baseset GRFs.
2016-10-30(svn r27670) -Add: [FS#6471] Assign descriptive names to (GNU pthread) ↵frosch
threads. (JGR)
2016-09-04(svn r27653) -Fix(r27647): Rename FileOperation enum and values to ↵alberth
SaveLoadOperation to avoid nameclash with windows compiler toolkit.
2016-09-04(svn r27650) -Codechange: Replace SaveOrLoadMode by FileOperation and ↵alberth
DetailedFileType.
2016-09-04(svn r27648) -Codechange: Remove remaining _saveload_mode usage.alberth
2016-05-22(svn r27577) -Fix [FS#6386]: Dock and roadstop picker, client list and town ↵frosch
authority window did not auto-resize according to their content when they were positioned at the bottom of the screen. (Eearslya)
2016-05-22(svn r27576) -Fix (r27570): Compilation failure with all compilers but mine.frosch
2016-05-22(svn r27571) -Codechange: Consistent naming for command callbacks which play ↵frosch
a sound effect.
2016-05-22(svn r27570) -Fix [FS#6449]: Various incorrect but uncritical size ↵frosch
computations in the content client.
2015-12-10(svn r27469) -Fix (r27468): Don't fetch all content info from content server ↵zuu
when showing a online content window with exactly one type of content.
2015-12-10(svn r27468) -Fix (r27444): Game Scripts were not displayed in the content ↵zuu
download window when opened from the AI/GS settings window.
2015-11-14(svn r27444) -Add: When viewing online content of a particular type, hide ↵zuu
content of other types unless they have been (auto)selected for download.
2015-11-14(svn r27443) -Fix: Negoation in comment was wrong.zuu
2015-10-30(svn r27421) -Fix [FS#6265]: Consider text and icon sizes when drawing the ↵frosch
client list. (_dp_)
2015-09-19(svn r27400) -Fix [FS#6368] (r26449): when a dedicated server was paused ↵rubidium
with no clients the tick length was increased significantly, making any assumptions about the tick length used further down in the code are not true anymore. One of such assumptions was that one should readvertise every 15 minutes worth of original ticks, but due to the lengthening this timeframe would be more like 45-60 minutes. Now we'll take the operating system's millisecond counter instead
2015-06-20(svn r27304) -Fix [FS#6321-ish]: Improve password window layout for big font ↵frosch
sizes.
2015-05-17(svn r27288) -Fix: Slow network content GUI in MSVC Debug builds due to ↵michi_cc
repeated string resolving.
2015-02-13(svn r27146) -Fix: Make statusbar and chat-entry window use the same width ↵frosch
as the toolbar. Otherwise they lack a size definition.
2015-02-12(svn r27144) -Change: The chatbox-width setting now uses percent of screen ↵frosch
width instead of pixels.
2014-12-24(svn r27092) -Fix/Add [FS#6186]: Compilation on OS/2 (smedles)frosch
2014-10-15(svn r27020) -Cleanup: some coding style consistency improvements (mostly ↵rubidium
spaces)
2014-10-07(svn r26975) -Fix: reading too many bits when determining the client index ↵rubidium
for desync debug message
2014-10-05(svn r26960) -Codechange: Draw sort button symbols as sprites, and pad sort ↵peter1138
buttons with non-static width.
2014-09-26(svn r26923) -Codechange: Make multiplayer lobby fit to icon size.peter1138
2014-09-25(svn r26921) -Codechange: Adjust content window listing to fit icon size.peter1138
2014-09-07(svn r26788) -Add: Desync replay option to skip/replay failed commandsfrosch
2014-09-07(svn r26786) -Fix: Also replay failed commands.frosch
2014-05-25(svn r26616) -Fix (r26576) [FS#6025]: First send packages about new company, ↵planetmaker
then clients joining it to admin port (Taede)
2014-05-11(svn r26577) -Fix [FS#6001]: [Network] Client of non-dedicated server was ↵rubidium
not correctly put into the first company for all state variables
2014-05-11(svn r26576) -Fix [FS#6003]: [Network] AIs would not reset certain network ↵rubidium
state information upon creation of their company
2014-04-28(svn r26538) -Codechange: remove double accounting of the driversrubidium
2014-04-25(svn r26509) -Codechange: replace strdup with stredup (the latter ensures ↵rubidium
the return is not NULL)