Luanti 5.10.0-dev
 
Loading...
Searching...
No Matches
environment.cpp File Reference
#include <fstream>
#include "environment.h"
#include "collision.h"
#include "raycast.h"
#include "scripting_server.h"
#include "server.h"
#include "daynightratio.h"
#include "emerge.h"
+ Include dependency graph for environment.cpp:

Functions

static PointabilityType isPointableNode (const MapNode &n, const NodeDefManager *nodedef, bool liquids_pointable, const std::optional< Pointabilities > &pointabilities)
 

Function Documentation

◆ isPointableNode()

static PointabilityType isPointableNode ( const MapNode & n,
const NodeDefManager * nodedef,
bool liquids_pointable,
const std::optional< Pointabilities > & pointabilities )
inlinestatic

References NodeDefManager::get(), ContentFeatures::groups, ContentFeatures::isLiquid(), ContentFeatures::name, POINTABLE, and ContentFeatures::pointable.

Referenced by Environment::continueRaycast().

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