Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Mark UNREACHABLE with intrinsics | Tiger Wang | 2021-02-20 | 1 | -2/+1 |
| | |||||
* | Fix debug macro situation (#5114) | Tiger Wang | 2021-01-26 | 6 | -20/+20 |
| | | | Use the standard NDEBUG. | ||||
* | zlib -> libdeflate (#5085) | Tiger Wang | 2021-01-11 | 5 | -64/+28 |
| | | | | | | + Use libdeflate + Use std::byte * Fix passing temporary to string_view + Emulate make_unique_for_overwrite | ||||
* | Comment and code style fix | Tiger Wang | 2020-12-21 | 1 | -1/+1 |
| | | | | | + Add static keyword - Don't capture everything in lambda | ||||
* | Fix flower and foliage generation (#4723) | mBornand | 2020-11-14 | 3 | -100/+162 |
| | | | | | | | | | | | | | | | | | | | * fix flower generation - remove wrong mushroom and flower generation + add "tiny" mushrooms in Mushrooms biomes + add "tiny" mushrooms in Mega Taiga and variants + add tulip generation for plains biomes * Turn numbers into constants - Remove duplication of grass generation - Remove fern in inappropriate biomes * added roofed forest flowers to ini file * fixed crash with biMesaPlateuM + Use empty() + Emplace directly + Avoid a string copy in BiomeName + Alias BiomeIndex to avoid multiple casts Co-authored-by: 12xx12 <12xx12100@gmail.com> Co-authored-by: Tiger Wang <ziwei.tiger@outlook.com> | ||||
* | Remove debug output on PieceStructuresGen.cpp (#4984) | 12xx12 | 2020-10-12 | 1 | -21/+19 |
| | | | | | | - Remove debug output on PieceStructuresGen.cpp - Removed Stopwatch import Co-authored-by: 12xx12 <12xx12100@gmail.com> | ||||
* | Simple end gen (#4973) | NiLSPACE | 2020-10-11 | 2 | -86/+89 |
| | | | | | | | | | * Fixed current end generator * Implemented new simplified end generation which includes a void between the main island and other islands * Fixed basic style * Hopefully fixed clang errors. | ||||
* | Adding Silverfish Spawning Blocks (#4946) | 12xx12 | 2020-10-11 | 1 | -8/+27 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * added breaking, spawning, animation * checkstyle * added undocumented API symbols * added changes suggested by @peterbell10 * added natural ore like generation * fixed spawning two silverfishes * fixed clang * fixed clang try 2 * updated comment unified offset * final clang fix * added spawning for more silverfishes if one was damaged * fixed spawning on one hit kill * fixed spawning on one hit kill fixed spawning by potion damage * fixed clang * fixed broken build * fixed broken build * I should read the error message properly fixed build now? * added small changes suggested by @peterbell10 Co-authored-by: 12xx12 <12xx12100@gmail.com> | ||||
* | Fixed current end generator (#4968) | NiLSPACE | 2020-10-04 | 2 | -44/+2 |
| | |||||
* | Deleted BiomeDef.h and ChunkDef.h from Globals.h (#4885) | KingCol13 | 2020-09-25 | 3 | -2/+3 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Removed BiomeDef.h * Removed ChunkDef.h from Globals.h * Added to CONTRIBUTORS. * Re-added empty last line to Globals.h * Included stddef and StringUtils in BiomeDef.h * Fixed build tools compiling. It compiles, but at what cost? * Added include to src/Generating/Trees.h * Include added in ChunkGeneratorThread.h * Moved rearranged includes in LineBlockTracer.cpp * Re-arrange headers in ChunkInterface.cpp * Included ChunkDef.h in Path.h * Included ChunkDef.h in NBTChunkSerializer.h * Rearranged included and added required includes to headers. * Removed unnecessary included in StringUtils.h. | ||||
* | Changing jungle trees a bit (#4823) | 12xx12 | 2020-09-19 | 1 | -12/+28 |
| | | | | | | | | | | | | | | | | | | | | | | * switch range on jungle tree generation and renamed a confusing variable * changed two numbers to match vanilla behaviour * made jungle trees closer to vanilla behaviour - matched variable names to new checkstyle - made branch generation independent from noise at block position * replaced random provider with Noise * implemented changes suggested by peterbell10 * changed the way to determine the size of the leaves on branches Co-authored-by: peterbell10 <peterbell10@live.co.uk> Co-authored-by: 12xx12 <12xx12100@gmail.com> Co-authored-by: peterbell10 <peterbell10@live.co.uk> Co-authored-by: Alexander Harkness <me@bearbin.net> | ||||
* | Adding Generator For Single Piece Structures (#4830) | 12xx12 | 2020-09-18 | 4 | -0/+275 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * the beginning of a magnificent work - added basic files and classes without functionality * fixed checkstyle * added imports * moved imports * - Adding SinglePieceStructureGen - Adding a cPrefabChestStructure to generate Chests with contents - Added the options and calls to the ComposableGenerator * moved Globals to .h file * removed the chest thingy from the code (for now) * Update SinglePieceStructureGen.cpp * readded whitespace * renamed to SinglePieceStructuresGen for consistency added new classes to test * fixed small things (mostly style and cleanup) removed loottables * added small changes suggested by madmaxoft * small change to documentation * added check for allowed biomes * check only the biome of the origin position * fixed error on IsBiomeAllowed * added new cubesets * updated structures for with sponging * updated biome names * updated metadata to prevent crashing removed debug output * updated structures with sponging * added sponging to deserterWell to make it disappear in sand * small change in meta * rename DesertTemple -> DesertPyramid * minor style changes Co-authored-by: 12xx12 <12xx12100@gmail.com> Co-authored-by: Alexander Harkness <me@bearbin.net> | ||||
* | Minor typo fixes | Tiger Wang | 2020-08-21 | 1 | -16/+18 |
| | | | | * Also DeMorgan'd Emerald ore condition | ||||
* | Add enhanced Gold generation in Mesa-Type Biomes (#4821) | 12xx12 | 2020-08-12 | 1 | -0/+21 |
| | | | | | | | | | * added enhanced gold generation in mesa-type-biomes * fixed typo in comment * added enhanced gold generation in mesa biomes - fixed small checkstyle errors Co-authored-by: 12xx12 <12xx12100@gmail.com> | ||||
* | Update FinishGen.cpp | 12xx12 | 2020-08-10 | 1 | -1/+0 |
| | |||||
* | small issues addressed in #4817 fixed because was merged to fast | 12xx12 | 2020-08-10 | 1 | -9/+1 |
| | |||||
* | Adding Emeralds to generation (#4817) | 12xx12 | 2020-08-09 | 1 | -1/+29 |
| | | | | | | | | | | | | | * Adding Emeralds to generation * fixed crash * fixed documentation and changed function name to match others * forgot to change the name in the doc * removed debug output - sorry build servers Co-authored-by: 12xx12 <12xx12100@gmail.com> | ||||
* | Fix big tree ring radius calculations. Ring radius now stays within range. | Alexander Harkness | 2020-08-05 | 1 | -2/+2 |
| | |||||
* | edit comment | mBornand | 2020-08-05 | 1 | -1/+1 |
| | |||||
* | update comment | mBornand | 2020-08-05 | 1 | -1/+1 |
| | |||||
* | correct error | mBornand | 2020-08-05 | 1 | -3/+1 |
| | |||||
* | correct error | mBornand | 2020-08-05 | 1 | -1/+3 |
| | |||||
* | error in comment end | mBornand | 2020-08-05 | 1 | -1/+1 |
| | |||||
* | add Large conifers | mBornand | 2020-08-05 | 3 | -18/+288 |
| | |||||
* | Replaced cpp14::make_unique<> with std::make_unique<>. | Mattes D | 2020-08-01 | 2 | -3/+3 |
| | |||||
* | Precompile unordered_map/set | Tiger Wang | 2020-07-19 | 1 | -1/+0 |
| | | | | | | + Add inclusions to Globals.h * Sort Globals.h - Remove sys/stat.h from Globals.h | ||||
* | Upgrade to C++17 [CMake] (#4717) | Tiger Wang | 2020-05-16 | 2 | -8/+4 |
| | | | * Make our CMake slightly less insane | ||||
* | Enable some more clang-tidy linter checks (#4738) | peterbell10 | 2020-05-15 | 25 | -71/+71 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Avoid inefficient AString -> c_str() -> AString round trip * Avoid redundant string init expressions * Avoid unnecessary return, continue, etc. * Add .clang-format to help with clang-tidy fix-its * Avoid unnecessary passing by value * Avoid unnecessary local copying * Avoid copying in range-for loops * Avoid over-complicated boolean expressions * Some violations missed by my local clang-tidy * Allow unnecessary continue statements * Add brackets * Another expression missed locally * Move BindingsProcessor call into clang-tidy.sh and add space * Fix pushd not found error * Different grouping of CheckBlockInteractionRate | ||||
* | Cleanup some workarounds and warnings (#4735) | peterbell10 | 2020-05-10 | 2 | -49/+23 |
| | | | | | | | | | * Cleanup thread_local usage in FastRandom * Use constexpr to avoid clang warning * Fix more Wglobal-constructor warnings * Make MSVC happy? | ||||
* | Enable C++17 in build | Peter Bell | 2020-05-09 | 1 | -2/+2 |
| | |||||
* | Add tree generation for ExtemeHills and other biomes (#4713) | mBornand | 2020-05-06 | 3 | -97/+131 |
| | |||||
* | Fix one definition rule violations | Tiger Wang | 2020-05-04 | 2 | -59/+65 |
| | |||||
* | Using Super. | Mattes D | 2020-04-16 | 26 | -309/+394 |
| | |||||
* | Manage block entity lifetime with unique_ptr (#4080) | peterbell10 | 2020-04-03 | 1 | -4/+4 |
| | |||||
* | Pulled the BlockID and BlockInfo headers from Globals.h. (#4591) | Mattes D | 2020-04-03 | 9 | -0/+9 |
| | | | | | | | | | 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 | ||||
* | Improved large jungle and acacia tree generation (#4413) | NiLSPACE | 2019-12-22 | 3 | -288/+340 |
| | |||||
* | 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 |
| | |||||
* | ChunkGenerator: Changed to use cChunkCoords. | Mattes D | 2019-09-08 | 6 | -26/+21 |
| | |||||
* | ShapeGen, HeiGen: Changed to use cChunkCoords. | Mattes D | 2019-09-08 | 18 | -188/+146 |
| | |||||
* | BiomeGen: Changed to use cChunkCoords params. | Mattes D | 2019-09-08 | 10 | -87/+77 |
| | |||||
* | Generator: Added repeatability test. | Mattes D | 2019-09-07 | 1 | -0/+4 |
| | |||||
* | CompoGenNether: Fixed different data produced in Linux Release builds. | Mattes D | 2019-09-07 | 1 | -20/+12 |
| | |||||
* | Added a BasicGeneratorTest. | Mattes D | 2019-09-06 | 2 | -8/+8 |
| | |||||
* | Moved the generator defaults to ComposableGenerator. | Mattes D | 2019-09-06 | 7 | -44/+171 |
| | |||||
* | Separated chunk generator from world / plugin interfaces. | Mattes D | 2019-09-06 | 13 | -607/+113 |
| | | | | The generator now only takes care of servicing synchronous "GetChunk(X, Y)" and "GetBiomes(X, Y)" requests. | ||||
* | Fix building with clang 8.0 (#4346) | Bond-009 | 2019-08-11 | 3 | -12/+18 |
| | |||||
* | Removed coord-based API from cCuboid. (#4362) | Mattes D | 2019-08-09 | 1 | -19/+19 |
| | |||||
* | Add a formatting function for Vector3 (#4282) | peterbell10 | 2018-09-24 | 3 | -13/+14 |
| | | | | | | | | | | * Vector3: Add custom fmt compatible formatter. * cLuaState: Add fmt version of ApiParamError * Use vector formatting in manual bindings * Always log vectors with FLOG | ||||
* | Force all headers other than "Globals.h" to be included with relative paths (#4269) | peterbell10 | 2018-08-29 | 4 | -8/+5 |
| | | | | | | | Closes #4236 CMake now creates a header file in the build directory under the path "include/Globals.h" which just includes "src/Globals.h" with an absolute path. Then instead of adding "src/" to the include directories, it adds "include/". #include "Globals.h" still works by including the build generated file and any other src-relative path will not work. | ||||
* | CheckBasicStyle: Check number of empty lines between functions (#4267) | peterbell10 | 2018-07-26 | 15 | -17/+6 |
| | | | | Add check for number of empty lines between functions and fix the corresponding failures | ||||
* | cIsThread: Reset m_ShouldTerminate after the thread has stopped (#4258) | peterbell10 | 2018-07-22 | 1 | -1/+1 |
| | | | | | This allows threads to be restarted after stopping. Fixes #4257 | ||||
* | Generate cacti and sugarcane with different heights (#4137) | Cocosushi6 | 2018-05-03 | 3 | -30/+97 |
| | | | | | When generating foliage, create cacti with height in the interval [1; MaxCactusHeight] and sugarcane with height in [1; MaxSugarcaneHeight] (with MaxCactusHeight and MaxSugarcaneHeight declared in world.ini) Fixes #4135 | ||||
* | Prefer static_cast to reinterpret_cast (#4223) | peterbell10 | 2018-05-02 | 1 | -2/+2 |
| | | | | | | | * Change reinterpret_cast -> static_cast wherever possible * Remove more unnecessary `const_cast`s. reinterpret_casts should be avoided for the same reason as c-style casts - they don't do any type-checking. reinterpret_cast was mainly being used for down-casting in inheritance hierarchies but static_cast works just as well while also making sure that there is actually an inheritance relationship there. | ||||
* | Removed duplicate code (#4198) | Bond-009 | 2018-04-11 | 1 | -80/+7 |
| | | | Should also fix dogs not despawning | ||||
* | Wolves only spawn in taiga biomes (#4197) | Bond-009 | 2018-03-20 | 1 | -2/+1 |
| | | | Ref: https://minecraft.gamepedia.com/Wolf#Spawning | ||||
* | Deal with covered switches consistently (#4161) | peterbell10 | 2018-02-05 | 3 | -44/+27 |
| | | | | | | | * Fixes a number of "<function>: not all control paths return a value" warnings on MSVC. * Introduces the UNREACHABLE global macro and uses it instead of conditionally compiled switch defaults. * Move cNBTParseErrorCategory from FastNBT.h into FastNBT.cpp to prevent bad calls to message() | ||||
* | Add the fmt library (#4065) | peterbell10 | 2018-01-03 | 4 | -5/+5 |
| | | | | | | | * Replaces AppendVPrintf with fmt::sprintf * fmt::ArgList now used as a type safe alternative to varargs. * Removed SIZE_T_FMT compatibility macros. fmt::sprintf is fully portable and supports %zu. * Adds FLOG functions to log with fmt's native formatting style. | ||||
* | cWorld: Move Initialization from Start to the constructor. | peterbell10 | 2017-10-21 | 2 | -5/+6 |
| | | | | Start now does nothing more than launch the world's threads. | ||||
* | cFinishGenPreSimulator: Preserve sand meta (#4025) | peterbell10 | 2017-09-18 | 2 | -13/+8 |
| | | | Fixes #1516. | ||||
* | Fix switch warnings (#4013) | peterbell10 | 2017-09-14 | 3 | -66/+84 |
| | | | | | | | | | | | | | | | * Fix switch warnings * Fix a variety of -Wswitch and -Wswitch-enum warnings * Remove unneeded -Wno-error flags * Reorganise some eMonsterType switches * Alpha sort eMonsterType cases in WriteMobMetadata and in cNBTChunkSerializer::AddMonsterEntity * List all mob types in protocol 1.12 and NBTChunkSerializer * cStructGenTrees::GetNumTrees: remove switch default * cWSSAnvil::LoadOldMinecartFromNBT: Log unhandled minecart type | ||||
* | Merge pull request #3489 from cuberite/EntityOwnership | Tiger Wang | 2017-08-18 | 3 | -3/+4 |
|\ | | | | | * Changed entity ownership model to use smart pointers | ||||
| * | Changed entity ownership model to use smart pointers | Tiger Wang | 2017-08-07 | 3 | -3/+4 |
| | | |||||
* | | Changed int parameters to vector parameters in cCuboid and simulators (#3874) | Lane Kolbly | 2017-08-17 | 2 | -3/+6 |
|/ | |||||
* | Removed unneeded includes (#3902) | Lukas Pioch | 2017-08-06 | 2 | -2/+0 |
| | |||||
* | Remove double includes part 2 (#3890) | peterbell10 | 2017-08-03 | 11 | -11/+0 |
| | |||||
* | Removed double includes (#3885) | Lukas Pioch | 2017-08-02 | 2 | -3/+0 |
| | |||||
* | Remove smart pointer macros | peterbell10 | 2017-07-21 | 11 | -16/+16 |
| | |||||
* | BigFlower fixes (#3826) | peterbell10 | 2017-07-07 | 1 | -2/+2 |
| | | | | | | | * BigFlowers fixes * Correct upper part meta * Documented parameters to DoesIgnoreBuildCollision | ||||
* | Generated tall flowers have flower type meta in both blocks | peterbell10 | 2017-06-19 | 1 | -2/+2 |
| | |||||
* | Remove redundant heighmap code | peterbell10 | 2017-06-14 | 3 | -41/+2 |
| | |||||
* | FastRandom rewrite (#3754) | peterbell10 | 2017-06-13 | 2 | -4/+3 |
| | |||||
* | Store cChunk::m_BlockEntities in a map (#3717) | peterbell10 | 2017-05-22 | 2 | -16/+20 |
| | | | | | | * Store block entities in a map from block index * Cleanup ForEachBlockEntity * Cleanup DoWithBlockEntityAt | ||||
* | Clang 5.0 fixes | Lukas Pioch | 2017-05-21 | 16 | -19/+10 |
| | | | | | - Added override keyword - Removed inherited member variables | ||||
* | Gen: Moved PiecePool into a separate file. | Mattes D | 2017-05-04 | 15 | -628/+627 |
| | | | | Also rewritten the PieceGenerator to use std::unique_ptr. | ||||
* | Finishers now update the heightmap for tall flowers. (#3545) | Jacob | 2017-02-24 | 1 | -0/+7 |
| | |||||
* | Dead bushes will generate in mega mega taigas (#3571) | Bond-009 | 2017-02-15 | 1 | -0/+1 |
| | |||||
* | Added some blocks and items (#3503) | mathiascode | 2017-02-14 | 1 | -0/+7 |
| | |||||
* | PieceGenerator: Added rotation-aware vertical connectors. | Mattes D | 2017-02-13 | 7 | -44/+348 |
| | |||||
* | Removed asserts about chunk queued. | Mattes D | 2017-01-19 | 1 | -1/+0 |
| | | | | The assumption is not needed and was invalid under a stress-test. | ||||
* | Moved cPrefab parser self-check to the LoadablePieces test. (#3536) | Mattes D | 2017-01-15 | 1 | -105/+0 |
| | |||||
* | Fixed race conditions and forgotten clear in Lua ref tracking. (#3530) | Mattes D | 2017-01-13 | 1 | -0/+1 |
| | | | This fixes occasional crashes on plugin reload. | ||||
* | Fix floating large trees (#3460) | James Balajan | 2016-12-02 | 1 | -0/+18 |
| | |||||
* | Fixed villages generating under-water. | Mattes D | 2016-12-01 | 2 | -4/+10 |
| | | | | The CompoGenBiomal didn't update the heightmap properly. | ||||
* | Prefabs: Implemented support for ExpandFloorStrategy. | Mattes D | 2016-11-24 | 3 | -54/+142 |
| | |||||
* | Use cChunkDef::Height for Y coord comparison where applicable. | Moritz Borcherding | 2016-09-27 | 1 | -2/+2 |
| | |||||
* | Fixed type-casting-related warnings. | Mattes D | 2016-08-24 | 2 | -11/+5 |
| | |||||
* | Implemented OverworldClumpFlowers | NiLSPACE | 2016-08-14 | 3 | -0/+283 |
| | |||||
* | CMake: Remove needless minimum version specifications. | Mattes D | 2016-07-18 | 1 | -2/+0 |
| | |||||
* | LuaAPI: Fixed bindings for cChunkDesc:GetBlockTypeMeta | Mattes D | 2016-07-18 | 2 | -2/+7 |
| | |||||
* | SelfTests: Removed the unneeded cSelfTests class. | Mattes D | 2016-06-18 | 2 | -2/+0 |
| | |||||
* | Normalized Vector3 API to use the same capitalization as all else. | Mattes D | 2016-06-10 | 1 | -2/+2 |
| | |||||
* | Reduced unnecessary block updates | LogicParrot | 2016-04-22 | 5 | -23/+27 |
| | |||||
* | Fixed misuse of comma. | Lukas Pioch | 2016-03-18 | 2 | -5/+5 |
| | |||||
* | Made ProtIntGen's max size compile-time-configurable. | Mattes D | 2016-02-24 | 1 | -1/+13 |
| | |||||
* | Fixed includes in IntGen. | Mattes D | 2016-02-24 | 1 | -2/+2 |
| | |||||
* | Bulk clearing of whitespace | LogicParrot | 2016-02-05 | 40 | -606/+606 |
| | |||||
* | Updated old forum links | Mathias | 2016-01-31 | 1 | -1/+1 |
| | |||||
* | Renamed leftover strings to Cuberite / Server, as needed. | Mattes D | 2016-01-01 | 1 | -1/+1 |
| | | | | Also upgraded the user setting file for MSVC to 2013. | ||||
* | Added HTTPS links wherever they are supported. | Alexander Harkness | 2015-12-19 | 1 | -10/+6 |
| | |||||
* | PieceStructures generator: Fixed wrong merge conflict resolution. | Mattes D | 2015-12-17 | 2 | -5/+5 |
| | | | | | Also improved reporting messages. Ref.: http://forum.mc-server.org/showthread.php?tid=2256 | ||||
* | Moved variables into scope, removed unused variables and fixed variables | Lukas Pioch | 2015-12-17 | 1 | -2/+2 |
| | |||||
* | Fixed opposite condition in OreNests finisher. | Mattes D | 2015-12-09 | 1 | -2/+2 |
| | |||||
* | Added more details to the cubeset format documentation. | Mattes D | 2015-12-01 | 1 | -2/+2 |
| | |||||
* | Added PieceStructures generator. | Mattes D | 2015-12-01 | 40 | -11812/+1777 |
| | |||||
* | Normalized OrePockets generator config names. | Mattes D | 2015-11-27 | 1 | -2/+2 |
| | | | | All INI values use AllInitialCapsStyle, no underscores. | ||||
* | OrePockets finisher is now configurable. | Mattes D | 2015-11-25 | 3 | -26/+126 |
| | |||||
* | Added OrePockets and DirtPockets finish gens. | Mattes D | 2015-11-25 | 5 | -267/+548 |
| | |||||
* | Generator: Fixed missing hitbox assignment. | Mattes D | 2015-10-05 | 2 | -0/+4 |
| | | | | This had caused village houses to generate too close to each other. | ||||
* | Fixed a race condition between chunk loader and generator. | Mattes D | 2015-10-04 | 1 | -6/+6 |
| | | | | | | When using ChunkWorx to generate multiple chunks, the server would sometimes fail an assert because it would generate a chunk even when it was successfully loaded. This was caused by chunks queued in cWorld's m_SetChunkDataQueue and thus being marked as "InQueue" although they were already loaded. Solved by adding a new parameter to chunk coord callbacks specifying whether the operation succeeded or failed, and using that instead of the chunk presence flag to decide whether to generate or not. | ||||
* | Fix clang compile error | Theo Tosini | 2015-08-24 | 1 | -1/+1 |
| | | | | Clang would previously fail on debug builds due to the use of an old-style cast. | ||||
* | Fix old style casts and implicit conversions | Matti Hänninen | 2015-08-12 | 8 | -110/+116 |
| | |||||
* | Unified the doxy-comment format. | Mattes D | 2015-07-31 | 17 | -106/+98 |
| | |||||
* | Silenced and fixed many warning messages across multiple files. | Samuel Barney | 2015-07-29 | 5 | -35/+29 |
| | |||||
* | Added documentation for GetLargeTreeAdjustment | Samuel Barney | 2015-07-17 | 1 | -0/+1 |
| | |||||
* | Merge pull request #2350 from SamJBarney/PeonySnowFix | Julian Laubstein | 2015-07-15 | 1 | -1/+7 |
|\ | | | | | Fixed Tall Grass placement | ||||
| * | Fixed tall grass trying to be placed in cold biomes. | Samuel Barney | 2015-07-15 | 1 | -1/+7 |
| | | |||||
* | | Merge pull request #2346 from SamJBarney/TreeGrowthUpdate | Julian Laubstein | 2015-07-14 | 2 | -5/+95 |
|\ \ | | | | | | | Sapling Growth Update | ||||
| * | | Sapling Growth Update | Samuel Barney | 2015-07-13 | 2 | -5/+95 |
| |/ | | | | | | | | | | | | | | | | | * Growth has been slowed down * Saplings do not grow if they do not have enough space to grow * Saplings do not grow unless the light level is 9 or above * Dark Oak doesn't grow unless it is in a 2x2 Jungle Trees now will grow into a large tree when 2x2 saplings are used. | ||||
* / | Switched from using std::max(std::min()) to using Clamp | Samuel Barney | 2015-07-13 | 1 | -2/+2 |
|/ | |||||
* | Fixed misplaced parens | Samuel Barney | 2015-07-09 | 1 | -2/+2 |
| | |||||
* | Fixes compilation failures on MacOSX 10.10 | Samuel Barney | 2015-07-09 | 2 | -44/+44 |
| | | | | | * Replace old c-style casts with c++ casts * Added `-Wno-error=old-style-cast` to Protocol18x.cpp | ||||
* | Fixed warnings generated by 64-bit MSVC. | Mattes D | 2015-07-07 | 5 | -22/+22 |
| | |||||
* | Generate biomes when pregenerating heights through CompositedHeiGen. | Mattes D | 2015-06-23 | 2 | -3/+6 |
| | | | | Fixes #2283. | ||||
* | Added basic support for loading village prefabs from files. | Mattes D | 2015-06-20 | 16 | -17243/+237 |
| | |||||
* | Externalized cPrefabPiecePool self-test. | Mattes D | 2015-06-19 | 2 | -28/+3 |
| | |||||
* | PrefabPiecePool: Added loading from cubeset file. | Mattes D | 2015-06-18 | 4 | -3/+589 |
| | |||||
* | Updated prefabs from the Gallery server. | Mattes D | 2015-06-13 | 6 | -488/+465 |
| | |||||
* | SelfTests are registered and executed after logging framework init. | Mattes D | 2015-06-11 | 1 | -3/+9 |
| | | | | Fixes #2228. | ||||
* | Fixed warnings in MSVC. | Mattes D | 2015-06-02 | 1 | -0/+7 |
| | | | | It complained about undefined return values or using uninitialized variables. | ||||
* | Fixed minor cast warning | tycho | 2015-05-30 | 1 | -1/+1 |
| | |||||
* | Fix FreeBSD/clang errors caused by -Werror | linnemannr | 2015-05-30 | 1 | -1/+5 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | With FreeBSD/clang, -Werror combined with the configured warning flags yields some fatal errors, specifically related to signed conversion, 64 to 32 bit conversion, and tautological compares. CONTRIBUTORS Add myself to the contributor list src/Generating/FinishGen.cpp In cFinishGenPassiveMobs::GetRandomMob(), change the type of RandMob from size_t to the difference_type of the ListOfSpawnables iterator MobIter. Using size_t triggers a 64 bit to 32 bit conversion if the difference_type of the iterator class is 64 bit Also explicitly cast the noise expression to unsigned long so we don't get a signed conversion warning from the modulo against ListOfSpawnables.size() src/OSSupport/StackTrace.cpp FreeBSD 10 and above includes a non glibc implementation of benchmark() for which size_t, not int, is the return type. To account for this and prevent a signed conversion warning, abstract the type for numItems with a macro btsize src/StringUtils.h In StringToInteger(), correct a tautological compare warning for unsigned types with the template. If T is unsigned, comparing std::numeric_limits<T>::min() to the unsigned result is always false. That control can enter this branch in an evaluated template with an unsigned type T may also permit a signed number to be parsed and erroneously stripped of its signedness at runtime. To guard against this and avoid the warning in the case that the number parsed from the string is non-positive, return false and don't try to parse if T is unsigned and control enters the non-positive branch | ||||
* | Fix comments | tycho | 2015-05-28 | 1 | -1/+1 |
| | |||||
* | Merge branch 'master' into PreventNewWarnings | tycho | 2015-05-24 | 1 | -1/+1 |
|\ | |||||
| * | Wolves don't spawn in rivers. | Alexander Harkness | 2015-05-24 | 1 | -1/+1 |
| | | |||||
| * | Merge pull request #2107 from mc-server/cow-waterspawn | Safwat Halaby | 2015-05-23 | 1 | -1/+1 |
| |\ | | | | | | | Cows no longer spawn over water. | ||||
| | * | Cows and rabbits no longer spawn over water. | Alexander Harkness | 2015-05-23 | 1 | -1/+1 |
| | | | | | | | | | | | | Fixes #2080 | ||||
* | | | Fix comments | tycho | 2015-05-24 | 4 | -58/+58 |
| | | | |||||
* | | | Made -Weverything an error. | tycho | 2015-05-24 | 16 | -45/+55 |
| | | | |||||
* | | | Merge branch 'master' into PreventNewWarnings | tycho | 2015-05-23 | 2 | -3/+3 |
|\| | | |||||
| * | | Fixed missing overrides and added a ignore flag for reserved macro for clang version 3.6 and higher. | Lukas Pioch | 2015-05-23 | 2 | -3/+3 |
| |/ | |||||
* | | Fix tests | tycho | 2015-05-23 | 1 | -0/+2 |
| | | |||||
* | | Merge branch 'master' into PreventNewWarnings | tycho | 2015-05-19 | 1 | -0/+1 |
|\| | |||||
| * | Fix the health of animals | Lukas Pioch | 2015-05-18 | 1 | -0/+1 |
| | | |||||
* | | Make -Werror disabling file only | tycho | 2015-05-19 | 1 | -0/+14 |
| | | | | | | | | Ad fix a load of warnings | ||||
* | | Fixed some more warnings | tycho | 2015-05-19 | 3 | -36/+36 |
| | | |||||
* | | More fixed warnings | tycho | 2015-05-19 | 6 | -28/+40 |
| | | |||||
* | | Fixed compile and a few more warnings | tycho | 2015-05-19 | 1 | -1/+6 |
| | | |||||
* | | Fixed a lot of warnings | tycho | 2015-05-19 | 11 | -210/+196 |
|/ | |||||
* | CheckBasicStyle: checks spaces around * and &. | Mattes D | 2015-05-09 | 1 | -1/+1 |
| | |||||
* | More style checking. | Mattes D | 2015-05-09 | 18 | -24/+24 |
| | | | | Spaces around some operators are checked. | ||||
* | Merge pull request #1879 from mc-server/DynamicThreshold | Mattes D | 2015-04-21 | 2 | -7/+6 |
|\ | | | | | Changed Nether composition to change the threshold from a cubic noise | ||||
| * | Changed default MaxThreshold value | STRWarrior | 2015-04-21 | 1 | -1/+1 |
| | | | | | | | | There is now really a difference between open and dense parts | ||||
| * | Calculate threshold for each column in a chunk instead for the whole chunk | STRWarrior | 2015-04-21 | 1 | -2/+1 |
| | | |||||
| * | Changed Nether composition to change the threshold from a cubic noise | STRWarrior | 2015-04-20 | 2 | -7/+7 |
| | | |||||
* | | Fixed typo in NetherForts initialization | STRWarrior | 2015-04-19 | 1 | -1/+1 |
|/ | | | | The S in NetherForts was missing | ||||
* | GlowStone: Changed order of initialization of member variables | STRWarrior | 2015-04-19 | 1 | -2/+2 |
| | |||||
* | Fixed style | STRWarrior | 2015-04-19 | 1 | -2/+2 |
| | |||||
* | Added GlowStone finisher | STRWarrior | 2015-04-19 | 3 | -1/+139 |
| | |||||
* | Merge pull request #1775 from tommysanterre/terrainheightfix | Mattes D | 2015-03-23 | 2 | -2/+2 |
|\ | | | | | Correct all world height validations. | ||||
| * | Correct world height validations. | Tommy Santerre | 2015-03-20 | 2 | -2/+2 |
| | | | | | | | | | | Unify the way we test block above the current one (Height - 1 instead of a_RelY + 1). Allow generation of world of flat height = 255 | ||||
* | | Merge pull request #1786 from mc-server/pipelineSyntax | worktycho | 2015-03-21 | 2 | -19/+85 |
|\ \ | |/ |/| | Added pipelining syntax for generators | ||||
| * | Style fixes | worktycho | 2015-03-21 | 1 | -15/+15 |
| | | |||||
| * | Changed pipeline character from >> to | | tycho | 2015-03-11 | 2 | -15/+15 |
| | | |||||
| * | Fixed style and removed false positives | tycho | 2015-03-11 | 1 | -4/+9 |
| | | | | | | | | Relaxed the rules for < followed by an && and removed rule for < following an && | ||||
| * | Fixed Sequence Generator for IntGen | Tycho | 2015-03-10 | 2 | -12/+24 |
| | | |||||
| * | Fixed Style | Tycho | 2015-03-01 | 2 | -13/+15 |
| | | | | | | | | Still fails CheckBasicStyle.lua dua to issue with rvalue references and templates | ||||
| * | Added pipelining syntax for generators | Tycho | 2015-03-01 | 2 | -16/+63 |
| | | |||||
* | | Added parenthesis around the comparisons | STRWarrior | 2015-03-08 | 1 | -2/+2 |
| | | |||||
* | | Added proper trees to Mesa biomes | STRWarrior | 2015-03-08 | 1 | -6/+10 |
| | | | | | | | | Mesa only has small apple trees. | ||||
* | | Added grass/course dirt layer on MesaPlateauF(M) | STRWarrior | 2015-03-08 | 1 | -0/+14 |
| | | |||||
* | | Merge pull request #1784 from mc-server/SteppyHeiGen | Tiger Wang | 2015-03-06 | 3 | -1/+409 |
|\ \ | | | | | | | Added Steppy height generator. | ||||
| * | | Steppy HeiGen: Fixed Linux compilation. | Mattes D | 2015-03-01 | 1 | -1/+1 |
| | | | |||||
| * | | Added Steppy height generator. | Mattes D | 2015-03-01 | 3 | -1/+409 |
| |/ | |||||
* | | Removed trailing whitespace | STRWarrior | 2015-03-01 | 1 | -1/+1 |
| | | |||||
* | | Replaced IntNoiseXX with IntNoiseXXInt | STRWarrior | 2015-03-01 | 1 | -2/+2 |
| | | |||||
* | | Replaced cFinishGenPtr with std::make_shared | STRWarrior | 2015-03-01 | 1 | -1/+1 |
| | | |||||
* | | Made the minimum vine level configurable | STRWarrior | 2015-02-28 | 3 | -4/+7 |
| | | |||||
* | | Implemented a vines finisher that creates vines in jungle biomes | STRWarrior | 2015-02-28 | 3 | -0/+119 |
|/ | |||||
* | Ice finisher uses GetSnowStartHeight instead of specific biomes | STRWarrior | 2015-02-25 | 1 | -26/+19 |
| | |||||
* | Snow finisher uses GetSnowStartHeight instead of specific biomes | STRWarrior | 2015-02-25 | 1 | -22/+14 |
| | |||||
* | Replaced atoi() with StringToInteger(). | Mattes D | 2015-01-27 | 1 | -2/+1 |
| | |||||
* | Fixed defect #43665 in Coverity list. | Kirill Kirilenko | 2015-01-23 | 1 | -0/+11 |
| | |||||
* | Fixed defect #73101 in Coverity list. | Kirill Kirilenko | 2015-01-23 | 1 | -1/+13 |
| | |||||
* | Fixed defect #43671 in Coverity list. | Kirill Kirilenko | 2015-01-23 | 1 | -0/+4 |
| | |||||
* | Refactored all player block placing to go through hooks. | Mattes D | 2014-12-24 | 2 | -14/+14 |
| | | | | Fixes #1618. | ||||
* | cEndGen: Fixed unitialized member variables. | Mattes D | 2014-12-21 | 1 | -1/+3 |
| | | | | Fixes CID 43671. | ||||
* | cNoise3DComposable: Fixed unitialized member variables. | Mattes D | 2014-12-21 | 1 | -1/+3 |
| | | | | Fixes CID 43665. | ||||
* | WormNestCaves occasionally generates sandstone around the cave | STRWarrior | 2014-12-13 | 1 | -3/+22 |
| | | | | Only when the block around the cave is sand. | ||||
* | Merge pull request #1657 from mc-server/PrepareChunk | Mattes D | 2014-12-11 | 2 | -31/+63 |
|\ | | | | | Prepare chunk | ||||
| * | Added a cWorld:PrepareChunk function. | Mattes D | 2014-12-10 | 2 | -31/+63 |
| | | | | | | | | | | It prepares the chunk - loads or generates it and lights it. The spawn prepare process uses this function. | ||||
* | | Fixed DungeonRooms edges not generating sometimes. | Mattes D | 2014-12-11 | 1 | -2/+2 |
|/ | |||||
* | Merge pull request #1555 from mc-server/c++11 | Mattes D | 2014-12-07 | 2 | -2/+1 |
|\ | | | | | C++11 | ||||
| * | Merge remote-tracking branch 'origin/master' into c++11 | Tiger Wang | 2014-12-06 | 4 | -5/+302 |
| |\ | | | | | | | | | | | | | Conflicts: src/OSSupport/Thread.cpp | ||||
| * \ | Merged branch 'origin/master' into c++11. | Mattes D | 2014-12-04 | 10 | -46/+139 |
| |\ \ | |||||
| * | | | Merge remote-tracking branch 'origin-master' into c++11 | Tiger Wang | 2014-11-26 | 27 | -1514/+1554 |
| | | | | |||||
| * | | | Removed unnecessary #includes | Tiger Wang | 2014-11-23 | 1 | -1/+0 |
| | | | | |||||
| * | | | Merge remote-tracking branch 'origin/master' into c++11 | Tiger Wang | 2014-11-23 | 25 | -237/+4125 |
| |\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: src/Noise/Noise.h src/World.h | ||||
| * \ \ \ | Merged branch 'master' into c++11. | Mattes D | 2014-10-24 | 11 | -11/+11 |
| |\ \ \ \ | |||||
| * \ \ \ \ | Merged branch 'master' into c++11. | Mattes D | 2014-10-23 | 1 | -3/+3 |
| |\ \ \ \ \ | |||||
| * | | | | | | En masse NULL -> nullptr replace | Tiger Wang | 2014-10-20 | 14 | -44/+44 |
| | | | | | | | |||||
| * | | | | | | Merge branch 'master' of https://github.com/mc-server/MCServer | Tiger Wang | 2014-10-20 | 19 | -196/+168 |
| |\ \ \ \ \ \ | |||||
| * | | | | | | | Migrated random generators to std::random | Tiger Wang | 2014-10-19 | 1 | -1/+1 |
| | | | | | | | | |||||
* | | | | | | | | Reduced river height | STRWarrior | 2014-12-07 | 1 | -2/+2 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Rivers would exceed the water height quite often | ||||
* | | | | | | | | Fixed error message in cFinishGenPassiveMobs | STRWarrior | 2014-12-07 | 1 | -1/+1 |
| |_|_|_|_|_|/ |/| | | | | | | | | | | | | | | | | | | | | It would send an error message when trying to spawn mobs in a desert | ||||
* | | | | | | | FinishGenPassiveMobs: Cosmetic changes. | Mattes D | 2014-12-05 | 2 | -30/+33 |
| | | | | | | | |||||
* | | | | | | | formatting and default spawn percentage | p-mcgowan | 2014-12-05 | 1 | -1/+2 |
| | | | | | | | |||||
* | | | | | | | Merge branch 'master' of github.com:p-mcgowan/MCServer into animalTerrainFinisher | p-mcgowan | 2014-12-05 | 4 | -30/+75 |
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | update | ||||
| * | | | | | | | BasicStyle: Added missing braces to control statements. | Mattes D | 2014-12-05 | 1 | -2/+8 |
| | | | | | | | | |||||
| * | | | | | | | conflict resolution | p-mcgowan | 2014-12-04 | 3 | -27/+48 |
| |\ \ \ \ \ \ \ | | | |_|_|_|_|/ | | |/| | | | | | |||||
| | * | | | | | | clearing CheckBasicStyle.lua messages | p-mcgowan | 2014-12-03 | 2 | -28/+28 |
| | | | | | | | | |||||
| | * | | | | | | Merge pull request #1634 from mc-server/DungeonSpawners | Mattes D | 2014-12-02 | 1 | -1/+22 |
| | |\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | Dungeons spawners now spawn mobs | ||||
| | | * | | | | | | Fixed forgotten semicolon | STRWarrior | 2014-12-02 | 1 | -1/+1 |
| | | | | | | | | | |||||
| | | * | | | | | | Using IntNoise3DInt instead of IntNoise3D | STRWarrior | 2014-12-02 | 1 | -1/+1 |
| | | | | | | | | | |||||
| | | * | | | | | | Suggestions by xoft | STRWarrior | 2014-12-02 | 1 | -3/+3 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Using IntNoise3D to prevent needless floating point math | ||||
| | | * | | | | | | Using static cast for Dungeon spawners | STRWarrior | 2014-12-01 | 1 | -1/+1 |
| | | | | | | | | | |||||
| | | * | | | | | | Dungeons spawners now spawn mobs | STRWarrior | 2014-12-01 | 1 | -1/+22 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 25% for a spider, 25% for a skeleton and 50% for a zombie spawner. | ||||
| * | | | | | | | | reformat for lua and CI | p-mcgowan | 2014-12-02 | 2 | -6/+9 |
| | | | | | | | | | |||||
| * | | | | | | | | formatting and commenting fixes | p-mcgowan | 2014-12-02 | 2 | -6/+6 |
| | | | | | | | | | |||||
| * | | | | | | | | cacti no longer spawn outside of desert variants | p-mcgowan | 2014-12-01 | 2 | -1/+16 |
| |/ / / / / / / | |||||
* | | | | | | | | reformat | p-mcgowan | 2014-12-05 | 1 | -9/+5 |
| | | | | | | | | |||||
* | | | | | | | | restructure, with logic this time | p-mcgowan | 2014-12-05 | 1 | -5/+13 |
| | | | | | | | | |||||
* | | | | | | | | restructured random animals, added check for desert (update as per wiki) | p-mcgowan | 2014-12-05 | 1 | -19/+17 |
| | | | | | | | | |||||
* | | | | | | | | handle non-vanilla dimensions | p-mcgowan | 2014-12-05 | 1 | -2/+2 |
| | | | | | | | | |||||
* | | | | | | | | handle non-vanilla dimensions | p-mcgowan | 2014-12-05 | 1 | -2/+3 |
| | | | | | | | | |||||
* | | | | | | | | formatting fixes | p-mcgowan | 2014-12-05 | 1 | -4/+11 |
| | | | | | | | | |||||
* | | | | | | | | format blocks and randomizing | p-mcgowan | 2014-12-04 | 2 | -9/+9 |
| | | | | | | | | |||||
* | | | | | | | | last doxy fix | p-mcgowan | 2014-12-04 | 1 | -3/+3 |
| | | | | | | | | |||||
* | | | | | | | | awful comment fixing, randomizer fix | p-mcgowan | 2014-12-04 | 2 | -19/+32 |
| | | | | | | | | |||||
* | | | | | | | | class description and doxy-commenting | p-mcgowan | 2014-12-03 | 2 | -5/+8 |
| | | | | | | | | |||||
* | | | | | | | | doxy-commenting | p-mcgowan | 2014-12-03 | 1 | -3/+3 |
| | | | | | | | | |||||
* | | | | | | | | forgot initializer | p-mcgowan | 2014-12-03 | 1 | -1/+5 |
| | | | | | | | | |||||
* | | | | | | | | typos and oversights for lua and CI | p-mcgowan | 2014-12-02 | 1 | -1/+5 |
| | | | | | | | | |||||
* | | | | | | | | fastRandom unused | p-mcgowan | 2014-12-02 | 1 | -1/+0 |
| | | | | | | | | |||||
* | | | | | | | | indentation, repeatable random, small corrections | p-mcgowan | 2014-12-02 | 1 | -98/+93 |
| | | | | | | | | |||||
* | | | | | | | | fix comments after replacing spaces with tabs | p-mcgowan | 2014-12-02 | 1 | -4/+4 |
| | | | | | | | | |||||
* | | | | | | | | animal terrain finisher | p-mcgowan | 2014-12-02 | 2 | -187/+187 |
| | | | | | | | | |||||
* | | | | | | | | animal terrain finisher | p-mcgowan | 2014-12-02 | 2 | -0/+241 |
|/ / / / / / / | |||||
* | | | | | | | Using static cast for MineShaft spawners | STRWarrior | 2014-12-01 | 1 | -1/+1 |
| | | | | | | | |||||
* | | | | | | | Mineshaft spawners now spawn cave spiders | STRWarrior | 2014-12-01 | 1 | -1/+4 |
|/ / / / / / | |||||
* | | | | | | Simplefied SoulsandRims | STRWarrior | 2014-12-01 | 1 | -36/+6 |
| | | | | | | | | | | | | | | | | | | | | | | | | Replaced two for loops with a single if | ||||
* | | | | | | Added better soulsand rims | STRWarrior | 2014-12-01 | 4 | -11/+106 |
| | | | | | | | | | | | | | | | | | | | | | | | | As a finisher called SoulsandRims | ||||
* | | | | | | DistortedHeightmap: Added missing initialization. | Mattes D | 2014-12-01 | 1 | -0/+2 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This was probably the original cause for the "empty chunks". Fixes #1433. | ||||
* | | | | | | Noise3D: Fixed missing initialization. | Mattes D | 2014-12-01 | 1 | -1/+3 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This should fix terrain being at Y=0 or Y=255 for the spawn chunk. Fixes #1433. | ||||
* | | | | | | Hopefully fixed random build fails | STRWarrior | 2014-11-30 | 1 | -1/+1 |
| | | | | | | |||||
* | | | | | | Fixed nether ceiling | STRWarrior | 2014-11-30 | 1 | -1/+1 |
| | | | | | | |||||
* | | | | | | CompoGenBiomal: Fixed signed vs unsigned comparison. | Mattes D | 2014-11-27 | 1 | -1/+1 |
| | | | | | | |||||
* | | | | | | Fixed BlockStringToType return value. | Mattes D | 2014-11-27 | 1 | -3/+3 |
| | | | | | | | | | | | | | | | | | | | | | | | | -1 was not a valid BLOCKTYPE and would not be recognized by the callers, ever. | ||||
* | | | | | | Added TwoHeights shape generator. | Mattes D | 2014-11-23 | 5 | -8/+162 |
| | | | | | | | | | | | | | | | | | | | | | | | | This is a faster shape generator that can generate overhangs and has biome awareness. | ||||
* | | | | | | Noise3D generator: Enlarged averaging to avoid steep beach slopes. | Mattes D | 2014-11-23 | 2 | -4/+4 |
| | | | | | | |||||
* | | | | | | Merge remote-tracking branch 'origin/master' into GeneratorShapeRefactor | Mattes D | 2014-11-23 | 2 | -2/+110 |
|\ \ \ \ \ \ | | |_|_|_|/ | |/| | | | | |||||
| * | | | | | Merge pull request #1594 from mc-server/LargeOakTree | Mattes D | 2014-11-20 | 2 | -2/+110 |
| |\ \ \ \ \ | | | | | | | | | | | | | | | Large Oak Tree | ||||
| | * | | | | | Changed comment | STRWarrior | 2014-11-16 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | Suggestion by xoft | ||||
| | * | | | | | First implementation for the LargeOakTree | STRWarrior | 2014-11-13 | 2 | -2/+110 |
| | | | | | | | |||||
* | | | | | | | BiomalNoise3D generator: finished all biomes. | Mattes D | 2014-11-20 | 1 | -66/+74 |
| | | | | | | | |||||
* | | | | | | | CompoGenBiomal: Fixed sealevel offset. | Mattes D | 2014-11-20 | 1 | -1/+1 |
| | | | | | | | |||||
* | | | | | | | CompoGenBiomal: Fixed sealevel not generating properly. | Mattes D | 2014-11-20 | 1 | -1/+2 |
| | | | | | | | |||||
* | | | | | | | Generators: Unified SeaLevel into a single variable. | Mattes D | 2014-11-20 | 3 | -70/+3 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | It is shared between shape generators and composition generators and there's no sense in having two different values for those. | ||||
* | | | | | | | Noise3D generators: Changed noise generator to InterpolNoise. | Mattes D | 2014-11-20 | 2 | -10/+10 |
| | | | | | | | |||||
* | | | | | | | Merge remote-tracking branch 'origin/master' into GeneratorShapeRefactor | Mattes D | 2014-11-20 | 17 | -59/+180 |
|\| | | | | | | |||||
| * | | | | | | cInterpolNoise: Implemented optimized 2D generating. | Mattes D | 2014-11-19 | 2 | -8/+56 |
| | | | | | | | |||||
| * | | | | | | Added a cInterpolNoise template for faster noise generator. | Mattes D | 2014-11-18 | 2 | -4/+54 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | Used an instance of it in the Noise3D generator. | ||||
| * | | | | | | Moved all Noise-related files into a separate folder. | Mattes D | 2014-11-18 | 16 | -16/+11 |
| | | | | | | | |||||
| * | | | | | | Added cImprovedNoise implementation. | Mattes D | 2014-11-17 | 2 | -36/+7 |
| | | | | | | | |||||
| * | | | | | | BiomalNoise3D: Added more biomes. | Mattes D | 2014-11-16 | 1 | -13/+65 |
| | | | | | | | |||||
| * | | | | | | Noise3D: Added jungles. | Mattes D | 2014-11-14 | 1 | -0/+2 |
| | | | | | | | |||||
| * | | | | | | Noise3D: Added oceans. | Mattes D | 2014-11-13 | 1 | -0/+3 |
| |/ / / / / | |||||
* | | | | | | Generator: Fixed crash with trees too high. | Mattes D | 2014-11-15 | 1 | -2/+7 |
| | | | | | | |||||
* | | | | | | Snow generator: Fixed failure at top of the world. | Mattes D | 2014-11-15 | 1 | -1/+1 |
| | | | | | | |||||
* | | | | | | ChunkDesc: Fixed comment about indexing. | Mattes D | 2014-11-15 | 1 | -1/+1 |
| | | | | | | |||||
* | | | | | | DungeonRooms: Changed to work with the new shape generators. | Mattes D | 2014-11-15 | 1 | -10/+15 |
| | | | | | | |||||
* | | | | | | Gen refactor: Implemented CompositedHeiGen. | Mattes D | 2014-11-13 | 9 | -217/+141 |
| | | | | | | | | | | | | | | | | | | | | | | | | This fixes crashes in the Village generator due to the missing generator. | ||||
* | | | | | | Generator: Shape initial refactoring. | Mattes D | 2014-11-12 | 23 | -1346/+1356 |
|/ / / / / | | | | | | | | | | | | | | | | The code compiles, but several structure generators are broken, crash on start. | ||||
* | | | | | BiomalNoise3D: Added a few biomes. | Mattes D | 2014-11-10 | 1 | -5/+8 |
| | | | | | |||||
* | | | | | TallGrassGenerator: Fixed crash when too high | STRWarrior | 2014-11-10 | 1 | -0/+5 |
| | | | | | |||||
* | | | | | Added BiomalNoise3D shape generator. | Mattes D | 2014-11-10 | 4 | -29/+369 |
| | | | | | |||||
* | | | | | Noise3d Generator: Fixed unused function error. | Mattes D | 2014-11-09 | 1 | -1/+1 |
| | | | | | |||||
* | | | | | Noise3D generator: rewritten from scratch. | Mattes D | 2014-11-09 | 2 | -78/+145 |
| | | | | | | | | | | | | | | | | | | | | Now it uses three 3D and one 2D perlin noises to generate the terrain, and is highly parametrizable. | ||||
* | | | | | Noise3D CompoGen: Fixed missing initialization. | Mattes D | 2014-11-06 | 1 | -0/+2 |
| | | | | | |||||
* | | | | | MinMax heigen: Reduced the number of octaves. | Mattes D | 2014-11-04 | 1 | -2/+0 |
| | | | | | | | | | | | | | | | | | | | | They didn't affect the terrain that much anyway. | ||||
* | | | | | Added MinMax height generator. | Mattes D | 2014-11-04 | 1 | -0/+207 |
| | | | | | | | | | | | | | | | | | | | | Fixes #1578. | ||||
* | | | | | Fixed a missing endline. | Mattes D | 2014-11-03 | 1 | -1/+5 |
| | | | | | |||||
* | | | | | Added a (disabled) perf test for biome generators. | Mattes D | 2014-11-03 | 1 | -0/+46 |
| | | | | | |||||
* | | | | | HeiGen: Moved construction to the end of file. | Mattes D | 2014-11-03 | 1 | -75/+75 |
| | | | | | | | | | | | | | | | | | | | | This will allow us to define generators in the cpp file instead of needing them in the header, thus speeding up compilation on changes. | ||||
* | | | | | Grown biomes: fixed Linux build. | Mattes D | 2014-11-02 | 1 | -3/+3 |
| | | | | | |||||
* | | | | | Grown biomes: Unified with GrownProt biomes. | Mattes D | 2014-11-02 | 3 | -159/+595 |
| | | | | | | | | | | | | | | | | | | | | Also fixed a Zoom filter randomness. | ||||
* | | | | | GrownProt: Added the rest of rare and M biomes. | Mattes D | 2014-11-01 | 2 | -14/+91 |
| | | | | | |||||
* | | | | | GrownProt biome gen: Added biome edges. | Mattes D | 2014-11-01 | 2 | -2/+162 |
| | | | | | |||||
* | | | | | GrownProt biomes: added alterations. | Mattes D | 2014-10-31 | 3 | -130/+192 |
| | | | | | |||||
* | | | | | QtBiomeVisualiser: Added a prototyping int generator flavor. | Mattes D | 2014-10-30 | 4 | -53/+1253 |
| | | | | | | | | | | | | | | | | | | | | This generator is easier to manipulate, since it doesn't require rewriting the sizes in the template parameters. On the other hand, it doesn't optimize so well, so it's a bit slower. | ||||
* | | | | | Grown biomes: made biomes smaller, made beaches smaller. | Mattes D | 2014-10-29 | 1 | -11/+8 |
| | | | | | |||||
* | | | | | Merged branch 'master' into GrownBiomes. | Mattes D | 2014-10-28 | 3 | -28/+38 |
|\ \ \ \ \ | |||||
| * | | | | | Comment alignment. | Alexander Harkness | 2014-10-27 | 2 | -8/+8 |
| | | | | | | |||||
| * | | | | | CheckBasicStyle'd | Alexander Harkness | 2014-10-27 | 2 | -28/+28 |
| | | | | | | |||||
| * | | | | | Fixed more warnings. | Alexander Harkness | 2014-10-27 | 1 | -14/+14 |
| | | | | | | | | | | | | | | | | | | It's ugly though. | ||||
| * | | | | | Another switch. | Alexander Harkness | 2014-10-27 | 1 | -0/+5 |
| | | | | | | |||||
| * | | | | | Fix missing biomes in enum. | Alexander Harkness | 2014-10-27 | 1 | -0/+5 |
| | | | | | | |||||
| * | | | | | Fixed remaining warnings. | Alexander Harkness | 2014-10-27 | 1 | -5/+5 |
| | | | | | | |||||
| * | | | | | Actually fixed the warning. | Alexander Harkness | 2014-10-27 | 1 | -20/+9 |
| | | | | | | |||||
| * | | | | | Test warning fix. | Alexander Harkness | 2014-10-27 | 1 | -0/+11 |
| | |_|_|/ | |/| | | | |||||
* | | | | | cIntGen: Added a virtual destructor. | Mattes D | 2014-10-27 | 1 | -0/+4 |
| | | | | | |||||
* | | | | | Removed too advanced C++11 features. | Mattes D | 2014-10-27 | 2 | -32/+28 |
| | | | | | | | | | | | | | | | | | | | | We need to keep gcc 4.6 compatibility; these features were not implemented in that version yet. | ||||
* | | | | | IntGen: Attempt at fixing Linux compilation. | Mattes D | 2014-10-26 | 1 | -13/+13 |
| | | | | | |||||
* | | | | | BioGenGrown: Smaller biomes, add land to map center. | Mattes D | 2014-10-26 | 2 | -16/+13 |
| | | | | | |||||
* | | | | | Fixed a copypasta error in cIntGenAddToOcean. | Mattes D | 2014-10-26 | 1 | -4/+4 |
| | | | | | |||||
* | | | | | Added a missing header to CMakeLists. | Mattes D | 2014-10-26 | 1 | -0/+1 |
| | | | | | |||||
* | | | | | Added new biomegen: Grown | Mattes D | 2014-10-26 | 2 | -0/+1047 |
|/ / / / | |||||
* | | | | Removed iniFile library from linux dependencies. | Mattes D | 2014-10-23 | 2 | -2/+2 |
| | | | | |||||
* | | | | Merged IniFile into main MCS sources. | Mattes D | 2014-10-23 | 9 | -9/+9 |
| |_|/ |/| | | |||||
* | | | En masse NULL -> nullptr replace | Tiger Wang | 2014-10-23 | 14 | -44/+44 |
| | | | |||||
* | | | ComposableGenerator: Removed nullptr initializers. | Mattes D | 2014-10-22 | 1 | -3/+3 |
| |/ |/| | |||||
* | | Fixed #1550 | Julian Laubstein | 2014-10-20 | 1 | -6/+6 |
| | | |||||
* | | TwoLevel BioGen: fixed swapped inside and outside biomes. | Mattes D | 2014-10-19 | 1 | -1/+1 |
| | | |||||
* | | Mountain height gen: Added ditches. | Mattes D | 2014-10-19 | 2 | -8/+16 |
| | | |||||
* | | Generator: Rewritten to use SharedPtrs. | Mattes D | 2014-10-19 | 18 | -181/+145 |
|/ | |||||
* | Merge branch 'master' into DungeonLoot | STRWarrior | 2014-10-16 | 1 | -2/+2 |
|\ | | | | | | | | | Conflicts: src/ItemGrid.cpp | ||||
| * | BioGen: Fixed a compiler warning. | Mattes D | 2014-10-16 | 1 | -2/+2 |
| | | |||||
* | | Reversed wrong fix for #1517. | STRWarrior | 2014-10-16 | 1 | -8/+2 |
| | | |||||
* | | Reversed the order of the loot | STRWarrior | 2014-10-15 | 1 | -7/+15 |
| | | | | | | | | | | For some reason the rare items weren't generating at all. Added forgotten Golden Apple | ||||
* | | Added loot to dungeons. | STRWarrior | 2014-10-15 | 1 | -1/+27 |
|/ | |||||
* | DistortedHeightmap: Fixed crash on number rounding. | Mattes D | 2014-10-09 | 1 | -4/+5 |
| | | | | Fixes #1521. | ||||
* | Added comments to the GetAcaciaTreeImage function | STRWarrior | 2014-10-08 | 1 | -0/+18 |
| | |||||
* | Using array with possible directions. | STRWarrior | 2014-10-08 | 1 | -8/+9 |
| | |||||
* | Added AcaciaTrees for the savanna biomes | STRWarrior | 2014-10-08 | 1 | -5/+56 |
| | |||||
* | Fixes #1503 - No gravel is being generated | win32re | 2014-10-04 | 1 | -1/+1 |
| | |||||
* | Fixed compilation | STRWarrior | 2014-09-28 | 1 | -1/+10 |
| | |||||
* | Added Granite, Diorite and Andesite to the NaturalPatches generator. | STRWarrior | 2014-09-28 | 3 | -7/+37 |
| | |||||
* | BioGen: TwoLevel is now fully settable in INI. | madmaxoft | 2014-09-27 | 2 | -44/+31 |
| | |||||
* | Merge pull request #1419 from mc-server/redstoneTests | worktycho | 2014-09-26 | 1 | -0/+1 |
|\ | | | | | Added test mocking to IncrementalRedstoneSimulator | ||||
| * | Merge branch 'master' into redstoneTests | Tycho | 2014-09-25 | 3 | -74/+80 |
| |\ | | | | | | | | | | | | | Conflicts: src/Mobs/Monster.h | ||||
| * | | Added first test to show the object can be created | Tycho | 2014-09-17 | 1 | -0/+1 |
| | | | |||||
* | | | TwoLevel BioGen: reads params from INI file. | madmaxoft | 2014-09-25 | 1 | -9/+26 |
| |/ |/| | |||||
* | | Made it compile with clang | Chris Darnell | 2014-09-22 | 2 | -3/+3 |
| | | |||||
* | | Voronoi biomegen: Added JitterSize and OddRowOffset. | madmaxoft | 2014-09-17 | 1 | -71/+77 |
|/ | |||||
* | WorldStorage no longer queues chunks into generator. | Mattes D | 2014-09-05 | 1 | -0/+2 |
| | |||||
* | Rewritten chunk status to specify whether the chunk is in queue. | Mattes D | 2014-09-05 | 2 | -1/+6 |
| | | | | This fixes #1370. | ||||
* | BiomeMultiCache is not used for simple generators. | Mattes D | 2014-09-05 | 1 | -21/+22 |
| | |||||
* | Fixed style. | Mattes D | 2014-09-05 | 3 | -9/+13 |
| | |||||
* | Merge pull request #1371 from DayBr3ak/master | Mattes D | 2014-09-04 | 3 | -2/+92 |
|\ | | | | | issue381, multicache for cBioGen | ||||
| * | change to linear calculation | DayBr3ak | 2014-09-03 | 2 | -9/+7 |
| | | |||||
| * | adapting format | DayBr3ak | 2014-09-03 | 3 | -7/+14 |
| | | |||||
| * | forgot this one | DayBr3ak | 2014-09-02 | 2 | -2/+2 |
| | | |||||
| * | opting for size_t | DayBr3ak | 2014-09-02 | 2 | -5/+5 |
| | | |||||
| * | fixing memory leak | DayBr3ak | 2014-09-02 | 1 | -4/+5 |
| | | |||||
| * | changing implem, using vectors | DayBr3ak | 2014-09-02 | 2 | -98/+23 |
| | | |||||
| * | adding config file entry #381 | DayBr3ak | 2014-09-02 | 1 | -1/+10 |
| | | |||||
| * | adding the multicache behavior | DayBr3ak | 2014-09-02 | 3 | -4/+119 |
| | | |||||
| * | added multicache class definition | DayBr3ak | 2014-09-01 | 1 | -0/+35 |
| | | |||||
* | | ChunkGenerator: Log world seed when creating a new one. | madmaxoft | 2014-09-03 | 1 | -3/+14 |
| | | |||||
* | | re-add the missing "s" too cChunkCoordsWithBoolList | LO1ZB | 2014-09-03 | 2 | -5/+5 |
| | | |||||
* | | hopefully the last commit for removing y-coord from chunks. :) | LO1ZB | 2014-09-03 | 2 | -11/+17 |
| | | |||||
* | | fix possibility of a twice generated chunk | LO1ZB | 2014-09-01 | 1 | -1/+2 |
| | | |||||
* | | fix chunk regenerating | LO1ZB | 2014-08-29 | 1 | -8/+0 |
| | | |||||
* | | remove y-coord from chunks | LO1ZB | 2014-08-28 | 2 | -9/+9 |
|/ | |||||
* | DungeonRooms: Fixed an off-by-one error. | Mattes D | 2014-08-27 | 1 | -2/+2 |
| | |||||
* | More basic style fixes. | Mattes D | 2014-08-27 | 1 | -2/+2 |
| | |||||
* | DungeonRooms: Added a height probability distribution function. | Mattes D | 2014-08-27 | 3 | -9/+19 |
| | |||||
* | DungeonRooms: Added the spawner in the center of the room. | Mattes D | 2014-08-27 | 1 | -0/+15 |
| | |||||
* | DungeonRooms: Chests are never placed next to each other. | Mattes D | 2014-08-26 | 1 | -22/+27 |
| | |||||
* | DungeonRooms: Random pattern for floors. | Mattes D | 2014-08-26 | 1 | -1/+32 |
| | |||||
* | DungeonRooms: Replaced explicit switch with CanBeTerraformed(). | Mattes D | 2014-08-26 | 1 | -11/+3 |
| | |||||
* | Added initial dungeon rooms finisher. | Mattes D | 2014-08-26 | 4 | -0/+289 |
| | |||||
* | Added initializers for class members. | Mattes D | 2014-08-21 | 3 | -1/+11 |
| | | | | As reported by Coverity, these weren't initialized. | ||||
* | SwamplandM: Fixed sometimes having no mountains. | STRWarrior | 2014-08-18 | 1 | -1/+1 |
| | |||||
* | Bunch of tweaks: | STRWarrior | 2014-08-10 | 3 | -15/+15 |
| | | | | | | Renamed Quarts to Quartz Using const_iterator instead of iterator Used CheckBasicStyle script to find style errors | ||||
* | Added NaturalPatches generator | STRWarrior | 2014-08-10 | 1 | -0/+22 |
| | | | | It generates gravel and dirt. | ||||
* | Added NetherOreNests. | STRWarrior | 2014-08-10 | 1 | -0/+15 |
| | | | | It generates Nether Quarts. | ||||
* | Changed cStructGenOreNests to take a list of ores + the block to replace. | STRWarrior | 2014-08-10 | 3 | -53/+83 |
| | |||||
* | Removed an old and outdated comment. | STRWarrior | 2014-08-10 | 1 | -2/+0 |
| | |||||
* | CheckBasicStyle: multi-level indent change. | madmaxoft | 2014-08-04 | 2 | -5/+6 |
| | |||||
* | VillageGen: Fixed a typo in comment | STRWarrior | 2014-08-03 | 1 | -1/+1 |
| | |||||
* | Added proper trees and height for SwamplandM biome | STRWarrior | 2014-08-02 | 3 | -2/+4 |
| | |||||
* | Suggestions | STRWarrior | 2014-07-30 | 1 | -2/+2 |
| | |||||
* | Moved GetRoofedForestTreeImage content to GetDarkoakTreeImage | STRWarrior | 2014-07-30 | 2 | -66/+55 |
| | |||||
* | Fixed doxy comment | STRWarrior | 2014-07-30 | 1 | -1/+1 |
| | |||||
* | Fixed comment at the end of a for-loop | STRWarrior | 2014-07-30 | 1 | -1/+1 |
| | |||||
* | Fixed compiling using Clang | STRWarrior | 2014-07-30 | 1 | -4/+2 |
| | |||||
* | Added RoofedForest trees. | STRWarrior | 2014-07-30 | 2 | -2/+73 |
| | | | | Could still be improved allot. | ||||
* | PreSimulator: Added configurations. | STRWarrior | 2014-07-30 | 3 | -6/+30 |
| | | | | You can now choose if it should pregenerate something or not | ||||
* | Merge pull request #1262 from mc-server/CanBeTerraformed | Mattes D | 2014-07-30 | 2 | -44/+6 |
|\ | | | | | Added cBlockInfo::CanBeTerraformed and made finishers use it | ||||
| * | Added cBlockInfo::CanBeTerraformed and made finishers use it | STRWarrior | 2014-07-29 | 2 | -44/+6 |
| | | | | | | | | I might have forgotten some of them though | ||||
* | | Fixed FinishGen.h types. | madmaxoft | 2014-07-30 | 1 | -2/+2 |
| | | |||||
* | | Changed size_t to 'unsigned long' | Howaner | 2014-07-30 | 1 | -2/+2 |
| | | |||||
* | | Fixed compile error with clang. | Howaner | 2014-07-30 | 1 | -2/+2 |
| | | |||||
* | | Slight cleanup after portals | Tiger Wang | 2014-07-29 | 1 | -1/+1 |
|/ | |||||
* | Merge pull request #1061 from mc-server/portals | Mattes D | 2014-07-29 | 8 | -44/+14 |
|\ | | | | | Portals and others | ||||
| * | Merge branch 'master' into portals | Tiger Wang | 2014-07-29 | 6 | -97/+837 |
| |\ | | | | | | | | | | | | | Conflicts: src/World.h | ||||
| * \ | Merge remote-tracking branch 'origin/master' into portals | Tiger Wang | 2014-07-22 | 14 | -263/+444 |
| |\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: src/Chunk.cpp src/Entities/Player.cpp src/Root.cpp src/World.cpp | ||||
| * \ \ | Merge branch 'master' into portals | Tiger Wang | 2014-07-18 | 37 | -350/+361 |
| |\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 | ||||
| * \ \ \ | Merge branch 'master' of https://github.com/mc-server/MCServer into portals | Tiger Wang | 2014-06-24 | 1 | -0/+11 |
| |\ \ \ \ | |||||
| * \ \ \ \ | Merge branch 'master' into portals | Tiger Wang | 2014-06-21 | 31 | -3075/+4662 |
| |\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: src/Chunk.cpp src/Entities/Entity.h src/Entities/Player.h | ||||
| * \ \ \ \ \ | Merge remote-tracking branch 'origin/master' into portals | Tiger Wang | 2014-06-14 | 1 | -4/+17 |
| |\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: src/World.h | ||||
| * \ \ \ \ \ \ | Merge branch 'master' into portals | Tiger Wang | 2014-06-10 | 8 | -4/+1694 |
| |\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: src/ClientHandle.cpp src/Entities/Player.cpp src/Entities/Player.h src/Protocol/Protocol125.cpp src/Protocol/Protocol17x.cpp | ||||
| * | | | | | | | | Suggestions | Tiger Wang | 2014-06-05 | 1 | -1/+1 |
| | | | | | | | | | |||||
| * | | | | | | | | Fixed a NetherFinisher bug | Tiger Wang | 2014-06-04 | 3 | -24/+9 |
| | | | | | | | | | |||||
| * | | | | | | | | Merge remote-tracking branch 'origin/master' into portals | Tiger Wang | 2014-06-04 | 28 | -22/+19604 |
| |\ \ \ \ \ \ \ \ | |||||
| * | | | | | | | | | Implemented end and nether portals | Tiger Wang | 2014-05-31 | 4 | -19/+4 |
| | | | | | | | | | | |||||
* | | | | | | | | | | Merge pull request #1254 from mc-server/SingleTopBlockFinisher | Mattes D | 2014-07-29 | 3 | -22/+92 |
|\ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | Renamed cFinishGenSingleBiomeSingleTopBlock to cFinishGenSingleTopBlock | ||||
| * | | | | | | | | | | Some finishing touches | STRWarrior | 2014-07-29 | 2 | -2/+2 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Removed whitespace fixed dead bush comment | ||||
| * | | | | | | | | | | Fixed comment above cFinishGenSingleTopBlock | STRWarrior | 2014-07-29 | 1 | -1/+1 |
| | | | | | | | | | | | |||||
| * | | | | | | | | | | SingleTopBlock: All blocktypes and biometypes get initialized properly | STRWarrior | 2014-07-29 | 1 | -2/+14 |
| | | | | | | | | | | | |||||
| * | | | | | | | | | | Using suggestions | STRWarrior | 2014-07-28 | 1 | -25/+20 |
| | | | | | | | | | | | |||||
| * | | | | | | | | | | Forgot Mesa Plateau biome. | STRWarrior | 2014-07-28 | 1 | -0/+1 |
| | | | | | | | | | | | |||||
| * | | | | | | | | | | Renamed cFinishGenSingleBiomeSingleTopBlock to cFinishGenSingleTopBlock | STRWarrior | 2014-07-28 | 3 | -20/+82 |
| | |_|_|_|_|_|_|_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | Now accepts a vector of biomes and a vector of allowed blocks. | ||||
* | | | | | | | | | | Merge pull request #1252 from mc-server/RoughRavinesGen | Mattes D | 2014-07-29 | 4 | -3/+439 |
|\ \ \ \ \ \ \ \ \ \ | |/ / / / / / / / / |/| | | | | | | | | | Rough ravines gen | ||||
| * | | | | | | | | | RoughRavines: Made floor and ceiling settings-adjustable. | madmaxoft | 2014-07-27 | 3 | -20/+93 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The world.ini has settings for the minimum and maximum height for each at the ravines' center and edges. | ||||
| * | | | | | | | | | RoughRavines: Added per-height radius modifier. Ledges! | madmaxoft | 2014-07-27 | 1 | -32/+73 |
| | | | | | | | | | | |||||
| * | | | | | | | | | RoughRavines: More settings - size, width, roughness | madmaxoft | 2014-07-27 | 3 | -23/+84 |
| | | | | | | | | | | |||||
| * | | | | | | | | | RoughRavines: Initial generator implementation. | madmaxoft | 2014-07-27 | 4 | -3/+264 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This provides the basic shape of the ravines, with the basic settings based on GridStructGen, and good default values. | ||||
* | | | | | | | | | | DistortedHeightmap: Now generates gravel in deep ocean. | STRWarrior | 2014-07-28 | 1 | -1/+1 |
| | | | | | | | | | | |||||
* | | | | | | | | | | NetherClumpGenerator: Fixed generating stuff on halfslabs and fences | STRWarrior | 2014-07-27 | 1 | -1/+1 |
| | | | | | | | | | | |||||
* | | | | | | | | | | Updated NetherForts' weights. | madmaxoft | 2014-07-27 | 1 | -2/+2 |
| | | | | | | | | | | |||||
* | | | | | | | | | | Removed forgotten comment | STRWarrior | 2014-07-27 | 1 | -1/+1 |
| | | | | | | | | | | |||||
* | | | | | | | | | | Made nether ceiling smooth. | STRWarrior | 2014-07-27 | 1 | -1/+8 |
| | | | | | | | | | | |||||
* | | | | | | | | | | Added a ceiling to disguise the bedrock above it. | STRWarrior | 2014-07-27 | 1 | -1/+9 |
| | | | | | | | | | | |||||
* | | | | | | | | | | NetherClumpFoliage: Fixed assert | STRWarrior | 2014-07-27 | 1 | -8/+39 |
| | | | | | | | | | | |||||
* | | | | | | | | | | Updated NetherFort prefabs to latest Gallery content. | madmaxoft | 2014-07-27 | 1 | -37/+752 |
|/ / / / / / / / / | |||||
* | | | | | | | | | Tweaks to NetherClumpFoliage | STRWarrior | 2014-07-25 | 1 | -34/+6 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Simplefied the way NetherClupFoliage creates the X and Z coordinate. | ||||
* | | | | | | | | | Speed up the NetherClumpFoliage finisher. | STRWarrior | 2014-07-25 | 1 | -8/+9 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Using IntNoiseXX instead of CubicNoiseXX. | ||||
* | | | | | | | | | Removed redundant semicolons and re-added warning | archshift | 2014-07-24 | 1 | -1/+1 |
| | | | | | | | | | |||||
* | | | | | | | | | TallGrass: Less grass on mountains. | STRWarrior | 2014-07-23 | 1 | -0/+11 |
| | | | | | | | | | |||||
* | | | | | | | | | Fixed possible crash in the NetherClumpFoliage finisher. | STRWarrior | 2014-07-23 | 1 | -0/+5 |
| | | | | | | | | | |||||
* | | | | | | | | | Merge pull request #1234 from mc-server/GeneratorTweaks | archshift | 2014-07-22 | 1 | -13/+3 |
|\ \ \ \ \ \ \ \ \ | |_|_|_|_|_|_|_|/ |/| | | | | | | | | ExtremeHillsPlus and ExtremeHills spawn with grass only | ||||
| * | | | | | | | | Extreme Hills M variant only spawn with grass and stone | STRWarrior | 2014-07-22 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Removed gravel. | ||||
| * | | | | | | | | ExtremeHillsPlus and ExtremeHills spawn with grass only | STRWarrior | 2014-07-21 | 1 | -12/+2 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Turns out only the M variants have stone and gravel in them. | ||||
* | | | | | | | | | Updated prefabs to current Gallery content. | madmaxoft | 2014-07-22 | 3 | -226/+243 |
|/ / / / / / / / | |||||
* | | | | | | | | Merged branch 'origin/Foliage'. | madmaxoft | 2014-07-21 | 3 | -0/+100 |
|\ \ \ \ \ \ \ \ | |||||
| * | | | | | | | | Fixed a missing enter. | STRWarrior | 2014-07-21 | 1 | -0/+1 |
| | | | | | | | | | |||||
| * | | | | | | | | Removed y for-loop. | STRWarrior | 2014-07-21 | 1 | -27/+27 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Only the top block now gets long grass. | ||||
| * | | | | | | | | Fixed indentation | STRWarrior | 2014-07-21 | 1 | -12/+12 |
| | | | | | | | | | |||||
| * | | | | | | | | Changed CubicNoiseXX to IntNoiseXX | STRWarrior | 2014-07-20 | 2 | -40/+49 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Added some comments | ||||
| * | | | | | | | | Renamed cFinishGenFoliage to cFinishGenTallGrass | STRWarrior | 2014-07-20 | 3 | -17/+34 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Better grass density Added double tall grass. | ||||
| * | | | | | | | | Fixed warnings | STRWarrior | 2014-07-20 | 2 | -5/+4 |
| | | | | | | | | | |||||
| * | | | | | | | | First attempt for a new foliage finisher | STRWarrior | 2014-07-20 | 3 | -0/+74 |
| | | | | | | | | | |||||
* | | | | | | | | | Style: Normalized to no spaces before closing parenthesis. | madmaxoft | 2014-07-21 | 4 | -9/+9 |
| | | | | | | | | | |||||
* | | | | | | | | | Fixed style: spaces after commas. | madmaxoft | 2014-07-19 | 4 | -9/+9 |
| | | | | | | | | | |||||
* | | | | | | | | | Merge pull request #1214 from mc-server/anti-glob | Mattes D | 2014-07-19 | 2 | -12/+82 |
|\ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | CMake - Explicitly lists all source files | ||||
| * | | | | | | | | | Subdirs: Only add_library if not using MSVC | archshift | 2014-07-19 | 2 | -4/+8 |
| | | | | | | | | | | |||||
| * | | | | | | | | | Generating/Prefabs/CMakeLists.txt: Replaced glob with list of files | archshift | 2014-07-19 | 1 | -5/+22 |
| | | | | | | | | | | |||||
| * | | | | | | | | | Generating/CMakeLists.txt: Replaced glob with list of files | archshift | 2014-07-19 | 1 | -5/+54 |
| | |_|_|_|_|_|_|/ | |/| | | | | | | | |||||
* / | | | | | | | | Trees.cpp: removed unused "debug" fields | archshift | 2014-07-19 | 1 | -7/+1 |
|/ / / / / / / / | |||||
* | | | | | | | | Fixed spaces before commas. | madmaxoft | 2014-07-18 | 2 | -4/+4 |
| | | | | | | | | |||||
* | | | | | | | | Generator: removed rnd definitions that are never read | archshift | 2014-07-18 | 2 | -2/+0 |
| | | | | | | | | |||||
* | | | | | | | | Fixed code style in Trees.cpp. | madmaxoft | 2014-07-17 | 1 | -24/+24 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The src folder now has zero BasicStyle violations. | ||||
* | | | | | | | | Fixed tabs used for alignment. | madmaxoft | 2014-07-17 | 5 | -22/+22 |
| | | | | | | | | |||||
* | | | | | | | | Basic style fixes. | madmaxoft | 2014-07-17 | 11 | -25/+25 |
| | | | | | | | | |||||
* | | | | | | | | Normalized comments. | madmaxoft | 2014-07-17 | 31 | -258/+258 |
|/ / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This was mostly done automatically and then visually inspected for obvious errors. All //-style comments should have a 2-space separation from the code, and 1 space after the comment sign. | ||||
* | | | | | | | Added missing member initialization to cGridStructGen. | madmaxoft | 2014-07-15 | 1 | -0/+1 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes CID 68228. | ||||
* | | | | | | | Merge pull request #1172 from mc-server/coverity_fixes | Mattes D | 2014-07-13 | 2 | -3/+13 |
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | Coverity fixes | ||||
| * | | | | | | | 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 | ||||
| * | | | | | | | Check GridSize for 0 | worktycho | 2014-06-26 | 1 | -0/+10 |
| | |_|_|_|/ / | |/| | | | | | | | | | | | | Fixes CID 68226 and CID 66437 | ||||
* | | | | | | | Removed lilypad from plains village prefabs. | madmaxoft | 2014-07-10 | 1 | -7/+8 |
| | | | | | | | |||||
* | | | | | | | Updated generator prefabs to current Gallery contents. | madmaxoft | 2014-07-08 | 3 | -7/+8 |
| |_|_|_|_|/ |/| | | | | | |||||
* | | | | | | Prefabs don't draw into chunk if they don't intersect. | madmaxoft | 2014-06-23 | 1 | -0/+11 |
|/ / / / / | |||||
* | | | | | Added a TestRails generator. | madmaxoft | 2014-06-21 | 5 | -0/+667 |
| | | | | | | | | | | | | | | | | | | | | This is for debugging purposes only. | ||||
* | | | | | Fixed a caching bug in GridStructGen. | madmaxoft | 2014-06-21 | 1 | -2/+2 |
| | | | | | | | | | | | | | | | | | | | | The elements in cache were queried wrong, so sometimes they wouldn't be used even if they were the ones to use. | ||||
* | | | | | Updated prefabs to the latest Gallery content. | madmaxoft | 2014-06-21 | 4 | -2049/+2644 |
| | | | | | |||||
* | | | | | Updated all prefabs to current Gallery content. | madmaxoft | 2014-06-20 | 2 | -650/+824 |
| | | | | | |||||
* | | | | | Optimized Voronoi calculation. | madmaxoft | 2014-06-20 | 2 | -9/+19 |
| | | | | | | | | | | | | | | | | | | | | Fixes #818. | ||||
* | | | | | Nullify deleted pointers. | archshift | 2014-06-19 | 3 | -0/+6 |
| | | | | | |||||
* | | | | | Merge branch 'master' of github.com:mc-server/MCServer | Tycho | 2014-06-16 | 18 | -373/+508 |
| |_|_|/ |/| | | | |||||
* | | | | Roads in villages are made out of wooden planks if they generate on water. | STRWarrior | 2014-06-11 | 1 | -4/+17 |
| | | | | |||||
* | | | | Revert "Initial Mesa Bryce implementation." | madmaxoft | 2014-06-11 | 4 | -116/+4 |
| | | | | | | | | | | | | | | | | This reverts commit 1ff1a93866ab81e3868588a256f446a902a1a8c4. | ||||
* | | | | Initial Mesa Bryce implementation. | madmaxoft | 2014-06-10 | 4 | -4/+116 |
| |_|/ |/| | | |||||
* | | | Added an experimental height generator, Mountains. | madmaxoft | 2014-06-09 | 2 | -0/+87 |
| | | | |||||
* | | | docs/Generator: Added the easy Finishers. | madmaxoft | 2014-06-07 | 1 | -1/+13 |
| | | | |||||
* | | | Added RainbowRoads finisher generator. | madmaxoft | 2014-06-07 | 5 | -3/+1594 |
| |/ |/| | |||||
* | | Merge pull request #1052 from mc-server/UnderwaterBaseGen | Mattes D | 2014-06-02 | 5 | -0/+2489 |
|\ \ | | | | | | | Underwater base gen | ||||
| * | | Update UnderwaterBase prefabs. | madmaxoft | 2014-06-01 | 1 | -12/+378 |
| | | | | | | | | | | | | Added the waterfall room and the decaying sphere room. Re-tweaked the pieces' weights. | ||||
| * | | Updated UnderwaterBase prefabs. | madmaxoft | 2014-06-01 | 1 | -103/+123 |
| | | | |||||
| * | | Added an initial version of the underwater base generator. | madmaxoft | 2014-05-31 | 5 | -0/+2103 |
| | | | |||||
* | | | Updated AlchemistVillage prefabs. | madmaxoft | 2014-06-01 | 1 | -103/+105 |
|/ / | |||||
* | | Updated PlainsVillage prefabs. | madmaxoft | 2014-05-31 | 1 | -73/+85 |
| | | |||||
* | | Fixed a memory leak in VillagGen. | madmaxoft | 2014-05-31 | 1 | -0/+5 |
| | | |||||
* | | Updated PlainsVillage and AlchemistVillage. | madmaxoft | 2014-05-30 | 2 | -239/+1270 |
| | | |||||
* | | Fixed a memory leak in cPOCPieceGenerator | madmaxoft | 2014-05-29 | 1 | -0/+5 |
| | | |||||
* | | Merge remote-tracking branch 'origin/master' into VillageGen | madmaxoft | 2014-05-29 | 2 | -1/+34 |
|\| | |||||
| * | Fixed a memory leak in cPrefabPiecePool. | madmaxoft | 2014-05-28 | 2 | -1/+34 |
| | | | | | | | | The pool pieces weren't freed upon pool destruction. | ||||
* | | Merge branch 'master' into VillageGen | madmaxoft | 2014-05-27 | 2 | -1/+10 |
|\| | |||||
| * | Fixed Mineshaft system size. | Mattes D | 2014-05-23 | 1 | -1/+1 |
| | | |||||
| * | Auto-enlargement for cGridStructGen cache. | Mattes D | 2014-05-23 | 1 | -0/+9 |
| | | |||||
* | | Added AlchemistVillage prefabs (Thanks, KingsCraftAu). | madmaxoft | 2014-05-27 | 3 | -9/+3007 |
| | | |||||
* | | Fixed testing weights in PlainsVillages. | madmaxoft | 2014-05-27 | 1 | -3/+3 |
| | | |||||
* | | cPieceGenerator chooses starting pieces based on weights. | madmaxoft | 2014-05-27 | 4 | -1/+44 |
| | | | | | | | | Fixes #1033. | ||||
* | | Biome generators: biome lists can contain spaces. | madmaxoft | 2014-05-27 | 1 | -1/+1 |
| | | |||||
* | | Fixed prefab test initialization. | madmaxoft | 2014-05-26 | 1 | -0/+3 |
| | | |||||
* | | Added support for Miners' Village. | madmaxoft | 2014-05-25 | 10 | -2234/+4438 |
| | | | | | | | | | | The village contains both prefabs that snap to ground and prefabs that connect strictly via connectors. Fixes #1027. | ||||
* | | Added Japanese village prefabs. | madmaxoft | 2014-05-24 | 5 | -4/+2442 |
| | | |||||
* | | Updated plains village prefabs. | madmaxoft | 2014-05-22 | 1 | -186/+171 |
| | | | | | | | | Expanded the hitboxes so that houses don't touch each other. Fixed minor visual defects. | ||||
* | | Villages have min and max density setting. | madmaxoft | 2014-05-22 | 5 | -17/+110 |
| | | | | | | | | | | | | Also made roads use 3+9 scheme, instead of 3+5, for the house connectors. Fixes #1020. | ||||
* | | Updated plains village prefabs. | madmaxoft | 2014-05-22 | 1 | -44/+43 |
| | | | | | | | | The DoublePlantBed had sponges in wrong places, plus a few cosmetic fixes. | ||||
* | | Changed desert village roads to gravel. | madmaxoft | 2014-05-21 | 1 | -1/+1 |
| | | |||||
* | | Added second kind of desert village (FlatRoof). | madmaxoft | 2014-05-21 | 3 | -4/+1535 |
| | | |||||
* | | Merged branch 'master' into VillageGen. | madmaxoft | 2014-05-18 | 2 | -22/+40 |
|\| | |||||
| * | More switch warnings. | archshift | 2014-05-12 | 1 | -7/+27 |
| | | |||||
| * | Fixed a few more switch warnings. | archshift | 2014-05-12 | 1 | -15/+13 |
| | | |||||
* | | Updated SandVillage prefabs to latest Gallery content. | madmaxoft | 2014-05-18 | 1 | -12/+12 |
| | | | | | | | | This fixes sand village generation. | ||||
* | | Village roads are drawn properly. | madmaxoft | 2014-05-17 | 2 | -8/+35 |
| | | |||||
* | | Village houses are height-adjusted onto the terrain. | madmaxoft | 2014-05-17 | 5 | -7/+67 |
| | | |||||
* | | Updated PlainsVillage prefabs to the latest Gallery contents. | madmaxoft | 2014-05-17 | 1 | -2265/+2892 |
| | | |||||
* | | Fixed a NULL ptr failure in GridStructGen. | madmaxoft | 2014-05-15 | 2 | -9/+42 |
| | | | | | | | | When the descendant generator returned a NULL structure, the generator would crash. Now it uses a special cEmptyStructure class instead. | ||||
* | | Changed village generator defaults to more reasonable values. | madmaxoft | 2014-05-15 | 1 | -2/+2 |
| | | |||||
* | | Changed village road generation to use multiple prefabs. | madmaxoft | 2014-05-15 | 3 | -39/+38 |
| | | |||||
* | | VillageGen rewritten using BFSPieceGenerator. | madmaxoft | 2014-05-15 | 5 | -412/+406 |
| | | | | | | | | Piece composition is not good yet, the buildings aren't height-adjusted and the road pieces will need special processing. This is mainly for adjusting the per-piece params. | ||||
* | | cPrefab can be constructed in code. | madmaxoft | 2014-05-15 | 2 | -0/+51 |
| | | |||||
* | | VillageGen: Added well placement and the general algorithm description. | madmaxoft | 2014-05-12 | 3 | -6/+152 |
| | | |||||
* | | Initial VillageGen implementation. | madmaxoft | 2014-05-11 | 6 | -0/+5807 |
|/ | | | | | WIP, doesn't generate anything yet. Ref.: 740. | ||||
* | Removed unused constants from MineShafts and Ravines. | Mattes D | 2014-05-09 | 2 | -9/+0 |
| | |||||
* | Removed an unused NetherFortGen variable. | Mattes D | 2014-05-09 | 1 | -6/+0 |
| | |||||
* | Removed an unused macro. | Mattes D | 2014-05-09 | 1 | -7/+0 |
| | |||||
* | Ravines rewritten using cGridStructGen. | Mattes D | 2014-05-09 | 2 | -182/+40 |
| | | | | Ref.: #987. | ||||
* | cWormNestCaves rewritten using cGridStructGen. | Mattes D | 2014-05-09 | 2 | -223/+29 |
| | | | | Ref.: #987. | ||||
* | Mineshafts generator rewritten to use GridStructGen. | Mattes D | 2014-05-09 | 2 | -156/+33 |
| | |||||
* | Fixed cGridStructGen. | Mattes D | 2014-05-08 | 1 | -18/+6 |
| | | | | Now cNetherFortGen works with the new architecture. | ||||
* | Merge branch 'master' into GridStructGen | Mattes D | 2014-05-08 | 5 | -10/+22 |
|\ | |||||
| * | Fixed MSVC 64-bit build warnings. | Mattes D | 2014-05-08 | 5 | -10/+22 |
| | | |||||
* | | cNetherFortGen uses cGridStructGen. | madmaxoft | 2014-05-07 | 5 | -264/+42 |
| | | | | | | | | WIP, this doesn't work properly yet. | ||||
* | | Initial cPrefabPiecePool refactoring. | madmaxoft | 2014-05-07 | 2 | -0/+196 |
| | | | | | | | | Ref.: #986. | ||||
* | | Initial cGridStructGen refactoring. | madmaxoft | 2014-05-06 | 2 | -0/+262 |
|/ | | | | Ref.: #987. | ||||
* | Changed cPieceGenerator to support pairings. | madmaxoft | 2014-05-05 | 3 | -57/+104 |
| | | | | Fixes #982. | ||||
* | Prefabs can specify that they don't want flooring. | madmaxoft | 2014-05-05 | 1 | -30/+33 |
| | | | | Previously the flag was ignored. | ||||
* | Removed unneeded assert | Tycho | 2014-04-27 | 1 | -1/+1 |
| | | | | Fixed CID 43610 | ||||
* | Cmake generated projects for IDEs include headers in project files. | archshift | 2014-04-25 | 2 | -0/+2 |
| | |||||
* | Updated NetherFort prefabs to latest Gallery content. | madmaxoft | 2014-04-23 | 1 | -7/+29 |
| | |||||
* | Updated NetherFort prefabs from the Gallery server. | madmaxoft | 2014-04-22 | 1 | -274/+785 |
| | |||||
* | Merge pull request #909 from jfhumann/fixes | Mattes D | 2014-04-22 | 2 | -23/+28 |
|\ | | | | | | | | | Bug fixes and optimizations. We need to visit the API functions and check that they return only those values expected. `cWorld::CreateProjectile()` seems affected, too, by the same issue of ToLua returning extra values. In the cleanest form, these functions will need moving to ManualBindings.cpp | ||||
| * | Small style changes | jfhumann | 2014-04-18 | 1 | -1/+1 |
| | | |||||
| * | Merge remote-tracking branch 'origin/master' into fixes | jfhumann | 2014-04-18 | 7 | -63/+891 |
| |\ | | | | | | | | | | | | | | | | | | | | | | Conflicts: src/Authenticator.cpp src/ClientHandle.cpp src/Entities/Minecart.cpp src/Protocol/Protocol17x.cpp | ||||
| * | | Did some static analysis, fixed some bugs and optimized a lot of code | jfhumann | 2014-04-18 | 3 | -24/+29 |
| | | | |||||
* | | | Added prefab hitboxes. | madmaxoft | 2014-04-21 | 3 | -11/+138 |
| |/ |/| | | | | | The nether forts should quite limit their bridge-to-floor overlaps. Cannot eliminate, but at least severely diminish. | ||||
* | | Added performance test of the nether fort generator. | madmaxoft | 2014-04-18 | 2 | -0/+35 |
| | | |||||
* | | Added area flooring. | madmaxoft | 2014-04-17 | 1 | -1/+42 |
| | | | | | | | | Fixes #743. | ||||
* | | Added Prefab initializers to SELFTEST code. | madmaxoft | 2014-04-17 | 1 | -1/+13 |
| | | |||||
* | | Prefabs can have per-piece per-placement weights. | madmaxoft | 2014-04-17 | 5 | -32/+752 |
| | | | | | | | | | | Fixes #753. Also upgraded NetherFortPrefabs to lates Gallery contents. | ||||
* | | Added support for per-piece per-placement weights in cPieceGenerator. | madmaxoft | 2014-04-15 | 2 | -28/+48 |
| | | | | | | | | Ref.: #753. | ||||
* | | NetherFortPrefabs: Fixed a connector in MidStaircase. | madmaxoft | 2014-04-15 | 1 | -1/+1 |
|/ | |||||
* | Updated the NetherFort prefabs to current Gallery contents. | madmaxoft | 2014-04-12 | 3 | -1958/+3329 |
| | | | | Code exported from the Gallery server by the GalExport plugin. | ||||
* | Added all current NetherFort prefabs. | madmaxoft | 2014-03-30 | 1 | -3/+1547 |
| | |||||
* | Added asserts for critical data in cPrefab. | madmaxoft | 2014-03-30 | 1 | -0/+4 |
| | |||||
* | Re-fixed nether fort piece count check. | madmaxoft | 2014-03-30 | 1 | -2/+2 |
| | |||||
* | NetherForts have a minimum number of pieces. | madmaxoft | 2014-03-30 | 1 | -2/+5 |
| | | | | The fort will generate a different image if it has less than the minimum; the max depth affects the minimum number of pieces. | ||||
* | Merge branch 'master' into NetherFortGen | madmaxoft | 2014-03-29 | 2 | -10/+102 |
|\ | |||||
| * | cPrefab now uses a struct for block type definition in CharMap. | madmaxoft | 2014-03-29 | 2 | -10/+102 |
| | | | | | | | | | | As suggested by worktycho in 7b585290fccd3dc074b1f9feef0af754ab3dd632, instead of packing the two values into a single int, they're packed into a struct. Also added a test code for the prefab parsing in SELF_TEST. | ||||
* | | NetherFortGen: Added several more prefabs. | madmaxoft | 2014-03-28 | 2 | -2/+783 |
| | | | | | | | | Also extended the defauls MaxDepth value to 12. | ||||
* | | Implemented the msSpongePrint merge strategy. | madmaxoft | 2014-03-28 | 1 | -3/+3 |
| | | | | | | | | Similar to msImprint, but allows prefabs to carve out air pockets, too. The sponge block is used as the NOP block. | ||||
* | | NetherFort: Added BalconyTee2 prefab. | madmaxoft | 2014-03-28 | 1 | -29/+158 |
| | | |||||
* | | Fixed a memory leak in NetherFortGen. | madmaxoft | 2014-03-28 | 1 | -0/+7 |
| | | |||||
* | | Sponged the netherfort balcony prefab. | madmaxoft | 2014-03-28 | 1 | -30/+31 |
| | | | | | | | | This is a preparation for the msSpongePrint merge strategy, used for imprinting most prefabs. It will carve out even air, but will ignore sponge blocks. | ||||
* | | Initial NetherFortGen import. | madmaxoft | 2014-03-28 | 7 | -2/+699 |
|/ | | | | Simple fortresses of 2 different rooms will generate. | ||||
* | Merge branch 'howaner/GlobalFixes'. | madmaxoft | 2014-03-28 | 1 | -1/+0 |
|\ | |||||
| * | Add missing ChunkDesc import. | Howaner | 2014-03-28 | 1 | -1/+1 |
| | | |||||
* | | Fixed Prefab's rotations. | madmaxoft | 2014-03-28 | 2 | -7/+39 |
|/ | |||||
* | cPrefab can draw itself into a cChunkDesc. | madmaxoft | 2014-03-27 | 2 | -6/+9 |
| | |||||
* | Prefabs support connectors, rotations and merge strategy. | madmaxoft | 2014-03-26 | 2 | -3/+72 |
| | |||||
* | Added a basic cPrefab class. | madmaxoft | 2014-03-25 | 2 | -0/+222 |
| | | | | Can be defined in the source by GalExport's cpp output. | ||||
* | BlockArea: Switched internal coords to Vector3i. | madmaxoft | 2014-03-25 | 1 | -3/+3 |
| | |||||
* | Implemented faster upscaling using templates. | madmaxoft | 2014-03-21 | 5 | -14/+14 |
| | | | | Fixes #819. | ||||
* | Fixed xofts issues | Tycho | 2014-03-14 | 1 | -2/+2 |
| | |||||
* | Added additional macros to support the MSVC size_t format and changed all formats to use the macros | Tycho | 2014-03-12 | 1 | -1/+1 |
| | |||||
* | Merge branch 'Werror' into warnings | Tycho | 2014-03-12 | 1 | -7/+6 |
|\ | | | | | | | | | Conflicts: src/Globals.h | ||||
| * | Fixed printf format compatabilty | Tycho | 2014-03-12 | 1 | -5/+4 |
| | | |||||
| * | Merge branch 'master' into Werror | Tycho | 2014-03-12 | 1 | -2/+2 |
| |\ | | | | | | | | | | | | | Conflicts: src/Generating/PieceGenerator.cpp | ||||
| | * | Fixed missing comment terminator. | madmaxoft | 2014-03-12 | 1 | -1/+1 |
| | | | |||||
* | | | Fixed a load of format string errors | Tycho | 2014-03-11 | 1 | -2/+2 |
|/ / | |||||
* / | Fixed Warnings in PieceGenerator | Tycho | 2014-03-11 | 2 | -9/+9 |
|/ | |||||
* | Removed debugging output. | madmaxoft | 2014-03-10 | 1 | -1/+3 |
| | | | | Kept it commented-out for later revisions, if needed. | ||||
* | POCPieces: Added height. | madmaxoft | 2014-03-10 | 1 | -17/+20 |
| | | | | Now the pieces connect in different heights, too, creating a true 3D maze. | ||||
* | A working POCPiece generator. | madmaxoft | 2014-03-09 | 5 | -6/+359 |
| | |||||
* | cPieceGenerator: New connectors are added to the free pool. | madmaxoft | 2014-03-09 | 2 | -9/+30 |
| | |||||
* | PieceGenerator can connect two connectors of the same type. | madmaxoft | 2014-03-09 | 2 | -60/+338 |
| | | | | Also added extensive debugging output and a test. | ||||
* | Added the first skeleton code for PieceGenerator. | madmaxoft | 2014-03-09 | 2 | -0/+545 |
| | | | | This is a WIP and won't work / isn't used at all. | ||||
* | Warnings | Tycho | 2014-03-07 | 2 | -1/+3 |
| | |||||
* | Merge pull request #738 from xdot/master | Mattes D | 2014-03-02 | 1 | -3/+3 |
|\ | | | | | Refactored global block property arrays | ||||
| * | g_BlockXXX => cBlockInfo::XXX | andrew | 2014-03-01 | 1 | -3/+3 |
| | | |||||
* | | ChunkDesc warns about StructureGen's deprecation. | madmaxoft | 2014-03-01 | 1 | -0/+2 |
| | | |||||
* | | Unified StructureGens and FinisherGens. | madmaxoft | 2014-03-01 | 10 | -163/+128 |
|/ | | | | Now they are all Finishers. Fixes #398. | ||||
* | Merge pull request #669 from xdot/master | Tiger Wang | 2014-02-24 | 1 | -9/+0 |
|\ | | | | | Implementation of in-game maps :D | ||||
| * | Thread safe cMap manager | andrew | 2014-02-20 | 1 | -9/+0 |
| | | |||||
* | | Add BlockNewLeaves.h and rename Darkoac to Darkoak | Howaner | 2014-02-19 | 2 | -3/+3 |
| | | |||||
* | | Add new Trees (without Generator) | Howaner | 2014-02-19 | 2 | -0/+24 |
|/ | |||||
* | Fixed compile and some warnings in MSVS | Tiger Wang | 2014-02-09 | 1 | -9/+0 |
| | |||||
* | Fogot to save Biogen | Tycho | 2014-02-03 | 1 | -4/+4 |
| | |||||
* | Fixed Compile errors | Tycho | 2014-02-03 | 1 | -1/+1 |
| | | | | c++11 introduces scoped enums, so the code didn't fail in clang | ||||
* | Increased Type safety of Biomes | Tycho | 2014-02-03 | 3 | -8/+8 |
| | | | | | 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 | ||||
* | Merge branch 'master' into GeneratingBenchmark2 | Tycho | 2014-02-01 | 2 | -17/+48 |
|\ | | | | | | | | | Conflicts: src/World.h | ||||
| * | Added cChunkDest::UpdateHeightmap() | madmaxoft | 2014-01-31 | 2 | -17/+48 |
| | | | | | | | | This function is necessary for plugins manipulating the generated chunks, they need to update the heightmap before it is passed back to the generator. | ||||
* | | Merge branch 'master' into GeneratingBenchmark2 | Tycho | 2014-01-26 | 1 | -1/+8 |
|\| | | | | | | | | | | | Conflicts: src/Blocks/BlockRail.h src/World.h | ||||
| * | Merge pull request #575 from worktycho/GeneratingBenchmark | Mattes D | 2014-01-25 | 1 | -0/+2 |
| |\ | | | | | | | More Interfaces to decouple Generator from the rest of the code | ||||
| * | | Mob bugfixes | Tiger Wang | 2014-01-25 | 1 | -0/+2 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Mobs no longer require constant line-of-sight to a player to remain aggravated * Fixed an ASSERT * Fixed mobs jumping * Fixed Idle state not properly using AI + Added FILE_IO_PREFIX to favicon loading + Implemented #563 | ||||
| * | | Fixed a generator bug | Tiger Wang | 2014-01-25 | 1 | -1/+6 |
| | | | |||||
* | | | dded dependecy on Blocks to Generator | Tycho | 2014-01-25 | 1 | -1/+1 |
| |/ |/| | |||||
* | | Merge branch 'master' into GeneratingBenchmark | Tycho | 2014-01-20 | 3 | -3/+150 |
|\| | | | | | | | this merge is necessary, | ||||
| * | Alpha-sorted the finishers. | madmaxoft | 2014-01-18 | 1 | -4/+4 |
| | | |||||
| * | Merged branch 'NetherFinish'. | madmaxoft | 2014-01-18 | 3 | -3/+150 |
| |\ | |||||
| | * | Fixed errors. | STRWarrior | 2014-01-18 | 2 | -2/+2 |
| | | | |||||
| | * | Renamed cFinishGenNetherSprinkleFoliage to cFinishGenNetherClumpFoliage. Fixed typo's | STRWarrior | 2014-01-18 | 3 | -10/+10 |
| | | | |||||
| | * | Some tweaks. | STRWarrior | 2014-01-18 | 1 | -5/+18 |
| | | | | | | | | | | | | | | | Everything generates more often. Fire can only spawn on ForeverBurning blocks. | ||||
| | * | Fixed bug where only brown mushrooms would spawn. | STRWarrior | 2014-01-18 | 1 | -3/+3 |
| | | | |||||
| | * | It now actualy works. | STRWarrior | 2014-01-18 | 1 | -20/+42 |
| | | | |||||
| | * | First attempt at creating a clumb version NetherFinisher. | STRWarrior | 2014-01-17 | 2 | -22/+63 |
| | | | |||||
| | * | Added cFinishGenNetherSprinkleFoliage. | STRWarrior | 2014-01-10 | 3 | -2/+73 |
| | | | |||||
* | | | Added Inifile and OSSupport Linking | Tycho | 2014-01-19 | 1 | -0/+2 |
|/ / | |||||
* | | Decoupled cChunkGenerator from cWorld and cRoot. | madmaxoft | 2014-01-10 | 8 | -49/+87 |
| | | | | | | | | Now the chunk generator can be used by other projects without depending on the two hugest structures in MCS. | ||||
* | | Fixed generator adding values to ini file. | madmaxoft | 2014-01-10 | 2 | -1/+3 |
| | | |||||
* | | Merge pull request #520 from mc-server/SoulSand | Mattes D | 2014-01-10 | 2 | -1/+17 |
|\| | | | | | NetherGen: Now generates SoulSand. | ||||
| * | Fixed recurring pattern. | STRWarrior | 2014-01-10 | 1 | -1/+1 |
| | | |||||
| * | Fixed chunk borders. | STRWarrior | 2014-01-09 | 1 | -3/+3 |
| | | |||||
| * | Speed-up. I got about 40 extra ch/s | STRWarrior | 2014-01-08 | 1 | -9/+14 |
| | | |||||
| * | WormNestCaves now remove soul sand. | STRWarrior | 2014-01-08 | 1 | -0/+1 |
| | | |||||
| * | NetherGen: Now generates SoulSand. | STRWarrior | 2014-01-08 | 1 | -1/+11 |
| | | |||||
* | | Composition generator creating moved to a separate function. | madmaxoft | 2014-01-09 | 2 | -61/+83 |
| | | | | | | | | Also it forces the defaults into the INI file. | ||||
* | | Height generator creating moved info HeiGen.cpp. | madmaxoft | 2014-01-09 | 3 | -54/+82 |
|/ | | | | The generator also explicitly sets the default back into the INI file. | ||||
* | More MSVC warning fixes. | madmaxoft | 2014-01-07 | 1 | -1/+1 |
| | |||||
* | Fixed a few MSVC warnings. | madmaxoft | 2014-01-07 | 3 | -6/+7 |
| | |||||
* | Added function to create Tall Birch tree in BirchTreeForest biomes | Mike Hunsinger | 2013-12-29 | 2 | -3/+49 |
| | |||||
* | Simplefied Extreme Hills M pattern select. | STRWarrior | 2013-12-26 | 1 | -11/+3 |
| | |||||
* | Extreme Hills M biomes now generate gravel, stone and grass patterns. | STRWarrior | 2013-12-25 | 1 | -2/+10 |
| | |||||
* | Changed tbGravel. Vanilla has 3 layers of gravel and then stone. | STRWarrior | 2013-12-25 | 1 | -3/+3 |
| | |||||
* | Normal extreme hills (plus) now generate a stone/grass pattern. | STRWarrior | 2013-12-25 | 1 | -2/+20 |
| | |||||
* | Re-added empty line. | STRWarrior | 2013-12-25 | 1 | -0/+1 |
| | |||||
* | This generates gravel in Extreme Hills M biomes. | STRWarrior | 2013-12-25 | 2 | -3/+20 |
| | |||||
* | Merge branch 'master' into cmake | Tycho Bickerstaff | 2013-12-20 | 9 | -19/+23 |
|\ | |||||
| * | Fixed compiler warning when iterating over a fixed array of items (ARRAYCOUNT). | madmaxoft | 2013-12-20 | 9 | -19/+23 |
| | | |||||
* | | moved generating to globs | Tycho Bickerstaff | 2013-12-11 | 1 | -1/+5 |
| | | |||||
* | | more cmake | Tycho Bickerstaff | 2013-12-10 | 1 | -0/+7 |
|/ | |||||
* | moved deafult action into deafult clause at src/Generating/DistortedHeightmap.cpp line 741 | Tycho Bickerstaff | 2013-12-08 | 1 | -2/+4 |
| | |||||
* | reordered initalisation order at src/Generating/Cave.h line 73 | Tycho Bickerstaff | 2013-12-08 | 1 | -2/+2 |
| | |||||
* | fixed warnings in src/Generating/BioGen.cpp | Tycho Bickerstaff | 2013-12-08 | 1 | -1/+1 |
| | | | | | | removed unused variable at src/Generating/BioGen.cpp line 379 and added default fallthrough clause to switch at src/Generating/BioGen.cpp line 725 | ||||
* | Moved bindings-related to a Bindings subfolder. | madmaxoft | 2013-12-08 | 1 | -1/+1 |
| | | | | Ref.: #407 | ||||
* | Added floor pattern for MegaTaiga biomes. | madmaxoft | 2013-11-30 | 1 | -1/+10 |
| | |||||
* | Implemented mesa biomes in DistortedHeightmap CompoGen. | madmaxoft | 2013-11-29 | 3 | -21/+106 |
| | |||||
* | Fixed CheckerboardBiomeGen in negative coords. | madmaxoft | 2013-11-29 | 1 | -2/+3 |
| | |||||
* | DistortedHeightmap: Improved speed, prepared for mesa biomes. | madmaxoft | 2013-11-29 | 2 | -157/+424 |
| | | | | This generates the rainbow-mesa as seen on the first mesa screenshot in the forum. | ||||
* | Trees will generate in the new biomes. | madmaxoft | 2013-11-28 | 2 | -14/+101 |
| | | | | Only the generic trees, the special variants haven't yet been implemented. | ||||
* | Added new biomes to old composition generator. | madmaxoft | 2013-11-28 | 3 | -0/+141 |
| | | | | Mostly placeholders only, true per-biome characteristics still need to be implemented. This is only to test the new biome generators. | ||||
* | Added new biomes to old height generators. | madmaxoft | 2013-11-28 | 4 | -39/+179 |
| | | | | Now Biomal and DistortedHeight generators will work with new biomes. | ||||
* | Moved BiomeGen creation from INI file data to BioGen.cpp. | madmaxoft | 2013-11-28 | 3 | -48/+74 |
| | | | | This way it can be shared between MCServer and BiomeVisualiser. | ||||
* | BiomeVisualiser: Added the TwoLevel biome generator. | madmaxoft | 2013-11-28 | 2 | -0/+229 |
| | |||||
* | Voronoi-related biomegens use the new cVoronoiMap class. | madmaxoft | 2013-11-27 | 2 | -53/+28 |
| | |||||
* | Fixed the remaining derps | Alexander Harkness | 2013-11-27 | 8 | -8/+8 |
| | |||||
* | Hopefully fixed last of the Linux compile errors | Tiger Wang | 2013-11-26 | 2 | -2/+2 |
| | |||||
* | Further attempts to fix compile | Tiger Wang | 2013-11-25 | 8 | -8/+8 |
| | |||||
* | Attempt to fix compilation | Tiger Wang | 2013-11-24 | 8 | -8/+8 |
| | |||||
* | Merge remote-tracking branch 'origin/master' into foldermove2 | Alexander Harkness | 2013-11-24 | 7 | -196/+190 |
| | | | | | Conflicts: GNUmakefile | ||||
* | Moved source to src | Alexander Harkness | 2013-11-24 | 30 | -0/+11358 |