summaryrefslogtreecommitdiff
path: root/src/nodemetadata.cpp
Commit message (Collapse)AuthorAge
* Private nodemeta (#5702)sfan52017-05-10
| | | | * Private node metadata that isn't sent to the client
* Derive NodeMetadata from Metadatarubenwardy2017-02-04
|
* Do not serialize empty NodeMetadatasfan52016-09-21
| | | | | This commit fixes #4516, though note that this will gradually fix MapBlocks as they are used/modified and thus re-serialized.
* Rename macros with two leading underscoresShadowNinja2015-10-14
| | | | These names are reserved for the compiler/library implementations.
* Use warningstream for log messages with WARNINGShadowNinja2015-10-14
| | | | Remove DTIME macro and its uses, too
* Various style cleanups + unused code removalest312015-09-19
| | | | | | | | | | -> Don't pass pointer to whole IGameDef to NodeMetadata constructors and deserializers, but only to IItemDefManager, which is needed -> Remove the unused content_mapnode_get_new_name() method -> Fix style for MapBlock::deSerialize and MapBlock::deSerialize_pre22, improving accuracy of error messages a bit -> Fix style at other serialisation methods too -> Improve accuracy of some comments
* Change i++ to ++iDavid Jones2015-08-25
|
* Replace instances of std::map<std::string, std::string> with StringMapkwolekr2015-05-19
| | | | | | Also, clean up surrounding code style Replace by-value parameter passing with const refs when possible Fix post-increment of iterators
* Add core.find_nodes_with_meta() script APIkwolekr2015-05-05
|
* Fix NodeMetadataList loosing memory on deserialize due to invalid clear map ↵sapier2015-01-17
| | | | call instead of clear
* Use std::string::empty() instead of size() where applicableAnton2014-12-12
|
* serialize.h: use machine native byte swapping if available, fall-back to ↵Rafael Reilova2014-11-21
| | | | | | | | | | | | | | | | | | | | | previous generic method if not (supported for GCC using endian.h, detection done in cmake) write/readARGB8() - just write 32-bit color in one op, instead of 4 1-byte ops cleanup: removed unneeded buffer init for some serialize-out functions use a #define for the fixed point factor in read/writeF1000() nodemetadata.cpp, nodetimer.cpp optimzation: simpler deserialize node position method staticobject.cpp: cleanup: use util/serialize.h inlines instead of its own de/serialization serialize.cpp: minor optimization/cleanup: avoid generation of unneeded string temporary CMakeLists.txt, cmake_config.h.in: detection of endian.h config.h: added HAVE_ENDIAN_H Commits due to feedback squashed Signed-off-by: Craig Robbins <kde.psych@gmail.com>
* Add a limit to node meta data resolving recursionShadowNinja2014-05-07
|
* Update Copyright YearsSfan52013-02-24
|
* Change Minetest-c55 to MinetestPilzAdam2013-02-24
|
* Properly and efficiently use split utility headersPerttu Ahola2012-06-17
|
* Switch the license to be LGPLv2/later, with small parts still remaining as ↵Perttu Ahola2012-06-05
| | | | GPLv2/later, by agreement of major contributors
* Strip unneeded variables from NodeMetadatadarkrose2012-06-03
|
* WIP node metadata, node timersKahrl2012-06-03
|
* Move NodeMetadata prototype containers to content_nodemeta.cpp to fix them ↵Perttu Ahola2011-12-01
| | | | not being filled correctly on some systems and compilers
* Mode node definition loading from Lua (still not finished), fix metadata ↵Perttu Ahola2011-11-29
| | | | creation from name
* Add names to NodeMetadataPerttu Ahola2011-11-29
|
* Create framework for getting rid of global definitions of ↵Perttu Ahola2011-11-29
| | | | node/tool/item/whatever types
* Switch more stuff to use the logging thing and fix segfault on player leave ↵Perttu Ahola2011-10-16
| | | | from server as introduced in a previous switch-to-logging commit
* Created and moved stuff to content_nodemeta.{h,cpp}Perttu Ahola2011-06-18
|
* Moved some mapnode content stuff from mapnode.{h,cpp} and digging property ↵Perttu Ahola2011-06-17
| | | | stuff from material.cpp to content_mapnode.{h,cpp}
* hopefully fixed old furnaces taking ridiculous amounts of cpu and halting ↵Perttu Ahola2011-06-16
| | | | the server
* Reduced server CPU usage on NodeMetadata step()s. Also furnace now cooks ↵Perttu Ahola2011-05-31
| | | | while no players are near it.
* Some progress on transitioning from MapBlockObject to ActiveObject.Perttu Ahola2011-04-08
|
* fixed the bug of disabled removal of empty chestsPerttu Ahola2011-04-06
|
* Furnace is now usable. Added more tools.Perttu Ahola2011-04-05
| | | | | | --HG-- rename : data/tool_stpick.png => data/tool_stonepick.png rename : data/tool_wpick.png => data/tool_woodpick.png
* A more robust format for node metadataPerttu Ahola2011-04-05
|
* initial workings of the furnacePerttu Ahola2011-04-05
|
* changed node metadata format to better accomodate future needs and problemsPerttu Ahola2011-04-05
|
* Chests work now!Perttu Ahola2011-04-04
|
* initial chest metadataPerttu Ahola2011-04-04
|
* forgot some filesPerttu Ahola2011-04-04