Luanti 5.10.0-dev
 
Loading...
Searching...
No Matches
serverenvironment.cpp File Reference
#include <algorithm>
#include <stack>
#include <utility>
#include "serverenvironment.h"
#include "settings.h"
#include "log.h"
#include "mapblock.h"
#include "nodedef.h"
#include "nodemetadata.h"
#include "gamedef.h"
#include "porting.h"
#include "profiler.h"
#include "raycast.h"
#include "remoteplayer.h"
#include "scripting_server.h"
#include "server.h"
#include "util/serialize.h"
#include "util/numeric.h"
#include "util/basic_macros.h"
#include "util/pointedthing.h"
#include "threading/mutex_auto_lock.h"
#include "filesys.h"
#include "gameparams.h"
#include "database/database-dummy.h"
#include "database/database-files.h"
#include "database/database-sqlite3.h"
#include "database/database-leveldb.h"
#include "irrlicht_changes/printing.h"
#include "server/luaentity_sao.h"
#include "server/player_sao.h"
+ Include dependency graph for serverenvironment.cpp:

Classes

struct  ActiveABM
 
class  ABMHandler
 

Macros

#define LBM_NAME_ALLOWED_CHARS   "abcdefghijklmnopqrstuvwxyz0123456789_:"
 
#define PARTICLE_SPAWNER_NO_EXPIRY   -1024.f
 
#define CONTENT_TYPE_CACHE_MAX   64
 

Functions

static void fillRadiusBlock (v3s16 p0, s16 r, std::set< v3s16 > &list)
 
static void fillViewConeBlock (v3s16 p0, const s16 r, const v3f camera_pos, const v3f camera_dir, const float camera_fov, std::set< v3s16 > &list)
 
static void print_hexdump (std::ostream &o, const std::string &data)
 

Macro Definition Documentation

◆ CONTENT_TYPE_CACHE_MAX

#define CONTENT_TYPE_CACHE_MAX   64

Referenced by ABMHandler::apply().

◆ LBM_NAME_ALLOWED_CHARS

#define LBM_NAME_ALLOWED_CHARS   "abcdefghijklmnopqrstuvwxyz0123456789_:"

Referenced by LBMManager::addLBMDef().

◆ PARTICLE_SPAWNER_NO_EXPIRY

#define PARTICLE_SPAWNER_NO_EXPIRY   -1024.f

Function Documentation

◆ fillRadiusBlock()

static void fillRadiusBlock ( v3s16 p0,
s16 r,
std::set< v3s16 > & list )
static

References p().

Referenced by ActiveBlockList::update().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ fillViewConeBlock()

static void fillViewConeBlock ( v3s16 p0,
const s16 r,
const v3f camera_pos,
const v3f camera_dir,
const float camera_fov,
std::set< v3s16 > & list )
static

References BS, isBlockInSight(), MAP_BLOCKSIZE, and p().

Referenced by ActiveBlockList::update().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ print_hexdump()

static void print_hexdump ( std::ostream & o,
const std::string & data )
static

References porting::mt_snprintf().

Referenced by ServerEnvironment::activateObjects().

+ Here is the call graph for this function:
+ Here is the caller graph for this function: