#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 dependency graph for l_env.cpp: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) |
Referenced by ModApiEnvBase::checkArea().
| #define GET_VM_PTR |
Referenced by ModApiEnvVM::l_add_node_level(), ModApiEnvVM::l_find_node_near(), ModApiEnvVM::l_find_nodes_in_area(), ModApiEnvVM::l_find_nodes_in_area_under_air(), ModApiEnvVM::l_get_node_level(), ModApiEnvVM::l_get_node_max_level(), ModApiEnvVM::l_get_node_or_nil(), ModApiEnvVM::l_set_node_level(), and ModApiEnvVM::l_spawn_tree().
| 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().
Here is the call graph for this function:
Here is the caller graph for this function: