#include <mapnode.h>
Public Member Functions | |
bool | operator== (const ContentLightingFlags &other) const |
bool | operator!= (const ContentLightingFlags &other) const |
Public Attributes | |
u8 | light_source: 4 |
bool | has_light: 1 |
bool | light_propagates: 1 |
bool | sunlight_propagates: 1 |
|
inline |
|
inline |
References has_light, light_propagates, light_source, and sunlight_propagates.
bool ContentLightingFlags::has_light |
Referenced by voxalgo::blit_back_with_light(), voxalgo::finish_bulk_light_update(), ClientMap::getBackgroundBrightness(), ContentFeatures::getLightingFlags(), getVisibleBrightness(), voxalgo::is_light_locally_correct(), operator==(), MapblockMeshGenerator::prepareLiquidNodeDrawing(), and voxalgo::repair_block_light().
bool ContentLightingFlags::light_propagates |
u8 ContentLightingFlags::light_source |
Referenced by voxalgo::blit_back_with_light(), voxalgo::finish_bulk_light_update(), getFaceLight(), ContentFeatures::getLightingFlags(), voxalgo::is_light_locally_correct(), operator==(), voxalgo::repair_block_light(), Mapgen::spreadLight(), voxalgo::unspread_light(), and voxalgo::update_lighting_nodes().
bool ContentLightingFlags::sunlight_propagates |