#include <algorithm>
#include "lua_api/l_env.h"
#include "lua_api/l_internal.h"
#include "lua_api/l_nodemeta.h"
#include "lua_api/l_nodetimer.h"
#include "lua_api/l_noise.h"
#include "lua_api/l_vmanip.h"
#include "lua_api/l_object.h"
#include "common/c_converter.h"
#include "common/c_content.h"
#include "scripting_server.h"
#include "environment.h"
#include "mapblock.h"
#include "server.h"
#include "nodedef.h"
#include "daynightratio.h"
#include "util/pointedthing.h"
#include "mapgen/treegen.h"
#include "emerge_internal.h"
#include "pathfinder.h"
#include "face_position_cache.h"
#include "remoteplayer.h"
#include "server/luaentity_sao.h"
#include "server/player_sao.h"
#include "util/string.h"
#include "translation.h"
#include "client/client.h"
Macros | |
#define | CLAMP(arg) core::clamp(arg, (s16)-MAX_MAP_GENERATION_LIMIT, (s16)MAX_MAP_GENERATION_LIMIT) |
#define | GET_VM_PTR |
Functions | |
void | LuaEmergeAreaCallback (v3s16 blockpos, EmergeAction action, void *param) |
#define CLAMP | ( | arg | ) | core::clamp(arg, (s16)-MAX_MAP_GENERATION_LIMIT, (s16)MAX_MAP_GENERATION_LIMIT) |
#define GET_VM_PTR |
void LuaEmergeAreaCallback | ( | v3s16 | blockpos, |
EmergeAction | action, | ||
void * | param | ||
) |
References ScriptApiBase::getServer(), ScriptApiEnv::on_emerge_area_completion(), ScriptCallbackState::refcount, and ScriptCallbackState::script.
Referenced by ModApiEnv::l_emerge_area().