summaryrefslogtreecommitdiffstats
path: root/src/SetChunkData.cpp (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Revert "Small code cleanup"worktycho2015-05-051-2/+5
|
* convert c style casts to c++ static castsWoazboat2015-04-281-1/+1
|
* Removed redundant temp iterator. std::list.erase already returnsWoazboat2015-04-271-4/+1
| | | | iterator to next valid list element
* cSetChunkData constructor explicitly requires std::move() instead ofWoazboat2015-04-271-4/+4
| | | | unsafely stealing data
* Fixed CppCheck: (performance) Prefer prefix ++/-- operators for non-primitive types.Kirill Kirilenko2015-01-171-1/+1
|
* En masse NULL -> nullptr replaceTiger Wang2014-10-231-5/+5
|
* Fixed loading empty chunks.Mattes D2014-09-051-1/+0
| | | | Reported on the Dropper map in #1307.
* Delete the entity before removing from the listworktycho2014-08-311-1/+1
| | | Old code was calling dereference on invalid iterator
* Rewritten block entity loading.Mattes D2014-08-291-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.
* cSetChunkData: Added missing initializers.Mattes D2014-08-211-0/+3
|
* Added a queue for setting chunk data.madmaxoft2014-07-241-0/+115
Fixes #1196.