added multi-part line debug logging functions
changed fatal error handling to use new error functions
moved variables for network server thread to network structure
changed simple "printf()" debug output to new debug log function
changed simple "printf()" debug output to new debug log function
changed warnings and debug output to use new generic logging functions
changed "http" to "https" in URLs
changed comments from old to new style (multiple-line comments)
changed comments from old to new style (one-line comments only)
fixed compiler warnings (after adding "-Wmissing-prototypes") Adding this warning option revealed lots of unused functions (which are deactivated in the code using preprocessor directives for now and which will be checked and probably removed in a later step).
fixed compiler warnings (after adding "-Wstrict-prototypes") Adding this warning option revealed a bug with an invalid function parameter (fixed by previous commit 085eaa4c).
added checking for invalid/malicious packet size in network protocol
added sending level file (and level template) for network games As the level to play may not exist on the receiving side (but only on the sending side -- the client who initiates the network game), this change adds sending the level file (and the level template, if needed) to all receiving network clients, so all clients always play the exact same level (and do not have to worry about having the same level sets).
added functions to network code for sending files
added function to dump network message buffer (for debugging)
completely refactored client and server side network protocol code
added support for protocol version check as first protocol command
added disconnecting from network server from setup menu
removed preprocessor definition for network mode that is always true now
added UDP broadcast to auto-detect network server in local network