diff options
author | Perttu Ahola <celeron55@gmail.com> | 2011-01-07 19:39:27 +0200 |
---|---|---|
committer | Perttu Ahola <celeron55@gmail.com> | 2011-01-07 19:39:27 +0200 |
commit | 6b6c2d37ea1f9075c4fbf0d7e2d52e527e1f86aa (patch) | |
tree | 16ab23387dc95d0f42e6519e500d4024e2a2f826 /src/constants.h | |
parent | dc414091e736badc6fd2faa6a2583639a3458818 (diff) | |
download | minetest-6b6c2d37ea1f9075c4fbf0d7e2d52e527e1f86aa.tar.gz minetest-6b6c2d37ea1f9075c4fbf0d7e2d52e527e1f86aa.tar.bz2 minetest-6b6c2d37ea1f9075c4fbf0d7e2d52e527e1f86aa.zip |
Added a more flexible path system (and fixed some minor stuff)
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 |