Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Pulled the BlockID and BlockInfo headers from Globals.h. (#4591) | Mattes D | 2020-04-03 | 1 | -0/+2 |
| | | | | | | | | | The BlockID.h file was removed from Globals.h and renamed to BlockType.h (main change) The BlockInfo.h file was removed from Globals.h (main change) The ENUM_BLOCK_ID and ENUM_ITEM_ID enum names were replaced with ENUM_BLOCK_TYPE and ENUM_ITEM_TYPE (cosmetics) The various enums, such as eDimension, eDamageType and eExplosionSource were moved from BlockType.h to Defines.h, together with the helper functions for converting between them and strings (StringToDimension et al.) (minor) Many inline functions were moved from headers to their respective cpp files, so that BlockType.h could be included only into the cpp file, rather than the header. That broke our tests a bit, since they pick bits and pieces out of the main code and provide stubs for the rest; they had to be re-stubbed and re-verified. eMonsterType values are no longer tied to E_ITEM_SPAWN_EGG_META_* values | ||||
* | Refactored block-to-pickup conversion. (#4417) | Mattes D | 2019-10-16 | 1 | -0/+7 |
| | |||||
* | Refactored more of Entities and BlockEntities to use Vector3. (#4403) | Mattes D | 2019-09-29 | 1 | -0/+9 |
| | |||||
* | cBlockArea: Write all present data types by default (#4252) | peterbell10 | 2018-07-19 | 1 | -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) | peterbell10 | 2017-09-11 | 1 | -4/+5 |
| | |||||
* | cBlockArea: change MakeIndex to return size_t | peterbell10 | 2017-09-11 | 1 | -39/+7 |
| | |||||
* | cBlockArea: use unique_ptr | peterbell10 | 2017-09-11 | 1 | -11/+54 |
| | |||||
* | Revert "Replace ItemCallbacks with lambdas (#3948)" | LogicParrot | 2017-09-02 | 1 | -6/+5 |
| | | | | This reverts commit 496c337cdfa593654018c171f6a74c28272265b5. | ||||
* | Replace ItemCallbacks with lambdas (#3948) | peterbell10 | 2017-09-01 | 1 | -5/+6 |
| | |||||
* | Remove double includes part 2 (#3890) | peterbell10 | 2017-08-03 | 1 | -1/+0 |
| | |||||
* | BlockArea: Added the GetBounds function. | Mattes D | 2017-07-22 | 1 | -2/+6 |
| | |||||
* | cBlockArea supports block entities. (#3795) | Mattes D | 2017-06-24 | 1 | -30/+111 |
| | |||||
* | Fixed bindings for cBlockArea:Read and Write. (#3568) | Mattes D | 2017-02-05 | 1 | -5/+5 |
| | | | The original bindings accepted nil as the World param, causing a crash. | ||||
* | Bulk clearing of whitespace | LogicParrot | 2016-02-05 | 1 | -64/+64 |
| | |||||
* | cBlockArea: Added CountSpecificBlocks() API function. | Mattes D | 2015-06-08 | 1 | -0/+9 |
| | |||||
* | Made -Weverything an error. | tycho | 2015-05-24 | 1 | -1/+1 |
| | |||||
* | Added cBlockArea:CountNonAirBlocks API function. | Mattes D | 2015-04-30 | 1 | -1/+5 |
| | |||||
* | Added cBlockArea::msSimpleCompare merge strategy. | Mattes D | 2015-04-29 | 1 | -0/+17 |
| | |||||
* | Added cBlockArea:GetNonAirCropRelCoords() API function. | Mattes D | 2015-04-29 | 1 | -0/+5 |
| | | | | Fixes #1915. | ||||
* | En masse NULL -> nullptr replace | Tiger Wang | 2014-10-23 | 1 | -70/+74 |
| | |||||
* | convert old style casts to fix warnings | Steven Riehl | 2014-10-12 | 1 | -70/+66 |
| | |||||
* | More template keyword fixes. | Mattes D | 2014-08-28 | 1 | -1/+1 |
| | |||||
* | Fixed basic whitespace problems. | madmaxoft | 2014-07-17 | 1 | -2/+2 |
| | | | | Indenting by spaces and alignment by spaces, as well as trailing whitespace on non-empty lines. | ||||
* | Renamed cChunkBuffer to cChunkData | Tycho | 2014-05-21 | 1 | -1/+1 |
| | |||||
* | Fixed minor style issues | Tycho | 2014-05-21 | 1 | -2/+2 |
| | |||||
* | Fixed issue with types not being defined for an unused parameter | Tycho | 2014-05-18 | 1 | -0/+1 |
| | |||||
* | Merge branch 'master' into chunksparsing/structs | Tycho | 2014-05-03 | 1 | -1/+1 |
|\ | | | | | | | | | Conflicts: src/Chunk.cpp | ||||
| * | Fixed warning in cBlockArea. | madmaxoft | 2014-05-01 | 1 | -1/+1 |
| | | |||||
* | | Merge branch 'master' into chunksparsing/structs | Tycho | 2014-05-01 | 1 | -1/+4 |
|\| | |||||
| * | Template Magic | Tycho | 2014-04-28 | 1 | -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 segments | Tycho | 2014-04-26 | 1 | -4/+1 |
|/ | |||||
* | Merged branch 'msDifference'. | madmaxoft | 2014-04-01 | 1 | -0/+1 |
|\ | |||||
| * | Added new merge strategy "msDifference" | STRWarrior | 2014-03-31 | 1 | -0/+1 |
| | | |||||
* | | cBlockArea: Added the msMask merge strategy. | madmaxoft | 2014-04-01 | 1 | -0/+9 |
|/ | |||||
* | Implemented the msSpongePrint merge strategy. | madmaxoft | 2014-03-28 | 1 | -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. | madmaxoft | 2014-03-25 | 1 | -2/+8 |
| | |||||
* | BlockArea: Switched internal coords to Vector3i. | madmaxoft | 2014-03-25 | 1 | -17/+19 |
| | |||||
* | Merge remote-tracking branch 'xdot/master' | madmaxoft | 2014-03-12 | 1 | -1/+1 |
|\ | |||||
| * | Unified Vector classes | andrew | 2014-03-11 | 1 | -1/+1 |
| | | |||||
* | | Renamed cBlockArea Offset to WEOffset. | madmaxoft | 2014-03-12 | 1 | -4/+5 |
| | | | | | | | | Even in getters / setters. | ||||
* | | Renamed m_Offset to m_WEOffset | STRWarrior | 2014-03-11 | 1 | -2/+3 |
| | | |||||
* | | Using ```const Vector3i &``` | STRWarrior | 2014-03-11 | 1 | -2/+2 |
| | | |||||
* | | This allows a blockarea to have an Offset. | STRWarrior | 2014-03-10 | 1 | -0/+5 |
|/ | |||||
* | Added useful parameter overloads to cBlockArea Lua API. | madmaxoft | 2014-02-24 | 1 | -0/+38 |
| | |||||
* | Added cBlockArea::GetVolume, exported to Lua API. | madmaxoft | 2014-02-23 | 1 | -27/+30 |
| | |||||
* | Fixed bindings for cBlockArea:Get(Rel)BlockTypeMeta(). | madmaxoft | 2014-02-20 | 1 | -0/+6 |
| | | | | They no longer require the ghost output params. | ||||
* | Moved Schematic file methods to seperate class | Tycho | 2014-01-20 | 1 | -17/+1 |
| | |||||
* | Seperated BlockArea From World | Tycho | 2014-01-20 | 1 | -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 src | Alexander Harkness | 2013-11-24 | 1 | -0/+310 |