diff options
Diffstat (limited to 'src/constants.h')
-rw-r--r-- | src/constants.h | 15 |
1 files changed, 10 insertions, 5 deletions
diff --git a/src/constants.h b/src/constants.h index b6b09b50b..cfb340bf9 100644 --- a/src/constants.h +++ b/src/constants.h @@ -17,17 +17,22 @@ with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ +#ifndef CONSTANTS_HEADER +#define CONSTANTS_HEADER + /* -(c) 2010 Perttu Ahola <celeron55@gmail.com> + All kinds of constants. + + Cross-platform compatibility crap should go in porting.h. */ -#ifndef CONSTANTS_HEADER -#define CONSTANTS_HEADER +#define APPNAME "minetest" #define DEBUGFILE "debug.txt" -// Define for simulating the quirks of sending through internet -// WARNING: This disables unit testing of socket and connection +// Define for simulating the quirks of sending through internet. +// Causes the socket class to deliberately drop random packets. +// This disables unit testing of socket and connection. #define INTERNET_SIMULATOR 0 #define CONNECTION_TIMEOUT 30 |