aboutsummaryrefslogtreecommitdiff
path: root/assets/blender/ks/signal_ks_splt.blend
diff options
context:
space:
mode:
authororwell96 <orwell@bleipb.de>2021-02-10 17:07:38 +0100
committerorwell96 <orwell@bleipb.de>2021-02-10 17:07:38 +0100
commit17e29a251102271d1a5b045dde45cd68c0e728c3 (patch)
treecbfba21209c3998f0ec9be61b85d97e617d9cb5b /assets/blender/ks/signal_ks_splt.blend
parentfad6f88bab0dc0d3999f2845d1144b7936c1a370 (diff)
downloadadvtrains-17e29a251102271d1a5b045dde45cd68c0e728c3.tar.gz
advtrains-17e29a251102271d1a5b045dde45cd68c0e728c3.tar.bz2
advtrains-17e29a251102271d1a5b045dde45cd68c0e728c3.zip
Make anti-LZB-flicker system work after rebase onto hud redesign
Diffstat (limited to 'assets/blender/ks/signal_ks_splt.blend')
0 files changed, 0 insertions, 0 deletions
145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207
/*
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 L_ENV_H_
#define L_ENV_H_

#include "lua_api/l_base.h"
#include "environment.h"

class ModApiEnvMod : public ModApiBase {
private:
	// minetest.set_node(pos, node)
	// pos = {x=num, y=num, z=num}
	static int l_set_node(lua_State *L);

	static int l_add_node(lua_State *L);

	// minetest.remove_node(pos)
	// pos = {x=num, y=num, z=num}
	static int l_remove_node(lua_State *L);
	
	// minetest.swap_node(pos, node)
	// pos = {x=num, y=num, z=num}
	static int l_swap_node(lua_State *L);

	// minetest.get_node(pos)
	// pos = {x=num, y=num, z=num}
	static int l_get_node(lua_State *L);

	// minetest.get_node_or_nil(pos)
	// pos = {x=num, y=num, z=num}
	static int l_get_node_or_nil(lua_State *L);

	// minetest.get_node_light(pos, timeofday)
	// pos = {x=num, y=num, z=num}
	// timeofday: nil = current time, 0 = night, 0.5 = day
	static int l_get_node_light(lua_State *L);

	// minetest.place_node(pos, node)
	// pos = {x=num, y=num, z=num}
	static int l_place_node(lua_State *L);

	// minetest.dig_node(pos)
	// pos = {x=num, y=num, z=num}
	static int l_dig_node(lua_State *L);

	// minetest.punch_node(pos)
	// pos = {x=num, y=num, z=num}
	static int l_punch_node(lua_State *L);


	// minetest.get_node_max_level(pos)
	// pos = {x=num, y=num, z=num}
	static int l_get_node_max_level(lua_State *L);