Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Send to clients node metadata that changed to become empty (#11597) | Jude Melton-Houghton | 2021-09-10 | 1 | -3/+3 |
| | |||||
* | Reserve vectors before pushing and other code quality changes (#11161) | sfan5 | 2021-04-05 | 1 | -9/+7 |
| | |||||
* | (se)SerializeString: Include max length in the name | SmallJoker | 2020-10-01 | 1 | -4/+4 |
| | | | | | | | 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 | 1 | -23/+39 |
| | | | | | | | 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 | 1 | -17/+10 |
| | | | | | | | | | | | * 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 | 1 | -14/+49 |
| | | | | * Private node metadata that isn't sent to the client | ||||
* | Derive NodeMetadata from Metadata | rubenwardy | 2017-02-04 | 1 | -37/+3 |
| | |||||
* | Do not serialize empty NodeMetadata | sfan5 | 2016-09-21 | 1 | -3/+20 |
| | | | | | 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 | 1 | -1/+1 |
| | | | | These names are reserved for the compiler/library implementations. | ||||
* | Use warningstream for log messages with WARNING | ShadowNinja | 2015-10-14 | 1 | -1/+1 |
| | | | | Remove DTIME macro and its uses, too | ||||
* | Various style cleanups + unused code removal | est31 | 2015-09-19 | 1 | -14/+13 |
| | | | | | | | | | | -> 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 | 1 | -1/+1 |
| | |||||
* | Replace instances of std::map<std::string, std::string> with StringMap | kwolekr | 2015-05-19 | 1 | -8/+8 |
| | | | | | | 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 | 1 | -12/+22 |
| | |||||
* | Fix NodeMetadataList loosing memory on deserialize due to invalid clear map ↵ | sapier | 2015-01-17 | 1 | -2/+2 |
| | | | | call instead of clear | ||||
* | Use std::string::empty() instead of size() where applicable | Anton | 2014-12-12 | 1 | -1/+1 |
| | |||||
* | serialize.h: use machine native byte swapping if available, fall-back to ↵ | Rafael Reilova | 2014-11-21 | 1 | -6/+6 |
| | | | | | | | | | | | | | | | | | | | | | 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 | 1 | -0/+31 |
| | |||||
* | Update Copyright Years | Sfan5 | 2013-02-24 | 1 | -1/+1 |
| | |||||
* | Change Minetest-c55 to Minetest | PilzAdam | 2013-02-24 | 1 | -1/+1 |
| | |||||
* | Properly and efficiently use split utility headers | Perttu Ahola | 2012-06-17 | 1 | -2/+3 |
| | |||||
* | Switch the license to be LGPLv2/later, with small parts still remaining as ↵ | Perttu Ahola | 2012-06-05 | 1 | -4/+4 |
| | | | | GPLv2/later, by agreement of major contributors | ||||
* | Strip unneeded variables from NodeMetadata | darkrose | 2012-06-03 | 1 | -17/+1 |
| | |||||
* | WIP node metadata, node timers | Kahrl | 2012-06-03 | 1 | -145/+87 |
| | |||||
* | Move NodeMetadata prototype containers to content_nodemeta.cpp to fix them ↵ | Perttu Ahola | 2011-12-01 | 1 | -3/+0 |
| | | | | 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 | 1 | -9/+8 |
| | | | | creation from name | ||||
* | Add names to NodeMetadata | Perttu Ahola | 2011-11-29 | 1 | -6/+44 |
| | |||||
* | Create framework for getting rid of global definitions of ↵ | Perttu Ahola | 2011-11-29 | 1 | -5/+6 |
| | | | | node/tool/item/whatever types | ||||
* | Switch more stuff to use the logging thing and fix segfault on player leave ↵ | Perttu Ahola | 2011-10-16 | 1 | -4/+5 |
| | | | | 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 | 1 | -295/+1 |
| | |||||
* | Moved some mapnode content stuff from mapnode.{h,cpp} and digging property ↵ | Perttu Ahola | 2011-06-17 | 1 | -0/+1 |
| | | | | 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 | 1 | -2/+13 |
| | | | | the server | ||||
* | Reduced server CPU usage on NodeMetadata step()s. Also furnace now cooks ↵ | Perttu Ahola | 2011-05-31 | 1 | -73/+82 |
| | | | | while no players are near it. | ||||
* | Some progress on transitioning from MapBlockObject to ActiveObject. | Perttu Ahola | 2011-04-08 | 1 | -0/+9 |
| | |||||
* | fixed the bug of disabled removal of empty chests | Perttu Ahola | 2011-04-06 | 1 | -3/+3 |
| | |||||
* | Furnace is now usable. Added more tools. | Perttu Ahola | 2011-04-05 | 1 | -3/+16 |
| | | | | | | --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 | 1 | -11/+27 |
| | |||||
* | initial workings of the furnace | Perttu Ahola | 2011-04-05 | 1 | -5/+150 |
| | |||||
* | changed node metadata format to better accomodate future needs and problems | Perttu Ahola | 2011-04-05 | 1 | -16/+87 |
| | |||||
* | Chests work now! | Perttu Ahola | 2011-04-04 | 1 | -2/+19 |
| | |||||
* | initial chest metadata | Perttu Ahola | 2011-04-04 | 1 | -0/+28 |
| | |||||
* | forgot some files | Perttu Ahola | 2011-04-04 | 1 | -0/+204 |