summaryrefslogtreecommitdiffstats
path: root/src/Generating/ChunkDesc.h (unfollow)
Commit message (Collapse)AuthorFilesLines
3 daysFix Block Entity Placement in Generation (#5060)x12xx12x1-2/+2
* 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>
2024-04-09Moved end generator back to 3d perlin noise (#5552)NiLSPACE1-0/+18
* Moved end generator back to 3d perlin noise * Replaced magic numbers where constants are available * Use auto instead of NOISE_DATATYPE Fixed redeclaration of distanceFromSpawn variable Renamed EndGenIslandFlatness optoin to EndGenIslandThickness
2021-01-26Fix debug macro situation (#5114)Tiger Wang1-2/+2
Use the standard NDEBUG.
2019-09-07Generator: Added repeatability test.Mattes D1-0/+4
2019-09-06Added a BasicGeneratorTest.Mattes D1-4/+4
2019-09-06Separated chunk generator from world / plugin interfaces.Mattes D1-6/+11
The generator now only takes care of servicing synchronous "GetChunk(X, Y)" and "GetBiomes(X, Y)" requests.
2017-08-07Changed entity ownership model to use smart pointersTiger Wang1-1/+1
2017-08-03Remove double includes part 2 (#3890)peterbell101-1/+0
2017-05-22Store cChunk::m_BlockEntities in a map (#3717)peterbell101-2/+2
* Store block entities in a map from block index * Cleanup ForEachBlockEntity * Cleanup DoWithBlockEntityAt
2016-07-18LuaAPI: Fixed bindings for cChunkDesc:GetBlockTypeMetaMattes D1-1/+6
2016-02-05Bulk clearing of whitespaceLogicParrot1-20/+20
2015-05-24Fix commentstycho1-1/+1
2015-05-24Made -Weverything an error.tycho1-2/+2
2015-05-19Fixed a lot of warningstycho1-2/+2
2014-11-26Merge remote-tracking branch 'origin-master' into c++11Tiger Wang1-2/+23
2014-11-15ChunkDesc: Fixed comment about indexing.Mattes D1-1/+1
2014-11-12Generator: Shape initial refactoring.Mattes D1-2/+23
The code compiles, but several structure generators are broken, crash on start.
2014-10-23En masse NULL -> nullptr replaceTiger Wang1-1/+1
2014-10-20En masse NULL -> nullptr replaceTiger Wang1-1/+1
2014-07-17Basic style fixes.madmaxoft1-1/+1
2014-06-04Fixed a NetherFinisher bugTiger Wang1-3/+0
2014-02-03Increased Type safety of BiomesTycho1-1/+1
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-17/+23
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-11-24Moved source to srcAlexander Harkness1-0/+0
2013-11-14Added cSignEntity into API, added cChunkDesc:GetBlockEntity().madmaxoft1-2/+5
This fixes both #228 and #347.
2013-09-25Removed cChunkDesc::SetChunkCoords() from Lua API.madmaxoft1-3/+3
2013-05-05Re-worked generator subobject ownership, added a cache for the CompositionGenmadmaxoft@gmail.com1-6/+10
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1447 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-05-05ChunkDesc: Added heightmap verification (DEBUG-only), not used yetmadmaxoft@gmail.com1-0/+5
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/+1
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-1/+25
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/+22
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-6/+42
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/+9
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-6/+9
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1286 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-6/+14
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/+19
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-151/+45
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1200 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-01-25Merged the usable portion of the "gens" branch.madmaxoft@gmail.com1-0/+191
Splitting off the Composable generator and fiddling with LuaChunk / ChunkDesc is good, other generators not good yet. git-svn-id: http://mc-server.googlecode.com/svn/trunk@1171 0a769ca7-a7f5-676a-18bf-c427514a06d6