summaryrefslogtreecommitdiffstats
path: root/src/SetChunkData.cpp (unfollow)
Commit message (Collapse)AuthorFilesLines
2016-02-05Bulk clearing of whitespaceLogicParrot1-4/+4
2015-05-08Tracer::signum function now returns intWoazboat1-1/+1
convert c style casts to c++ static casts Changed fabs() to std::abs()
2015-05-05Revert "Small code cleanup"worktycho1-2/+5
2015-04-28convert c style casts to c++ static castsWoazboat1-1/+1
2015-04-27Removed redundant temp iterator. std::list.erase already returnsWoazboat1-4/+1
iterator to next valid list element
2015-04-27cSetChunkData constructor explicitly requires std::move() instead ofWoazboat1-4/+4
unsafely stealing data
2015-01-17Fixed CppCheck: (performance) Prefer prefix ++/-- operators for non-primitive types.Kirill Kirilenko1-1/+1
2014-10-23En masse NULL -> nullptr replaceTiger Wang1-5/+5
2014-10-20En masse NULL -> nullptr replaceTiger Wang1-5/+5
2014-09-05Fixed loading empty chunks.Mattes D1-1/+0
Reported on the Dropper map in #1307.
2014-08-31Delete the entity before removing from the listworktycho1-1/+1
Old code was calling dereference on invalid iterator
2014-08-29Rewritten block entity loading.Mattes D1-0/+33
Block entities are now loaded based on the blocktype at the coords they specify; before loading, their type ("id" NBT tag) is checked. The chunk now expects that all block entities given to it via cChunk::SetAllData() have their valid blocktype; asserts if they don't. Fixes #1354.
2014-08-21cSetChunkData: Added missing initializers.Mattes D1-0/+3
2014-07-24Added a queue for setting chunk data.madmaxoft1-0/+115
Fixes #1196.