summaryrefslogtreecommitdiff
path: root/network_data.c
AgeCommit message (Collapse)Author
2006-12-26(svn r7565) -Codechange: Rework DEBUG functionality. Look for appropiate ↵Darkvater
debugging levels to use in debug.h. grfmsg() is now used as a specific debug-function for grf.
2006-10-17(svn r6816) -Codechange: Some coding style, variable localization, const ↵Darkvater
correctness. -Codechange: 'quited' is not a word, use has_quit instead for NetworkClientState
2006-10-12(svn r6750) -Codechange: Juggle around some header includes as they're only ↵Darkvater
used when networking is enabled.
2006-06-27(svn r5391) Miscellaneous, mostly bracing and whitespace, nothing spectaculartron
2006-04-14(svn r4413) -Fix: fixed a bug which pushed the client back to the main menu ↵truelight
when a server is in the mainserver-list which sends out illegal signals. Many tnx to 'test' for finding and isolating the problem. -Fix: also specify the problem a bit better
2006-04-05(svn r4292) - CodeChange: sprinkle some holy water on l'ugly code (braces, ↵Darkvater
and pos is PacketSize not int)
2006-04-05(svn r4291) - Fix: validate all received strings for correctness. This fixes ↵Darkvater
potential crashes on invalid clients/servers (thanks test for bringing this to our attention)
2006-02-06(svn r3564) Several smaller changes:tron
- Don't treat non-booleans as booleans - Reduce variable scope - Bracing - Use DeMorgan's law to make conditionals easier to read - if cascade -> switch - Replace some magic numbers by symbolic names - Avoid assignments within other statements
2005-11-15(svn r3186) Unnecessary casts and truncationtron
2005-07-24(svn r2701) Insert Id tags into all source filestron
2005-07-22(svn r2673) Include functions.h directly, not globally via openttd.htron
2005-07-21(svn r2663) Include variables.h only in these files which need it, not ↵tron
globally via openttd.h
2005-07-20(svn r2650) Convert many explicit shifts+ands to extract bits to invocations ↵tron
of GB - should be a bit nicer to read
2005-06-24(svn r2483) Replace almost 500 "uint tile" (and variants) with "TileIndex tile"tron
2005-05-15(svn r2324) Introduce _cmd_text for passing strings with a command instead ↵tron
of abusing _decode_parameters as text buffer. This should prevent several possible buffer overruns and is a bit cleaner to use. As bonus it reduces the size of most command packets by 79 bytes.
2005-02-05(svn r1803) Move debugging stuff into files of it's owntron
2005-01-22(svn r1596) Add some more staticstron
2005-01-05(svn r1389) -Add: [Network] Added packet protection. No longer a client or ↵truelight
server reads beyond the size of the packet -Fix: [Network] A server no longer crashes when a client sends an invalid DoCommand, but drops the client instead.
2004-12-29(svn r1297) Language fixes in the source.. (ln-)miham
2004-12-19(svn r1168) -Cleanup: [Network] Cleaned the network code a bit. Added 'const' truelight
and 'void' where needed, prefixed all functions, typedefs and global vars with 'Network' and organized all externals nicely.
2004-12-04(svn r942) -Merged branch/network back into the trunktruelight