summaryrefslogtreecommitdiff
path: root/src/net_packet.c
AgeCommit message (Collapse)Author
2014-05-05Clean up file headers.Simon Howard
This change rewrites and simplifies the copyright headers at the top of all source files: * Remove "Emacs style mode select" line; this line was included in the headers for the originally released source files and appears to be to set the file type for old versions of Emacs. I'm not sure entirely why it was required but I don't think it is any more. * Remove "You should have received a copy of..." text from copyright header. This refers to the old 59 Temple Place address where the FSF headquarters used to be located and is no longer correct. Rather than change to the new address, just remove the paragraph as it is superfluous anyway. This fixes #311. * Remove ---- separator lines so that the file headers are barer and more simplified.
2014-03-29misc: Add string utility functions.Simon Howard
It's more readable to write "M_StringEndsWith(..." than doing a bunch of pointer arithmetic, and this is a common pattern. Also add M_StringStartsWith, M_StringJoin and M_StringCopy. The latter is a safe alternative for strcpy() that works the same as OpenBSD's strlcpy(). Use these functions in a few places where it makes sense.
2006-10-18Strip out CVS logs, RCS Id tags.Simon Howard
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 704
2006-02-23Track memory used by packet data to help detect memory leaksSimon Howard
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 385
2006-01-13Signed integer read functions. Use these when reading ticcmd diffs.Simon Howard
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 287
2006-01-01String read/write functionsSimon Howard
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 236
2005-10-30Add foundation code for the new networking systemSimon Howard
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 229