summaryrefslogtreecommitdiffstats
path: root/src/BlockArea.h (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Refactored more of Entities and BlockEntities to use Vector3. (#4403)Mattes D2019-09-291-0/+9
|
* cBlockArea: Write all present data types by default (#4252)peterbell102018-07-191-2/+18
| | | | | cBlockArea::Write now defaults to use GetDataTypes() instead of assuming all data types are present. Fixes cuberite/WorldEdit#130
* Replace ItemCallbacks with lambdas (#3993)peterbell102017-09-111-4/+5
|
* cBlockArea: change MakeIndex to return size_tpeterbell102017-09-111-39/+7
|
* cBlockArea: use unique_ptrpeterbell102017-09-111-11/+54
|
* Revert "Replace ItemCallbacks with lambdas (#3948)"LogicParrot2017-09-021-6/+5
| | | | This reverts commit 496c337cdfa593654018c171f6a74c28272265b5.
* Replace ItemCallbacks with lambdas (#3948)peterbell102017-09-011-5/+6
|
* Remove double includes part 2 (#3890)peterbell102017-08-031-1/+0
|
* BlockArea: Added the GetBounds function.Mattes D2017-07-221-2/+6
|
* cBlockArea supports block entities. (#3795)Mattes D2017-06-241-30/+111
|
* Fixed bindings for cBlockArea:Read and Write. (#3568)Mattes D2017-02-051-5/+5
| | | The original bindings accepted nil as the World param, causing a crash.
* Bulk clearing of whitespaceLogicParrot2016-02-051-64/+64
|
* cBlockArea: Added CountSpecificBlocks() API function.Mattes D2015-06-081-0/+9
|
* Made -Weverything an error.tycho2015-05-241-1/+1
|
* Added cBlockArea:CountNonAirBlocks API function.Mattes D2015-04-301-1/+5
|
* Added cBlockArea::msSimpleCompare merge strategy.Mattes D2015-04-291-0/+17
|
* Added cBlockArea:GetNonAirCropRelCoords() API function.Mattes D2015-04-291-0/+5
| | | | Fixes #1915.
* En masse NULL -> nullptr replaceTiger Wang2014-10-231-70/+74
|
* convert old style casts to fix warningsSteven Riehl2014-10-121-70/+66
|
* More template keyword fixes.Mattes D2014-08-281-1/+1
|
* Fixed basic whitespace problems.madmaxoft2014-07-171-2/+2
| | | | Indenting by spaces and alignment by spaces, as well as trailing whitespace on non-empty lines.
* Renamed cChunkBuffer to cChunkDataTycho2014-05-211-1/+1
|
* Fixed minor style issuesTycho2014-05-211-2/+2
|
* Fixed issue with types not being defined for an unused parameterTycho2014-05-181-0/+1
|
* Merge branch 'master' into chunksparsing/structsTycho2014-05-031-1/+1
|\ | | | | | | | | Conflicts: src/Chunk.cpp
| * Fixed warning in cBlockArea.madmaxoft2014-05-011-1/+1
| |
* | Merge branch 'master' into chunksparsing/structsTycho2014-05-011-1/+4
|\|
| * Template MagicTycho2014-04-281-1/+4
| | | | | | | | | | | | Removed need to allocate a fake meta block by using templates to provide a version of the code that does not use metas. Also changed the function to a template argument to make sure that the compilier is able to inline it.
* | Implemented Chunk Sparsing with segmentsTycho2014-04-261-4/+1
|/
* Merged branch 'msDifference'.madmaxoft2014-04-011-0/+1
|\
| * Added new merge strategy "msDifference"STRWarrior2014-03-311-0/+1
| |
* | cBlockArea: Added the msMask merge strategy.madmaxoft2014-04-011-0/+9
|/
* Implemented the msSpongePrint merge strategy.madmaxoft2014-03-281-2/+11
| | | | Similar to msImprint, but allows prefabs to carve out air pockets, too. The sponge block is used as the NOP block.
* BlockArea: Create() can take the size as Vector3i, too.madmaxoft2014-03-251-2/+8
|
* BlockArea: Switched internal coords to Vector3i.madmaxoft2014-03-251-17/+19
|
* Merge remote-tracking branch 'xdot/master'madmaxoft2014-03-121-1/+1
|\
| * Unified Vector classesandrew2014-03-111-1/+1
| |
* | Renamed cBlockArea Offset to WEOffset.madmaxoft2014-03-121-4/+5
| | | | | | | | Even in getters / setters.
* | Renamed m_Offset to m_WEOffsetSTRWarrior2014-03-111-2/+3
| |
* | Using ```const Vector3i &```STRWarrior2014-03-111-2/+2
| |
* | This allows a blockarea to have an Offset.STRWarrior2014-03-101-0/+5
|/
* Added useful parameter overloads to cBlockArea Lua API.madmaxoft2014-02-241-0/+38
|
* Added cBlockArea::GetVolume, exported to Lua API.madmaxoft2014-02-231-27/+30
|
* Fixed bindings for cBlockArea:Get(Rel)BlockTypeMeta().madmaxoft2014-02-201-0/+6
| | | | They no longer require the ghost output params.
* Moved Schematic file methods to seperate classTycho2014-01-201-17/+1
|
* Seperated BlockArea From WorldTycho2014-01-201-6/+3
| | | | If anyone can come up with a better name for the interface I'll change it, It contians to methods which do compleatly unrelated things
* Moved source to srcAlexander Harkness2013-11-241-0/+310