Commit message (Collapse) | Author | Files | Lines | ||
---|---|---|---|---|---|
10 days | Fix Block Entity Placement in Generation (#5060) | x12xx12x | 1 | -7/+7 | |
* block area in chunk desc now handles block entities some minor changes block entities validate and correct their position when put into the world * fixed checkstyle * Fixed Build * Removed Empty File --------- Co-authored-by: 12xx12 <12xx12100@gmail.com> Co-authored-by: Alexander Harkness <me@bearbin.net> | |||||
2021-04-30 | Chest, weather, crash, and miscellaneous fixes (#5215) | Tiger Wang | 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 | |||||
2021-01-26 | Fix debug macro situation (#5114) | Tiger Wang | 1 | -2/+2 | |
Use the standard NDEBUG. | |||||
2020-04-03 | Manage block entity lifetime with unique_ptr (#4080) | peterbell10 | 1 | -4/+4 | |
2019-09-29 | Refactored more of Entities and BlockEntities to use Vector3. (#4403) | Mattes D | 1 | -1/+1 | |
2019-09-27 | Fixed MSVC warnings (#4400) | Mattes D | 1 | -1/+1 | |
2019-09-06 | Added a BasicGeneratorTest. | Mattes D | 1 | -4/+4 | |
2019-09-06 | Separated chunk generator from world / plugin interfaces. | Mattes D | 1 | -10/+8 | |
The generator now only takes care of servicing synchronous "GetChunk(X, Y)" and "GetBiomes(X, Y)" requests. | |||||
2018-07-26 | CheckBasicStyle: Check number of empty lines between functions (#4267) | peterbell10 | 1 | -0/+2 | |
Add check for number of empty lines between functions and fix the corresponding failures | |||||
2017-08-07 | Changed entity ownership model to use smart pointers | Tiger Wang | 1 | -0/+1 | |
2017-08-02 | Removed double includes (#3885) | Lukas Pioch | 1 | -2/+0 | |
2017-05-22 | Store cChunk::m_BlockEntities in a map (#3717) | peterbell10 | 1 | -14/+18 | |
* Store block entities in a map from block index * Cleanup ForEachBlockEntity * Cleanup DoWithBlockEntityAt | |||||
2016-07-18 | LuaAPI: Fixed bindings for cChunkDesc:GetBlockTypeMeta | Mattes D | 1 | -1/+1 | |
2016-02-05 | Bulk clearing of whitespace | LogicParrot | 1 | -2/+2 | |
2015-05-28 | Fix comments | tycho | 1 | -1/+1 | |
2015-05-19 | Fixed a lot of warnings | tycho | 1 | -6/+6 | |
2014-11-26 | Merge remote-tracking branch 'origin-master' into c++11 | Tiger Wang | 1 | -0/+63 | |
2014-11-18 | Moved all Noise-related files into a separate folder. | Mattes D | 1 | -1/+1 | |
2014-11-12 | Generator: Shape initial refactoring. | Mattes D | 1 | -0/+63 | |
The code compiles, but several structure generators are broken, crash on start. | |||||
2014-10-23 | En masse NULL -> nullptr replace | Tiger Wang | 1 | -2/+2 | |
2014-10-20 | En masse NULL -> nullptr replace | Tiger Wang | 1 | -2/+2 | |
2014-10-20 | Fixed #1550 | Julian Laubstein | 1 | -6/+6 | |
2014-07-13 | CopyPaste Error | worktycho | 1 | -1/+1 | |
Fixes CID 70460. | |||||
2014-07-13 | Another COpyPaste Error | worktycho | 1 | -1/+1 | |
Fixes CID 70461 | |||||
2014-07-13 | Fix CopyPaste error that ment a_MaxRelX wasdn't checked | worktycho | 1 | -1/+1 | |
Fixes CID 70464 | |||||
2014-06-04 | Fixed a NetherFinisher bug | Tiger Wang | 1 | -21/+0 | |
2014-03-25 | BlockArea: Switched internal coords to Vector3i. | madmaxoft | 1 | -3/+3 | |
2014-03-01 | ChunkDesc warns about StructureGen's deprecation. | madmaxoft | 1 | -0/+2 | |
2014-02-03 | Increased Type safety of Biomes | Tycho | 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 | |||||
2014-01-31 | Added cChunkDest::UpdateHeightmap() | madmaxoft | 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. | |||||
2013-12-20 | Fixed compiler warning when iterating over a fixed array of items (ARRAYCOUNT). | madmaxoft | 1 | -2/+2 | |
2013-11-24 | Moved source to src | Alexander Harkness | 1 | -0/+0 | |
2013-11-16 | And another... | Alexander Harkness | 1 | -1/+1 | |
2013-11-16 | another | Alexander Harkness | 1 | -7/+7 | |
2013-11-15 | cChunkDesc::GetBlockEntity() re-creates block entity when blocktype doesn't match. | madmaxoft | 1 | -1/+8 | |
2013-11-14 | Added cSignEntity into API, added cChunkDesc:GetBlockEntity(). | madmaxoft | 1 | -2/+22 | |
This fixes both #228 and #347. | |||||
2013-07-29 | Changed everyting to Unix line endings. | Alexander Harkness | 1 | -578/+578 | |
2013-05-05 | Added the DistortedHeightmap height and composition generator. | madmaxoft@gmail.com | 1 | -2/+4 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1445 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2013-05-05 | ChunkDesc: Added heightmap verification (DEBUG-only), not used yet | madmaxoft@gmail.com | 1 | -0/+27 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1443 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2013-04-06 | Mineshafts: Added random loot to generated chests and fixed chest direction | madmaxoft@gmail.com | 1 | -0/+9 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1365 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2013-03-31 | cChunkDesc: Added the RandomFillRelCuboid() function | madmaxoft@gmail.com | 1 | -0/+37 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1341 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2013-03-31 | Added cCuboid:Assign() and cChunkDesc:FloorRelCuboid() | madmaxoft@gmail.com | 1 | -0/+39 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1333 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2013-03-30 | ChunkDesc: Extended the interface, RelCuboid functions now take either a cCuboid or a set of 6 coords. | madmaxoft@gmail.com | 1 | -14/+25 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1330 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2013-03-29 | ChunkDesc: Cuboid-based manipulation | madmaxoft@gmail.com | 1 | -0/+57 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1324 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2013-03-19 | The subgenerators use cChunkDesc instead of raw arrays. cChunkDesc is based on cBlockArea. Initial version of Lakes generator. | madmaxoft@gmail.com | 1 | -68/+25 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1286 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2013-03-18 | Fixed a copypasta error in cChunkDesc's BlockArea writer | madmaxoft@gmail.com | 1 | -2/+2 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1284 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2013-03-17 | Rewritten generators so that they use the cChunkDesc class (and thus can use cBlockArea merging) | madmaxoft@gmail.com | 1 | -0/+26 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1282 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2013-02-08 | cChunkDesc can now read and write cBlockAreas. | madmaxoft@gmail.com | 1 | -2/+196 | |
A simple example is provided in the Debuggers plugin. git-svn-id: http://mc-server.googlecode.com/svn/trunk@1201 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2013-02-08 | Prepared cChunkDesc for further API extension; used it as the sole container for generated chunk data, including entities / block entities. | madmaxoft@gmail.com | 1 | -0/+219 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1200 0a769ca7-a7f5-676a-18bf-c427514a06d6 |