aboutsummaryrefslogtreecommitdiff
path: root/textures/base/pack/enable_img.png
diff options
context:
space:
mode:
authorest31 <MTest31@outlook.com>2015-06-20 00:30:38 +0200
committerest31 <MTest31@outlook.com>2015-06-20 02:59:53 +0200
commit40226e52747156cbdc5128a416480b226e498fff (patch)
treee0863a9c88f78bc578e7c8d60222c5f52dac81c5 /textures/base/pack/enable_img.png
parent3b65a6a36c3e910359c69cd3e3e3fd89e50ba23e (diff)
downloadminetest-40226e52747156cbdc5128a416480b226e498fff.tar.gz
minetest-40226e52747156cbdc5128a416480b226e498fff.tar.bz2
minetest-40226e52747156cbdc5128a416480b226e498fff.zip
Make attached objects visible in 3rd person view
Diffstat (limited to 'textures/base/pack/enable_img.png')
0 files changed, 0 insertions, 0 deletions
ef='#n124'>124 125 126 127 128 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
/*
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.
*/

#pragma once

#include <iostream>
#include <string>
#include <thread>
#include <mutex>
#include <unordered_map>
#include "common/helper.h"
#include "util/basic_macros.h"

extern "C" {
#include <lua.h>
#include <lualib.h>
}

#include "irrlichttypes.h"
#include "common/c_types.h"
#include "common/c_internal.h"
#include "debug.h"
#include "config.h"

#define SCRIPTAPI_LOCK_DEBUG
#define SCRIPTAPI_DEBUG

// MUST be an invalid mod name so that mods can't
// use that name to bypass security!
#define BUILTIN_MOD_NAME "*builtin*"

#define PCALL_RES(RES) {                    \
	int result_ = (RES);                    \
	if (result_ != 0) {                     \
		scriptError(result_, __FUNCTION__); \