Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Changed entity ownership model to use smart pointers | Tiger Wang | 2017-08-07 | 1 | -0/+1 |
| | |||||
* | Store cChunk::m_BlockEntities in a map (#3717) | peterbell10 | 2017-05-22 | 1 | -10/+8 |
| | | | | | | * Store block entities in a map from block index * Cleanup ForEachBlockEntity * Cleanup DoWithBlockEntityAt | ||||
* | Bulk clearing of whitespace | LogicParrot | 2016-02-05 | 1 | -4/+4 |
| | |||||
* | Merge pull request #1945 from Woazboat/CodeCleanup_refactored | Mattes D | 2015-05-08 | 1 | -1/+1 |
|\ | | | | | Small code cleanup - clean version | ||||
| * | Tracer::signum function now returns int | Woazboat | 2015-05-08 | 1 | -1/+1 |
| | | | | | | | | | | | | convert c style casts to c++ static casts Changed fabs() to std::abs() | ||||
* | | Revert "Small code cleanup" | worktycho | 2015-05-05 | 1 | -2/+5 |
| | | |||||
* | | convert c style casts to c++ static casts | Woazboat | 2015-04-28 | 1 | -1/+1 |
|/ | |||||
* | Removed redundant temp iterator. std::list.erase already returns | Woazboat | 2015-04-27 | 1 | -4/+1 |
| | | | | iterator to next valid list element | ||||
* | cSetChunkData constructor explicitly requires std::move() instead of | Woazboat | 2015-04-27 | 1 | -4/+4 |
| | | | | unsafely stealing data | ||||
* | Fixed CppCheck: (performance) Prefer prefix ++/-- operators for non-primitive types. | Kirill Kirilenko | 2015-01-17 | 1 | -1/+1 |
| | |||||
* | En masse NULL -> nullptr replace | Tiger Wang | 2014-10-23 | 1 | -5/+5 |
| | |||||
* | Fixed loading empty chunks. | Mattes D | 2014-09-05 | 1 | -1/+0 |
| | | | | Reported on the Dropper map in #1307. | ||||
* | Delete the entity before removing from the list | worktycho | 2014-08-31 | 1 | -1/+1 |
| | | | Old code was calling dereference on invalid iterator | ||||
* | Rewritten block entity loading. | Mattes D | 2014-08-29 | 1 | -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 D | 2014-08-21 | 1 | -0/+3 |
| | |||||
* | Added a queue for setting chunk data. | madmaxoft | 2014-07-24 | 1 | -0/+115 |
Fixes #1196. |