Home
last modified time | relevance | path

Searched refs:ContentFeatures (Results 1 – 25 of 65) sorted by relevance

123

/dports/games/freeminer/freeminer-0.4.10.4/src/
H A Dnodedef.h167 struct ContentFeatures struct
284 ContentFeatures(); argument
285 ~ContentFeatures();
298 bool sameLiquid(const ContentFeatures &f) const{ in sameLiquid() argument
440 virtual const ContentFeatures& get(content_t c) const=0;
441 virtual const ContentFeatures& get(const MapNode &n) const=0;
448 virtual const ContentFeatures& get(const std::string &name) const=0;
462 virtual const ContentFeatures& get(content_t c) const=0;
463 virtual const ContentFeatures& get(const MapNode &n) const=0;
471 virtual const ContentFeatures& get(const std::string &name) const=0;
[all …]
H A Dnodedef.cpp173 ContentFeatures::ContentFeatures() in ContentFeatures() function in ContentFeatures
178 ContentFeatures::~ContentFeatures() in ~ContentFeatures()
182 void ContentFeatures::reset() in reset()
472 ContentFeatures *f = &m_content_features[i]; in ~CNodeDefManager()
498 ContentFeatures f; in clear()
508 ContentFeatures f; in clear()
530 ContentFeatures f; in clear()
723 ContentFeatures f; in allocateDummy()
769 ContentFeatures *f = &m_content_features[i]; in updateTextures()
1015 ContentFeatures *f = &m_content_features[i]; in serialize()
[all …]
H A Dcircuit_element.h113 void swap(const MapNode& n_old, const ContentFeatures& n_old_features,
114 const MapNode& n_new, const ContentFeatures& n_new_features);
120 inline static u8 rotateFace(const MapNode& node, const ContentFeatures& node_features, u8 face) { in rotateFace()
128 …inline static u8 revRotateFace(const MapNode& node, const ContentFeatures& node_features, u8 face)… in revRotateFace()
H A Dmapnode.cpp83 const ContentFeatures &f = nodemgr->get(*this); in getLight()
97 const ContentFeatures &f = nodemgr->get(*this); in getLightBanks()
117 const ContentFeatures &f = nodemgr->get(*this); in getFaceDir()
125 const ContentFeatures &f = nodemgr->get(*this); in getWallMounted()
345 const ContentFeatures &f = nodemgr->get(n); in transformNodeBox()
357 const ContentFeatures &f = nodemgr->get(*this); in getNodeBoxes()
363 const ContentFeatures &f = nodemgr->get(*this); in getCollisionBoxes()
372 const ContentFeatures &f = nodemgr->get(*this); in getSelectionBoxes()
383 const ContentFeatures &f = nodemgr->get(*this); in getLevel()
412 const ContentFeatures &f = nodemgr->get(*this); in setLevel()
H A Dcircuit_element.cpp132 const ContentFeatures& node_features = ndef->get(node); in updateState()
246 const ContentFeatures& first_node_features = ndef->get(current_node); in findConnectedWithFace()
252 const ContentFeatures& current_node_features = ndef->get(current_node); in findConnectedWithFace()
264 const ContentFeatures& current_node_features = ndef->get(current_node); in findConnectedWithFace()
272 const ContentFeatures& node_features = ndef->get(next_node); in findConnectedWithFace()
352 void CircuitElement::swap(const MapNode& n_old, const ContentFeatures& n_old_features, in swap()
353 const MapNode& n_new, const ContentFeatures& n_new_features) { in swap()
H A Dcircuit.cpp101 const ContentFeatures& node_f = m_ndef->get(n); in addNode()
121 const ContentFeatures& n_old_f = m_ndef->get(n_old); in swapNode()
122 const ContentFeatures& n_new_f = m_ndef->get(n_new); in swapNode()
422 const ContentFeatures& n_old_features = m_ndef->get(n_old); in swapElement()
423 const ContentFeatures& n_new_features = m_ndef->get(n_new); in swapElement()
H A Dmesh.h85 scene::IMesh* convertNodeboxNodeToMesh(ContentFeatures *f);
/dports/games/minetest/minetest-5.4.1/src/
H A Dnodedef.h278 struct ContentFeatures struct
421 ContentFeatures(); argument
422 ~ContentFeatures();
467 bool sameLiquid(const ContentFeatures &f) const{ in sameLiquid() argument
525 inline const ContentFeatures& get(content_t c) const { in get()
537 inline const ContentFeatures& get(const MapNode &n) const { in get()
547 const ContentFeatures& get(const std::string &name) const;
618 content_t set(const std::string &name, const ContentFeatures &def);
740 std::vector<ContentFeatures> m_content_features;
H A Dmapnode.cpp82 const ContentFeatures &f = nodemgr->get(*this); in isLightDayNightEq()
99 const ContentFeatures &f = nodemgr->get(*this); in getLight()
127 const ContentFeatures &f = nodemgr->get(*this); in getLightBanks()
148 const ContentFeatures &f = nodemgr->get(*this); in getFaceDir()
160 const ContentFeatures &f = nodemgr->get(*this); in getWallMounted()
524 const ContentFeatures &f = nodedef->get(*this); in getNeighbors()
559 const ContentFeatures &f = nodemgr->get(*this); in getNodeBoxes()
566 const ContentFeatures &f = nodemgr->get(*this); in getCollisionBoxes()
576 const ContentFeatures &f = nodemgr->get(*this); in getSelectionBoxes()
582 const ContentFeatures &f = nodemgr->get(*this); in getMaxLevel()
[all …]
H A Dmapnode.h110 struct ContentFeatures;
187 void getColor(const ContentFeatures &f, video::SColor *color) const;
189 void setLight(LightBank bank, u8 a_light, const ContentFeatures &f) noexcept;
207 u8 getLightRaw(LightBank bank, const ContentFeatures &f) const noexcept;
224 u8 getLightNoChecks(LightBank bank, const ContentFeatures *f) const noexcept;
H A Dnodedef.cpp310 ContentFeatures::ContentFeatures() in ContentFeatures() function in ContentFeatures
315 ContentFeatures::~ContentFeatures() in ~ContentFeatures()
327 void ContentFeatures::reset() in reset()
426 u8 ContentFeatures::getAlphaForLegacy() const in getAlphaForLegacy()
1035 ContentFeatures f; in clear()
1045 ContentFeatures f; in clear()
1065 ContentFeatures f; in clear()
1347 ContentFeatures f; in allocateDummy()
1500 ContentFeatures f; in deSerialize()
1631 const ContentFeatures &f1 = get(from); in nodeboxConnects()
[all …]
H A Dreflowscan.cpp96 const ContentFeatures &f = m_ndef->get(node); in isLiquidFlowableTo()
145 const ContentFeatures &f = m_ndef->get(node); in scanColumn()
183 const ContentFeatures &f = m_ndef->get(node); in scanColumn()
H A Dvoxelalgorithms.cpp271 const ContentFeatures &f = nodemgr->get(node); in unspread_light()
299 const ContentFeatures &neighbor_f = nodemgr->get( in unspread_light()
672 const ContentFeatures &f = ndef->get(n); in is_light_locally_correct()
809 const ContentFeatures &f = ndef->get(n->getContent()); in fill_with_sunlight()
902 const ContentFeatures &f = ndef->get(n); in propagate_block_sunlight()
921 const ContentFeatures &f = ndef->get(n); in propagate_block_sunlight()
1012 const ContentFeatures &f = ndef->get(node); in finish_bulk_light_update()
1115 const ContentFeatures &oldf = ndef->get(oldnode); in blit_back_with_light()
1117 const ContentFeatures &newf = oldnode == newnode ? oldf : in blit_back_with_light()
1177 const ContentFeatures &f = ndef->get(n.getContent()); in fill_with_sunlight()
[all …]
/dports/games/minetest/minetest-5.4.1/src/client/
H A Dparticles.h32 struct ContentFeatures;
154 const MapNode &n, const ContentFeatures &f);
157 const MapNode &n, const ContentFeatures &f);
172 static bool getNodeParticleParams(const MapNode &n, const ContentFeatures &f,
H A Dwieldmesh.h29 struct ContentFeatures;
80 void setCube(const ContentFeatures &f, v3f wield_scale);
141 void postProcessNodeMesh(scene::SMesh *mesh, const ContentFeatures &f, bool use_shaders,
H A Dparticles.cpp314 const ContentFeatures &f = in spawnParticle()
491 const ContentFeatures &f = m_env->getGameDef()->ndef()->get(p.node); in handleParticleEvent()
520 const ContentFeatures &f, ParticleParameters &p, video::ITexture **texture, in getNodeParticleParams()
562 LocalPlayer *player, v3s16 pos, const MapNode &n, const ContentFeatures &f) in addDiggingParticles()
577 LocalPlayer *player, v3s16 pos, const MapNode &n, const ContentFeatures &f) in addNodeParticle()
H A Dwieldmesh.cpp232 void WieldMeshSceneNode::setCube(const ContentFeatures &f, in setCube()
306 …odeMesh(Client *client, content_t id, std::vector<ItemPartColor> *colors, const ContentFeatures &f) in createSpecialNodeMesh()
356 const ContentFeatures &f = ndef->get(def.name); in setItem()
522 const ContentFeatures &f = ndef->get(def.name); in getItemMesh()
658 void postProcessNodeMesh(scene::SMesh *mesh, const ContentFeatures &f, in postProcessNodeMesh()
H A Dlocalplayer.cpp440 const ContentFeatures &f = nodemgr->get(map->getNode(m_standing_node)); in move()
441 const ContentFeatures &f1 = nodemgr->get(map->getNode(m_standing_node + v3s16(0, 1, 0))); in move()
1055 const ContentFeatures &f = nodemgr->get(map->getNode(getStandingNodePos())); in old_move()
1084 const ContentFeatures &f = nodemgr->get(map->getNode(getStandingNodePos())); in getSlipFactor()
1147 const ContentFeatures &f = ndef->get(n); in handleAutojump()
/dports/games/minetest/minetest-5.4.1/src/unittest/
H A Dtest_nodedef.cpp50 ContentFeatures f; in testContentFeaturesSerialization()
62 ContentFeatures f2; in testContentFeaturesSerialization()
H A Dtest.cpp119 ContentFeatures f; in defineSomeNodes()
131 f = ContentFeatures(); in defineSomeNodes()
149 f = ContentFeatures(); in defineSomeNodes()
163 f = ContentFeatures(); in defineSomeNodes()
181 f = ContentFeatures(); in defineSomeNodes()
202 f = ContentFeatures(); in defineSomeNodes()
226 f = ContentFeatures(); in defineSomeNodes()
/dports/games/minetest/minetest-5.4.1/src/script/common/
H A Dc_content.h57 struct ContentFeatures;
70 void read_content_features (lua_State *L, ContentFeatures &f,
73 const ContentFeatures &c);
/dports/net/rclone/rclone-1.57.0/vendor/github.com/anacrolix/dms/dlna/
H A Ddlna.go15 type ContentFeatures struct { struct
33 func (cf ContentFeatures) String() (ret string) { argument
H A Ddlna_test.go8 a := ContentFeatures{
/dports/games/freeminer/freeminer-0.4.10.4/src/script/common/
H A Dc_content.h58 struct ContentFeatures;
68 ContentFeatures read_content_features (lua_State *L, int index);
/dports/games/minetest/minetest-5.4.1/src/server/
H A Dplayer_sao.cpp160 const ContentFeatures &c = m_env->getGameDef()->ndef()->get(n); in step()
179 const ContentFeatures &c = m_env->getGameDef()->ndef()->get(n); in step()
198 const ContentFeatures &c = m_env->getGameDef()->ndef()->get(n); in step()
209 const ContentFeatures &c = m_env->getGameDef()->ndef()->get(ntop); in step()

123