aboutsummaryrefslogtreecommitdiff
path: root/license.txt
diff options
context:
space:
mode:
authororwell96 <orwell@bleipb.de>2019-11-21 16:09:47 +0100
committerorwell96 <orwell@bleipb.de>2019-11-21 16:09:47 +0100
commit0252768c1619f9ae5cc1da2f5ad476f44ccff36c (patch)
tree569ef52a843cacb73940cd2973eb7e727f1379c0 /license.txt
parent576365627a6ed8ba3fede9de1dce675a94747e48 (diff)
downloadadvtrains-0252768c1619f9ae5cc1da2f5ad476f44ccff36c.tar.gz
advtrains-0252768c1619f9ae5cc1da2f5ad476f44ccff36c.tar.bz2
advtrains-0252768c1619f9ae5cc1da2f5ad476f44ccff36c.zip
Fix the "red signals" bug that appeared when clicking a green signal
Diffstat (limited to 'license.txt')
0 files changed, 0 insertions, 0 deletions
/a> 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168
/*
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.
*/

#include "object_properties.h"
#include "irrlichttypes_bloated.h"
#include "exceptions.h"
#include "util/serialize.h"
#include "util/basic_macros.h"
#include <sstream>

ObjectProperties::ObjectProperties():
	hp_max(1),
	physical(false),
	collideWithObjects(true),
	weight(5),
	collisionbox(-0.5,-0.5,-0.5, 0.5,0.5,0.5),
	visual("sprite"),
	mesh(""),
	visual_size(1,1),
	spritediv(1,1),
	initial_sprite_basepos(0,0),
	is_visible(true),
	makes_footstep_sound(false),
	automatic_rotate(0),
	stepheight(0),
	automatic_face_movement_dir(false),
	automatic_face_movement_dir_offset(0.0),
	backface_culling(true),