aboutsummaryrefslogtreecommitdiff
path: root/client/shaders/minimap_shader
diff options
context:
space:
mode:
authorJean-Baptiste <jean-baptiste@holcroft.fr>2016-03-23 11:22:57 +0100
committerest31 <MTest31@outlook.com>2016-03-25 13:22:48 +0100
commite79c2c7791c7ab0e4949c49aa739ddc9d91d77f6 (patch)
treee8e940b065f945e8bba73c14d4002ddf13ded216 /client/shaders/minimap_shader
parent975020127b85fd9c2ca880be1be50e5306a174f6 (diff)
downloadminetest-e79c2c7791c7ab0e4949c49aa739ddc9d91d77f6.tar.gz
minetest-e79c2c7791c7ab0e4949c49aa739ddc9d91d77f6.tar.bz2
minetest-e79c2c7791c7ab0e4949c49aa739ddc9d91d77f6.zip
Translated using Weblate (French)
Currently translated at 92.4% (800 of 865 strings) This is a merger of 3 commits.
Diffstat (limited to 'client/shaders/minimap_shader')
0 files changed, 0 insertions, 0 deletions
19 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138
/*
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 S_BASE_H_
#define S_BASE_H_

#include <iostream>
#include <string>

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

#include "irrlichttypes.h"
#include "threads.h"
#include "threading/mutex.h"
#include "threading/mutex_auto_lock.h"
#include "common/c_types.h"
#include "common/c_internal.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) do {                 \
	int result_ = (RES);                    \
	if (result_ != 0) {                     \
		scriptError(result_, __FUNCTION__); \
	}                                       \
} while (0)

#define runCallbacks(nargs, mode) \
	runCallbacksRaw((nargs), (mode), __FUNCTION__)

#define setOriginFromTable(index) \
	setOriginFromTableRaw(index, __FUNCTION__)

class Server;
#ifndef SERVER
class Client;
#endif
class IGameDef;
class Environment;
class GUIEngine;
class ServerActiveObject;

class ScriptApiBase {
public: