summaryrefslogtreecommitdiffstats
path: root/src/Generating/ChunkDesc.cpp (unfollow)
Commit message (Collapse)AuthorFilesLines
2021-01-26Fix debug macro situation (#5114)Tiger Wang1-2/+2
Use the standard NDEBUG.
2020-04-03Manage block entity lifetime with unique_ptr (#4080)peterbell101-4/+4
2019-09-29Refactored more of Entities and BlockEntities to use Vector3. (#4403)Mattes D1-1/+1
2019-09-27Fixed MSVC warnings (#4400)Mattes D1-1/+1
2019-09-06Added a BasicGeneratorTest.Mattes D1-4/+4
2019-09-06Separated chunk generator from world / plugin interfaces.Mattes D1-10/+8
The generator now only takes care of servicing synchronous "GetChunk(X, Y)" and "GetBiomes(X, Y)" requests.
2018-07-26CheckBasicStyle: Check number of empty lines between functions (#4267)peterbell101-0/+2
Add check for number of empty lines between functions and fix the corresponding failures
2017-08-07Changed entity ownership model to use smart pointersTiger Wang1-0/+1
2017-08-02Removed double includes (#3885)Lukas Pioch1-2/+0
2017-05-22Store cChunk::m_BlockEntities in a map (#3717)peterbell101-14/+18
* Store block entities in a map from block index * Cleanup ForEachBlockEntity * Cleanup DoWithBlockEntityAt
2016-07-18LuaAPI: Fixed bindings for cChunkDesc:GetBlockTypeMetaMattes D1-1/+1
2016-02-05Bulk clearing of whitespaceLogicParrot1-2/+2
2015-05-28Fix commentstycho1-1/+1
2015-05-19Fixed a lot of warningstycho1-6/+6
2014-11-26Merge remote-tracking branch 'origin-master' into c++11Tiger Wang1-0/+63
2014-11-18Moved all Noise-related files into a separate folder.Mattes D1-1/+1
2014-11-12Generator: Shape initial refactoring.Mattes D1-0/+63
The code compiles, but several structure generators are broken, crash on start.
2014-10-23En masse NULL -> nullptr replaceTiger Wang1-2/+2
2014-10-20En masse NULL -> nullptr replaceTiger Wang1-2/+2
2014-10-20Fixed #1550Julian Laubstein1-6/+6
2014-07-13CopyPaste Errorworktycho1-1/+1
Fixes CID 70460.
2014-07-13Another COpyPaste Errorworktycho1-1/+1
Fixes CID 70461
2014-07-13Fix CopyPaste error that ment a_MaxRelX wasdn't checkedworktycho1-1/+1
Fixes CID 70464
2014-06-04Fixed a NetherFinisher bugTiger Wang1-21/+0
2014-03-25BlockArea: Switched internal coords to Vector3i.madmaxoft1-3/+3
2014-03-01ChunkDesc warns about StructureGen's deprecation.madmaxoft1-0/+2
2014-02-03Increased Type safety of BiomesTycho1-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-31Added cChunkDest::UpdateHeightmap()madmaxoft1-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-20Fixed compiler warning when iterating over a fixed array of items (ARRAYCOUNT).madmaxoft1-2/+2
2013-11-24Moved source to srcAlexander Harkness1-0/+0
2013-11-16And another...Alexander Harkness1-1/+1
2013-11-16anotherAlexander Harkness1-7/+7
2013-11-15cChunkDesc::GetBlockEntity() re-creates block entity when blocktype doesn't match.madmaxoft1-1/+8
2013-11-14Added cSignEntity into API, added cChunkDesc:GetBlockEntity().madmaxoft1-2/+22
This fixes both #228 and #347.
2013-07-29Changed everyting to Unix line endings.Alexander Harkness1-578/+578
2013-05-05Added the DistortedHeightmap height and composition generator.madmaxoft@gmail.com1-2/+4
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1445 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-05-05ChunkDesc: Added heightmap verification (DEBUG-only), not used yetmadmaxoft@gmail.com1-0/+27
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1443 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-04-06Mineshafts: Added random loot to generated chests and fixed chest directionmadmaxoft@gmail.com1-0/+9
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1365 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-03-31cChunkDesc: Added the RandomFillRelCuboid() functionmadmaxoft@gmail.com1-0/+37
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1341 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-03-31Added cCuboid:Assign() and cChunkDesc:FloorRelCuboid()madmaxoft@gmail.com1-0/+39
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1333 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-03-30ChunkDesc: Extended the interface, RelCuboid functions now take either a cCuboid or a set of 6 coords.madmaxoft@gmail.com1-14/+25
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1330 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-03-29ChunkDesc: Cuboid-based manipulationmadmaxoft@gmail.com1-0/+57
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1324 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-03-19The subgenerators use cChunkDesc instead of raw arrays. cChunkDesc is based on cBlockArea. Initial version of Lakes generator.madmaxoft@gmail.com1-68/+25
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1286 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-03-18Fixed a copypasta error in cChunkDesc's BlockArea writermadmaxoft@gmail.com1-2/+2
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1284 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-03-17Rewritten generators so that they use the cChunkDesc class (and thus can use cBlockArea merging)madmaxoft@gmail.com1-0/+26
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1282 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-02-08cChunkDesc can now read and write cBlockAreas.madmaxoft@gmail.com1-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-08Prepared cChunkDesc for further API extension; used it as the sole container for generated chunk data, including entities / block entities.madmaxoft@gmail.com1-0/+219
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1200 0a769ca7-a7f5-676a-18bf-c427514a06d6