Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Apply new clang-formattingclang-format-codebase | Alexander Harkness | 2024-11-02 | 1 | -30/+63 |
| | |||||
* | Chest, weather, crash, and miscellaneous fixes (#5215) | Tiger Wang | 2021-04-30 | 1 | -2/+2 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Alpha-sort cChestEntity * Chests: use SendUpdateBlockEntity * Pathfinder: fix out of range Y * 1.13: correct weather packet ID * Chests: fix neighbour scanner + Add OnAddToWorld and overload to scan neighbours there, instead of in the constructor/OnUse. This fixes hoppers accessing newly loaded double chests and seeing a null m_Neighbour, thus thinking its a single chest. * Fix typo in cross coords computation. * Simplify hopper logic. * Block entities: ASSERT that type is correct If you match the block type first before calling DoWithBlockEntity, the corresponding block entity must either be empty or correspond to the block type. * Chunk: fix some forgotten PendingSendBE cleanup + Add cleanup in SetAllData, WriteBlockArea - Remove RemoveBlockEntity (used once), HasBlockEntity (not used) * Replace MakeIndex with MakeIndexNoCheck * Remove extraneous MarkDirty in hopper & chests | ||||
* | Fix debug macro situation (#5114) | Tiger Wang | 2021-01-26 | 1 | -2/+2 |
| | | | Use the standard NDEBUG. | ||||
* | Manage block entity lifetime with unique_ptr (#4080) | peterbell10 | 2020-04-03 | 1 | -4/+4 |
| | |||||
* | Refactored more of Entities and BlockEntities to use Vector3. (#4403) | Mattes D | 2019-09-29 | 1 | -1/+1 |
| | |||||
* | Fixed MSVC warnings (#4400) | Mattes D | 2019-09-27 | 1 | -1/+1 |
| | |||||
* | Added a BasicGeneratorTest. | Mattes D | 2019-09-06 | 1 | -4/+4 |
| | |||||
* | Separated chunk generator from world / plugin interfaces. | Mattes D | 2019-09-06 | 1 | -10/+8 |
| | | | | The generator now only takes care of servicing synchronous "GetChunk(X, Y)" and "GetBiomes(X, Y)" requests. | ||||
* | CheckBasicStyle: Check number of empty lines between functions (#4267) | peterbell10 | 2018-07-26 | 1 | -0/+2 |
| | | | | Add check for number of empty lines between functions and fix the corresponding failures | ||||
* | Changed entity ownership model to use smart pointers | Tiger Wang | 2017-08-07 | 1 | -0/+1 |
| | |||||
* | Removed double includes (#3885) | Lukas Pioch | 2017-08-02 | 1 | -2/+0 |
| | |||||
* | Store cChunk::m_BlockEntities in a map (#3717) | peterbell10 | 2017-05-22 | 1 | -14/+18 |
| | | | | | | * Store block entities in a map from block index * Cleanup ForEachBlockEntity * Cleanup DoWithBlockEntityAt | ||||
* | LuaAPI: Fixed bindings for cChunkDesc:GetBlockTypeMeta | Mattes D | 2016-07-18 | 1 | -1/+1 |
| | |||||
* | Bulk clearing of whitespace | LogicParrot | 2016-02-05 | 1 | -2/+2 |
| | |||||
* | Fix comments | tycho | 2015-05-28 | 1 | -1/+1 |
| | |||||
* | Fixed a lot of warnings | tycho | 2015-05-19 | 1 | -6/+6 |
| | |||||
* | Merge remote-tracking branch 'origin/master' into GeneratorShapeRefactor | Mattes D | 2014-11-20 | 1 | -1/+1 |
|\ | |||||
| * | Moved all Noise-related files into a separate folder. | Mattes D | 2014-11-18 | 1 | -1/+1 |
| | | |||||
* | | Generator: Shape initial refactoring. | Mattes D | 2014-11-12 | 1 | -0/+63 |
|/ | | | | The code compiles, but several structure generators are broken, crash on start. | ||||
* | En masse NULL -> nullptr replace | Tiger Wang | 2014-10-23 | 1 | -2/+2 |
| | |||||
* | Fixed #1550 | Julian Laubstein | 2014-10-20 | 1 | -6/+6 |
| | |||||
* | Merge branch 'master' into portals | Tiger Wang | 2014-07-18 | 1 | -3/+3 |
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: src/Blocks/WorldInterface.h src/ClientHandle.cpp src/ClientHandle.h src/Entities/Player.cpp src/Entities/Player.h src/Generating/FinishGen.cpp src/Protocol/Protocol.h src/Protocol/Protocol125.cpp src/Protocol/Protocol125.h src/Protocol/Protocol16x.cpp src/Protocol/Protocol16x.h src/Protocol/Protocol17x.cpp src/Protocol/Protocol17x.h src/Protocol/ProtocolRecognizer.cpp src/Protocol/ProtocolRecognizer.h src/Root.h src/World.cpp | ||||
| * | CopyPaste Error | worktycho | 2014-07-13 | 1 | -1/+1 |
| | | | | | | Fixes CID 70460. | ||||
| * | Another COpyPaste Error | worktycho | 2014-07-13 | 1 | -1/+1 |
| | | | | | | Fixes CID 70461 | ||||
| * | Fix CopyPaste error that ment a_MaxRelX wasdn't checked | worktycho | 2014-07-13 | 1 | -1/+1 |
| | | | | | | Fixes CID 70464 | ||||
* | | Fixed a NetherFinisher bug | Tiger Wang | 2014-06-04 | 1 | -21/+0 |
|/ | |||||
* | BlockArea: Switched internal coords to Vector3i. | madmaxoft | 2014-03-25 | 1 | -3/+3 |
| | |||||
* | ChunkDesc warns about StructureGen's deprecation. | madmaxoft | 2014-03-01 | 1 | -0/+2 |
| | |||||
* | Increased Type safety of Biomes | Tycho | 2014-02-03 | 1 | -2/+2 |
| | | | | | Changed a number of funcictions from using integers to store biomes to using EMCSBiome Note that switching from an int to an Enum is a non-breaking chang to the lua bindings | ||||
* | Added cChunkDest::UpdateHeightmap() | madmaxoft | 2014-01-31 | 1 | -0/+25 |
| | | | | This function is necessary for plugins manipulating the generated chunks, they need to update the heightmap before it is passed back to the generator. | ||||
* | Fixed compiler warning when iterating over a fixed array of items (ARRAYCOUNT). | madmaxoft | 2013-12-20 | 1 | -2/+2 |
| | |||||
* | Merge remote-tracking branch 'origin/master' into foldermove2 | Alexander Harkness | 2013-11-24 | 1 | -8/+8 |
| | | | | | Conflicts: GNUmakefile | ||||
* | Moved source to src | Alexander Harkness | 2013-11-24 | 1 | -0/+605 |