aboutsummaryrefslogtreecommitdiff
path: root/src/object_properties.cpp
Commit message (Expand)AuthorAge
* Hardware coloring for itemstacksDániel Juhász2017-04-08
* Move PP() and PP2() macros to basic_macros.hRogier2016-12-24
* Show infotext with description for item entitiesRealBadAngel2016-01-18
* Add support for limiting rotation of automatic face movement dir entitysSapier2015-12-19
* Add option to give every object a nametagBlockMen2015-12-15
* Add option to disable backface culling for modelsBlockMen2015-10-25
* Add offset to automatic_face_movement_dirPilzAdam2013-09-10
* Omnicleanup: header cleanup, add ModApiUtil shared between game and mainmenuKahrl2013-08-14
* Add support for entities to automatic face movement directionsapier2013-08-13
* Add support for setting stepheight for entitiessapier2013-07-30
* Add an option to disable object <-> object collision for Lua entitiesPilzAdam2013-07-20
* Update Copyright YearsSfan52013-02-24
* Change Minetest-c55 to MinetestPilzAdam2013-02-24
* Modify new ObjectProperties format to such that 0.4.3 will eat itPerttu Ahola2012-11-29
* Proper versioning of new network-serialized stuffPerttu Ahola2012-11-26
* Framework for the attachment system, new object property which allows changin...MirceaKitsune2012-11-25
* Get the new animation framework properly workingMirceaKitsune2012-11-25
* Joint positioning and rotation code, and fix a problem related to their lua APIMirceaKitsune2012-11-25
* Allow the LUA API to set animations to meshes as well as the animation speed....MirceaKitsune2012-11-25
* Add a subfolder for models and transfer models from server to clientMirceaKitsune2012-11-25
* Properly read the mesh from LUA.MirceaKitsune2012-11-25
* Properly and efficiently use split utility headersPerttu Ahola2012-06-17
* Switch the license to be LGPLv2/later, with small parts still remaining as GP...Perttu Ahola2012-06-05
* Fix dropped nodeitem visualsPerttu Ahola2012-04-04
* ObjectPropertiesPerttu Ahola2012-03-30
class="hl opt">); MapBlock * createBlankBlock(s16 y); void insertBlock(MapBlock *block); void deleteBlock(MapBlock *block); void getBlocks(MapBlockVect &dest); // Always false at the moment, because sector contains no metadata. bool differs_from_disk; protected: // The pile of MapBlocks std::map<s16, MapBlock*> m_blocks; Map *m_parent; // Position on parent (in MapBlock widths) v2s16 m_pos; IGameDef *m_gamedef; // Last-used block is cached here for quicker access. // Be sure to set this to NULL when the cached block is deleted MapBlock *m_block_cache; s16 m_block_cache_y; /* Private methods */ MapBlock *getBlockBuffered(s16 y); }; class ServerMapSector : public MapSector { public: ServerMapSector(Map *parent, v2s16 pos, IGameDef *gamedef); ~ServerMapSector(); u32 getId() const { return MAPSECTOR_SERVER; } /* These functions handle metadata. They do not handle blocks. */ void serialize(std::ostream &os, u8 version); static ServerMapSector* deSerialize( std::istream &is, Map *parent, v2s16 p2d, std::map<v2s16, MapSector*> & sectors, IGameDef *gamedef ); private: }; #ifndef SERVER class ClientMapSector : public MapSector { public: ClientMapSector(Map *parent, v2s16 pos, IGameDef *gamedef); ~ClientMapSector(); u32 getId() const { return MAPSECTOR_CLIENT; } private: }; #endif #endif