#include "clientmap.h"
#include "client.h"
#include "client/mesh.h"
#include "mapblock_mesh.h"
#include <IMaterialRenderer.h>
#include <IVideoDriver.h>
#include <matrix4.h>
#include "mapsector.h"
#include "mapblock.h"
#include "nodedef.h"
#include "profiler.h"
#include "settings.h"
#include "camera.h"
#include "util/basic_macros.h"
#include "util/tracy_wrapper.h"
#include "client/renderingengine.h"
#include <queue>
Classes | |
class | MapBlockFlags |
class | MapBlockFlags::Chunk |
Functions | |
static void | on_settings_changed (const std::string &name, void *data) |
static bool | getVisibleBrightness (Map *map, const v3f &p0, v3f dir, float step, float step_multiplier, float start_distance, float end_distance, const NodeDefManager *ndef, u32 daylight_factor, float sunlight_min_d, int *result, bool *sunlight_seen) |
Variables | |
static const std::string | ClientMap_settings [] |
|
static |
References BS, CONTENT_IGNORE, dir(), floatToInt(), MapNode::getContent(), MapNode::getLight(), MapNode::getLightBlend(), NodeDefManager::getLightingFlags(), Map::getNode(), ContentLightingFlags::has_light, LIGHT_SUN, LIGHTBANK_DAY, p(), and ContentLightingFlags::sunlight_propagates.
Referenced by ClientMap::getBackgroundBrightness().
|
static |
|
static |
Referenced by ClientMap::ClientMap().