aboutsummaryrefslogtreecommitdiff
path: root/assets/blender
diff options
context:
space:
mode:
authororwell96 <orwell@bleipb.de>2019-01-22 21:06:26 +0100
committerorwell96 <orwell@bleipb.de>2019-01-22 21:06:26 +0100
commit7c60b8ffd1c1ed9d30de80727023ede4e186d0e6 (patch)
tree0ad210c102745ce65ffc08b987000dbb9cb4ab90 /assets/blender
parenta34c2f40532a4b424a64c475e732dc9e7d96ae29 (diff)
downloadadvtrains-7c60b8ffd1c1ed9d30de80727023ede4e186d0e6.tar.gz
advtrains-7c60b8ffd1c1ed9d30de80727023ede4e186d0e6.tar.bz2
advtrains-7c60b8ffd1c1ed9d30de80727023ede4e186d0e6.zip
Fix small bug in routeui and make another message log-only
Diffstat (limited to 'assets/blender')
0 files changed, 0 insertions, 0 deletions
#n118'>118 119
/*
Minetest
Copyright (C) 2013 celeron55, Perttu Ahola <celeron55@gmail.com>

This program is free software; you can redistribute it and/or modify
it under the terms of the GNU Lesser General Public License as published by
the Free Software Foundation; either version 2.1 of the License, or
(at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU Lesser General Public License for more details.

You should have received a copy of the GNU Lesser General Public License along
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

/*
	All kinds of constants.

	Cross-platform compatibility crap should go in porting.h.

    Some things here are legacy crap.
*/

/*
    Connection
*/

#define PEER_ID_INEXISTENT 0
#define PEER_ID_SERVER 1

// 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 INTERNET_SIMULATOR_PACKET_LOSS 10 // 10 = easy, 4 = hard

#define CONNECTION_TIMEOUT 30