Commit message (Collapse) | Author | Age | |
---|---|---|---|
* | Send to clients node metadata that changed to become empty (#11597) | Jude Melton-Houghton | 2021-09-10 |
| | |||
* | Reserve vectors before pushing and other code quality changes (#11161) | sfan5 | 2021-04-05 |
| | |||
* | (se)SerializeString: Include max length in the name | SmallJoker | 2020-10-01 |
| | | | | | | | This commit clarifies the maximal length of the serialized strings. It will avoid accidental use of serializeString() when a larger string can be expected. Removes unused Wide String serialization functions | ||
* | Send only changed node metadata to clients instead of whole mapblock (#5268) | SmallJoker | 2018-12-04 |
| | | | | | | | Includes newer style changes and fixes by est31 Improve the block position de-serialization Add type NodeMetadataMap | ||
* | Code modernization: src/n*, src/o* (#6280) | Loïc Blot | 2017-08-19 |
| | | | | | | | | | | | * Code modernization: src/n*, src/o* * empty function * default constructor/destructor * for range-based loops * use emplace_back instead of push_back * remove unused IWritableNodeDefManager::clone() * C++ STL header style * Pointer constness in some functions | ||
* | Private nodemeta (#5702) | sfan5 | 2017-05-10 |
| | | | | * Private node metadata that isn't sent to the client | ||
* | Derive NodeMetadata from Metadata | rubenwardy | 2017-02-04 |
| | |||
* | Do not serialize empty NodeMetadata | sfan5 | 2016-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 underscores | ShadowNinja | 2015-10-14 |
| | | | | These names are reserved for the compiler/library implementations. | ||
* | Use warningstream for log messages with WARNING | ShadowNinja | 2015-10-14 |
| | | | | Remove DTIME macro and its uses, too | ||
* | Various style cleanups + unused code removal | est31 | 2015-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 ++i | David Jones | 2015-08-25 |
| | |||
* | Replace instances of std::map<std::string, std::string> with StringMap | kwolekr | 2015-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 API | kwolekr | 2015-05-05 |
| | |||
* | Fix NodeMetadataList loosing memory on deserialize due to invalid clear map ↵ | sapier | 2015-01-17 |
| | | | | call instead of clear | ||
* | Use std::string::empty() instead of size() where applicable | Anton | 2014-12-12 |
| | |||
* | serialize.h: use machine native byte swapping if available, fall-back to ↵ | Rafael Reilova | 2014-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 recursion | ShadowNinja | 2014-05-07 |
| | |||
* | Update Copyright Years | Sfan5 | 2013-02-24 |
| | |||
* | Change Minetest-c55 to Minetest | PilzAdam | 2013-02-24 |
| | |||
* | Properly and efficiently use split utility headers | Perttu Ahola | 2012-06-17 |
| | |||
* | Switch the license to be LGPLv2/later, with small parts still remaining as ↵ | Perttu Ahola | 2012-06-05 |
| | | | | GPLv2/later, by agreement of major contributors | ||
* | Strip unneeded variables from NodeMetadata | darkrose | 2012-06-03 |
| | |||
* | WIP node metadata, node timers | Kahrl | 2012-06-03 |
| | |||
* | Move NodeMetadata prototype containers to content_nodemeta.cpp to fix them ↵ | Perttu Ahola | 2011-12-01 |
| | | | | not being filled correctly on some systems and compilers | ||
* | Mode node definition loading from Lua (still not finished), fix metadata ↵ | Perttu Ahola | 2011-11-29 |
| | | | | creation from name | ||
* | Add names to NodeMetadata | Perttu Ahola | 2011-11-29 |
| | |||
* | Create framework for getting rid of global definitions of ↵ | Perttu Ahola | 2011-11-29 |
| | | | | node/tool/item/whatever types | ||
* | Switch more stuff to use the logging thing and fix segfault on player leave ↵ | Perttu Ahola | 2011-10-16 |
| | | | | from server as introduced in a previous switch-to-logging commit | ||
* | Created and moved stuff to content_nodemeta.{h,cpp} | Perttu Ahola | 2011-06-18 |
| | |||
* | Moved some mapnode content stuff from mapnode.{h,cpp} and digging property ↵ | Perttu Ahola | 2011-06-17 |
| | | | | stuff from material.cpp to content_mapnode.{h,cpp} | ||
* | hopefully fixed old furnaces taking ridiculous amounts of cpu and halting ↵ | Perttu Ahola | 2011-06-16 |
| | | | | the server | ||
* | Reduced server CPU usage on NodeMetadata step()s. Also furnace now cooks ↵ | Perttu Ahola | 2011-05-31 |
| | | | | while no players are near it. | ||
* | Some progress on transitioning from MapBlockObject to ActiveObject. | Perttu Ahola | 2011-04-08 |
| | |||
* | fixed the bug of disabled removal of empty chests | Perttu Ahola | 2011-04-06 |
| | |||
* | Furnace is now usable. Added more tools. | Perttu Ahola | 2011-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 metadata | Perttu Ahola | 2011-04-05 |
| | |||
* | initial workings of the furnace | Perttu Ahola | 2011-04-05 |
| | |||
* | changed node metadata format to better accomodate future needs and problems | Perttu Ahola | 2011-04-05 |
| | |||
* | Chests work now! | Perttu Ahola | 2011-04-04 |
| | |||
* | initial chest metadata | Perttu Ahola | 2011-04-04 |
| | |||
* | forgot some files | Perttu Ahola | 2011-04-04 |