Home
last modified time | relevance | path

Searched refs:light_propagates (Results 1 – 18 of 18) sorted by relevance

/dports/games/freeminer/freeminer-0.4.10.4/src/
H A Dvoxel.cpp126 else if(ndef->get(m).light_propagates == false) in print()
340 if(nodemgr->get(n2).light_propagates && light2 != 0) in unspreadLight()
470 if(nodemgr->get(n2).light_propagates && n2.getLight(bank, nodemgr) != 0)
562 if(nodemgr->get(n2).light_propagates) in spreadLight()
669 if(nodemgr->get(n2).light_propagates) in spreadLight()
H A Dnodedef.cpp223 light_propagates = false; in reset()
298 writeU8(os, light_propagates); in serialize()
365 light_propagates = readU8(is); in deSerialize()
512 f.light_propagates = true; in clear()
534 f.light_propagates = false; in clear()
1129 writeU8(os, light_propagates); in serializeOld()
1177 writeU8(os, light_propagates); in serializeOld()
1239 light_propagates = readU8(is); in deSerializeOld()
1288 light_propagates = readU8(is); in deSerializeOld()
H A Dmapgen.cpp199 if (light <= nn.param1 || !ndef->get(nn).light_propagates) in lightSpread()
267 !ndef->get(n).light_propagates) in calcLighting()
H A Dnodedef.h220 bool light_propagates; member
H A Dmapblock.cpp250 else if(nodemgr->get(n).light_propagates == false) in propagateSunlight()
301 if(nodemgr->get(n).light_propagates) in propagateSunlight()
H A Dtest.cpp136 f.light_propagates = true; in define_some_nodes()
742 UASSERT(nodedef->get(n).light_propagates == true); in Run()
744 UASSERT(nodedef->get(n).light_propagates == false); in Run()
H A Dmap.cpp378 if(nodemgr->get(n2).light_propagates in unspreadLight()
564 if(nodemgr->get(n2).light_propagates) in spreadLight()
2079 …if(!nodemgr->get(neighbors[i].n).light_propagates || nodemgr->get(neighbors[i].n).light_source) //… in transformLiquidsReal()
/dports/games/minetest/minetest-5.4.1/src/unittest/
H A Dtest_mapnode.cpp56 UASSERT(nodedef->get(n).light_propagates == true); in testNodeProperties()
H A Dtest.cpp166 f.light_propagates = true; in defineSomeNodes()
/dports/games/minetest/minetest-5.4.1/src/
H A Dvoxelalgorithms.cpp305 if (neighbor_f.light_propagates && neighbor_light < current_light) { in unspread_light()
331 if (brightest_neighbor_light > 1 && f.light_propagates) { in unspread_light()
390 if (f.light_propagates) { in spread_light()
523 if (ndef->get(n).light_propagates) { in update_lighting_nodes()
H A Dnodedef.cpp368 light_propagates = false; in reset()
475 writeU8(os, light_propagates); in serialize()
568 light_propagates = readU8(is); in deSerialize()
1049 f.light_propagates = true; in clear()
1069 f.light_propagates = false; in clear()
H A Dvoxel.cpp109 else if(!ndef->get(m).light_propagates) in print()
H A Dnodedef.h346 bool light_propagates; member
H A Dmap.cpp1115 !m_nodedef->get(node).light_propagates) { in isOccluded()
/dports/games/minetest/minetest-5.4.1/src/mapgen/
H A Dmapgen.cpp452 !ndef->get(n).light_propagates) in lightSpread()
532 if (!cf.light_propagates) in spreadLight()
/dports/games/minetest/minetest-5.4.1/src/client/
H A Dmapblock_mesh.cpp196 return f.light_propagates; in getSmoothLightCombined()
/dports/games/freeminer/freeminer-0.4.10.4/src/script/common/
H A Dc_content.cpp470 f.light_propagates = (f.param_type == CPT_LIGHT); in read_content_features()
/dports/games/minetest/minetest-5.4.1/src/script/common/
H A Dc_content.cpp692 f.light_propagates = (f.param_type == CPT_LIGHT); in read_content_features()