summaryrefslogtreecommitdiffstats
path: root/src/Generating/BioGen.cpp (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Miscellaneous fixes (#5320)Tiger Wang2021-11-111-1/+2
| | | | | | | | | | | | | | | | | | | | | | | * Protocol: update Abilities flags + Add Spectator handling * BioGen: move <iostream> include * ClientHandle: rename Respawn packet dimension check flag * Make it clearer what it's doing. * ClientHandle: move ProcessProtocolIn calls to World * Player: remove some redundant initialisation * Player: UpdateCapabilities enables flight for spectators * Produce growth: improve comments * ClientHandle: run unload checks using delta time * Fix forgotten initialisation of time member
* shared_ptr -> unique_ptr in generatorsTiger Wang2021-03-181-23/+20
|
* Some emplace_back replacements (#5149)12xx122021-03-071-1/+1
| | | * replace push_back with emplace_back when a new object was created in the function call
* Enable some more clang-tidy linter checks (#4738)peterbell102020-05-151-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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
* Using Super.Mattes D2020-04-161-4/+4
|
* BiomeGen: Changed to use cChunkCoords params.Mattes D2019-09-081-59/+42
|
* Moved the generator defaults to ComposableGenerator.Mattes D2019-09-061-22/+17
|
* CheckBasicStyle: Check number of empty lines between functions (#4267)peterbell102018-07-261-0/+1
| | | | Add check for number of empty lines between functions and fix the corresponding failures
* Remove double includes part 2 (#3890)peterbell102017-08-031-1/+0
|
* Reduced unnecessary block updatesLogicParrot2016-04-221-2/+2
|
* Fixed misuse of comma.Lukas Pioch2016-03-181-1/+1
|
* Bulk clearing of whitespaceLogicParrot2016-02-051-26/+26
|
* Switched from using std::max(std::min()) to using ClampSamuel Barney2015-07-131-2/+2
|
* Fixed misplaced parensSamuel Barney2015-07-091-2/+2
|
* Fixes compilation failures on MacOSX 10.10Samuel Barney2015-07-091-42/+42
| | | | | * 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 D2015-07-071-2/+2
|
* Fix commentstycho2015-05-241-2/+2
|
* Fixed a lot of warningstycho2015-05-191-16/+16
|
* Merge pull request #1786 from mc-server/pipelineSyntaxworktycho2015-03-211-18/+18
|\ | | | | Added pipelining syntax for generators
| * Changed pipeline character from >> to |tycho2015-03-111-14/+14
| |
| * Fixed Sequence Generator for IntGenTycho2015-03-101-3/+3
| |
| * Fixed StyleTycho2015-03-011-1/+1
| | | | | | | | Still fails CheckBasicStyle.lua dua to issue with rvalue references and templates
| * Added pipelining syntax for generatorsTycho2015-03-011-15/+15
| |
* | Added Steppy height generator.Mattes D2015-03-011-1/+1
|/
* Replaced atoi() with StringToInteger().Mattes D2015-01-271-2/+1
|
* Fixed defect #73101 in Coverity list.Kirill Kirilenko2015-01-231-1/+13
|
* Fixed a missing endline.Mattes D2014-11-031-1/+5
|
* Added a (disabled) perf test for biome generators.Mattes D2014-11-031-0/+46
|
* Grown biomes: Unified with GrownProt biomes.Mattes D2014-11-021-43/+61
| | | | Also fixed a Zoom filter randomness.
* GrownProt: Added the rest of rare and M biomes.Mattes D2014-11-011-1/+10
|
* GrownProt biome gen: Added biome edges.Mattes D2014-11-011-2/+3
|
* GrownProt biomes: added alterations.Mattes D2014-10-311-26/+30
|
* QtBiomeVisualiser: Added a prototyping int generator flavor.Mattes D2014-10-301-13/+111
| | | | 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 D2014-10-291-11/+8
|
* Removed too advanced C++11 features.Mattes D2014-10-271-1/+1
| | | | We need to keep gcc 4.6 compatibility; these features were not implemented in that version yet.
* BioGenGrown: Smaller biomes, add land to map center.Mattes D2014-10-261-4/+2
|
* Added new biomegen: GrownMattes D2014-10-261-0/+93
|
* Merged IniFile into main MCS sources.Mattes D2014-10-231-1/+1
|
* En masse NULL -> nullptr replaceTiger Wang2014-10-231-3/+3
|
* TwoLevel BioGen: fixed swapped inside and outside biomes.Mattes D2014-10-191-1/+1
|
* Generator: Rewritten to use SharedPtrs.Mattes D2014-10-191-24/+11
|
* BioGen: Fixed a compiler warning.Mattes D2014-10-161-2/+2
|
* BioGen: TwoLevel is now fully settable in INI.madmaxoft2014-09-271-38/+22
|
* TwoLevel BioGen: reads params from INI file.madmaxoft2014-09-251-9/+26
|
* Voronoi biomegen: Added JitterSize and OddRowOffset.madmaxoft2014-09-171-71/+77
|
* Fixed style.Mattes D2014-09-051-2/+2
|
* change to linear calculationDayBr3ak2014-09-031-7/+6
|
* adapting formatDayBr3ak2014-09-031-3/+4
|
* forgot this oneDayBr3ak2014-09-021-1/+1
|
* opting for size_tDayBr3ak2014-09-021-3/+3
|
* fixing memory leakDayBr3ak2014-09-021-4/+5
|
* changing implem, using vectorsDayBr3ak2014-09-021-78/+15
|
* adding the multicache behaviorDayBr3ak2014-09-021-0/+115
|
* Merge branch 'master' into portalsTiger Wang2014-07-181-9/+9
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
| * Normalized comments.madmaxoft2014-07-171-9/+9
| | | | | | | | | | 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.
* | Merge branch 'master' into portalsTiger Wang2014-06-211-8/+15
|\| | | | | | | | | | | | | Conflicts: src/Chunk.cpp src/Entities/Entity.h src/Entities/Player.h
| * Optimized Voronoi calculation.madmaxoft2014-06-201-8/+13
| | | | | | | | Fixes #818.
| * Nullify deleted pointers.archshift2014-06-191-0/+2
| |
* | Merge remote-tracking branch 'origin/master' into portalsTiger Wang2014-06-041-1/+1
|\|
| * Biome generators: biome lists can contain spaces.madmaxoft2014-05-271-1/+1
| |
* | Implemented end and nether portalsTiger Wang2014-05-311-1/+1
|/
* Implemented faster upscaling using templates.madmaxoft2014-03-211-8/+8
| | | | Fixes #819.
* Fogot to save BiogenTycho2014-02-031-4/+4
|
* Fixed Compile errorsTycho2014-02-031-1/+1
| | | | c++11 introduces scoped enums, so the code didn't fail in clang
* Increased Type safety of BiomesTycho2014-02-031-5/+5
| | | | | 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
* Fixed compiler warning when iterating over a fixed array of items (ARRAYCOUNT).madmaxoft2013-12-201-3/+3
|
* fixed warnings in src/Generating/BioGen.cppTycho Bickerstaff2013-12-081-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
* Fixed CheckerboardBiomeGen in negative coords.madmaxoft2013-11-291-2/+3
|
* Moved BiomeGen creation from INI file data to BioGen.cpp.madmaxoft2013-11-281-0/+66
| | | | This way it can be shared between MCServer and BiomeVisualiser.
* BiomeVisualiser: Added the TwoLevel biome generator.madmaxoft2013-11-281-0/+191
|
* Voronoi-related biomegens use the new cVoronoiMap class.madmaxoft2013-11-271-46/+10
|
* Fixed the remaining derpsAlexander Harkness2013-11-271-1/+1
|
* Further attempts to fix compileTiger Wang2013-11-251-1/+1
|
* Attempt to fix compilationTiger Wang2013-11-241-1/+1
|
* Moved source to srcAlexander Harkness2013-11-241-0/+707