Minetest 5.9.0-dev
 
Loading...
Searching...
No Matches
l_env.cpp File Reference
#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"
+ 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)
 

Macro Definition Documentation

◆ CLAMP

#define CLAMP (   arg)    core::clamp(arg, (s16)-MAX_MAP_GENERATION_LIMIT, (s16)MAX_MAP_GENERATION_LIMIT)

◆ GET_VM_PTR

#define GET_VM_PTR
Value:
MMVManip *vm = getVManip(L); \
if (!vm) \
return 0
Definition: map.h:320

Function Documentation

◆ LuaEmergeAreaCallback()

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: