summaryrefslogtreecommitdiffstats
path: root/src/Generating (unfollow)
Commit message (Collapse)AuthorFilesLines
2014-07-15Added missing member initialization to cGridStructGen.madmaxoft1-0/+1
Fixes CID 68228.
2014-07-13CopyPaste Errorworktycho1-1/+1
Fixes CID 70460.
2014-07-13Another COpyPaste Errorworktycho1-1/+1
Fixes CID 70461
2014-07-13Fix CopyPaste error that ment a_MaxRelX wasdn't checkedworktycho1-1/+1
Fixes CID 70464
2014-07-10Removed lilypad from plains village prefabs.madmaxoft1-7/+8
2014-07-08Updated generator prefabs to current Gallery contents.madmaxoft3-7/+8
2014-06-26Check GridSize for 0worktycho1-0/+10
Fixes CID 68226 and CID 66437
2014-06-23Prefabs don't draw into chunk if they don't intersect.madmaxoft1-0/+11
2014-06-21Added a TestRails generator.madmaxoft5-0/+667
This is for debugging purposes only.
2014-06-21Fixed a caching bug in GridStructGen.madmaxoft1-2/+2
The elements in cache were queried wrong, so sometimes they wouldn't be used even if they were the ones to use.
2014-06-21Updated prefabs to the latest Gallery content.madmaxoft4-2049/+2644
2014-06-20Updated all prefabs to current Gallery content.madmaxoft2-650/+824
2014-06-20Optimized Voronoi calculation.madmaxoft2-9/+19
Fixes #818.
2014-06-19Nullify deleted pointers.archshift3-0/+6
2014-06-16Merge branch 'master' of github.com:mc-server/MCServerTycho18-373/+508
2014-06-16Fixed a copypasta error in WormNestCaves generator settings.madmaxoft1-1/+1
2014-06-16Updated the SandFlatRoofVillage prefabs.madmaxoft1-288/+381
2014-06-15Added random offsets to cGridStructGen.madmaxoft17-85/+127
Fixes #740.
2014-06-11Roads in villages are made out of wooden planks if they generate on water.STRWarrior1-4/+17
2014-06-11Revert "Initial Mesa Bryce implementation."madmaxoft4-116/+4
This reverts commit 1ff1a93866ab81e3868588a256f446a902a1a8c4.
2014-06-10Initial Mesa Bryce implementation.madmaxoft4-4/+116
2014-06-09Added an experimental height generator, Mountains.madmaxoft2-0/+87
2014-06-07docs/Generator: Added the easy Finishers.madmaxoft1-1/+13
2014-06-07Added RainbowRoads finisher generator.madmaxoft5-3/+1594
2014-06-01Update UnderwaterBase prefabs.madmaxoft1-12/+378
Added the waterfall room and the decaying sphere room. Re-tweaked the pieces' weights.
2014-06-01Updated UnderwaterBase prefabs.madmaxoft1-103/+123
2014-06-01Updated AlchemistVillage prefabs.madmaxoft1-103/+105
2014-05-31Added an initial version of the underwater base generator.madmaxoft5-0/+2103
2014-05-31Updated PlainsVillage prefabs.madmaxoft1-73/+85
2014-05-31Fixed a memory leak in VillagGen.madmaxoft1-0/+5
2014-05-30Updated PlainsVillage and AlchemistVillage.madmaxoft2-239/+1270
2014-05-29Fixed a memory leak in cPOCPieceGeneratormadmaxoft1-0/+5
2014-05-28Fixed a memory leak in cPrefabPiecePool.madmaxoft2-1/+34
The pool pieces weren't freed upon pool destruction.
2014-05-27Added AlchemistVillage prefabs (Thanks, KingsCraftAu).madmaxoft3-9/+3007
2014-05-27Fixed testing weights in PlainsVillages.madmaxoft1-3/+3
2014-05-27cPieceGenerator chooses starting pieces based on weights.madmaxoft4-1/+44
Fixes #1033.
2014-05-27Biome generators: biome lists can contain spaces.madmaxoft1-1/+1
2014-05-26Fixed prefab test initialization.madmaxoft1-0/+3
2014-05-25Added support for Miners' Village.madmaxoft10-2234/+4438
The village contains both prefabs that snap to ground and prefabs that connect strictly via connectors. Fixes #1027.
2014-05-24Added Japanese village prefabs.madmaxoft5-4/+2442
2014-05-23Fixed Mineshaft system size.Mattes D1-1/+1
2014-05-23Auto-enlargement for cGridStructGen cache.Mattes D1-0/+9
2014-05-22Updated plains village prefabs.madmaxoft1-186/+171
Expanded the hitboxes so that houses don't touch each other. Fixed minor visual defects.
2014-05-22Villages have min and max density setting.madmaxoft5-17/+110
Also made roads use 3+9 scheme, instead of 3+5, for the house connectors. Fixes #1020.
2014-05-22Updated plains village prefabs.madmaxoft1-44/+43
The DoublePlantBed had sponges in wrong places, plus a few cosmetic fixes.
2014-05-21Changed desert village roads to gravel.madmaxoft1-1/+1
2014-05-21Added second kind of desert village (FlatRoof).madmaxoft3-4/+1535
2014-05-18Updated SandVillage prefabs to latest Gallery content.madmaxoft1-12/+12
This fixes sand village generation.
2014-05-17Village roads are drawn properly.madmaxoft2-8/+35
2014-05-17Village houses are height-adjusted onto the terrain.madmaxoft5-7/+67
2014-05-17Updated PlainsVillage prefabs to the latest Gallery contents.madmaxoft1-2265/+2892
2014-05-15Fixed a NULL ptr failure in GridStructGen.madmaxoft2-9/+42
When the descendant generator returned a NULL structure, the generator would crash. Now it uses a special cEmptyStructure class instead.
2014-05-15Changed village generator defaults to more reasonable values.madmaxoft1-2/+2
2014-05-15Changed village road generation to use multiple prefabs.madmaxoft3-39/+38
2014-05-15VillageGen rewritten using BFSPieceGenerator.madmaxoft5-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.
2014-05-15cPrefab can be constructed in code.madmaxoft2-0/+51
2014-05-12VillageGen: Added well placement and the general algorithm description.madmaxoft3-6/+152
2014-05-12More switch warnings.archshift1-7/+27
2014-05-12Fixed a few more switch warnings.archshift1-15/+13
2014-05-11Initial VillageGen implementation.madmaxoft6-0/+5807
WIP, doesn't generate anything yet. Ref.: 740.
2014-05-09Removed unused constants from MineShafts and Ravines.Mattes D2-9/+0
2014-05-09Removed an unused NetherFortGen variable.Mattes D1-6/+0
2014-05-09Removed an unused macro.Mattes D1-7/+0
2014-05-09Fixed MSVC 64-bit build warnings.Mattes D5-10/+22
2014-05-09Ravines rewritten using cGridStructGen.Mattes D2-182/+40
Ref.: #987.
2014-05-09cWormNestCaves rewritten using cGridStructGen.Mattes D2-223/+29
Ref.: #987.
2014-05-09Mineshafts generator rewritten to use GridStructGen.Mattes D2-156/+33
2014-05-08Fixed cGridStructGen.Mattes D1-18/+6
Now cNetherFortGen works with the new architecture.
2014-05-08Fixed MSVC 64-bit build warnings.Mattes D5-10/+22
2014-05-07cNetherFortGen uses cGridStructGen.madmaxoft5-264/+42
WIP, this doesn't work properly yet.
2014-05-07Initial cPrefabPiecePool refactoring.madmaxoft2-0/+196
Ref.: #986.
2014-05-06Initial cGridStructGen refactoring.madmaxoft2-0/+262
Ref.: #987.
2014-05-05Changed cPieceGenerator to support pairings.madmaxoft3-57/+104
Fixes #982.
2014-05-05Prefabs can specify that they don't want flooring.madmaxoft1-30/+33
Previously the flag was ignored.
2014-04-27Removed unneeded assertTycho1-1/+1
Fixed CID 43610
2014-04-25Cmake generated projects for IDEs include headers in project files.archshift2-0/+2
2014-04-23Updated NetherFort prefabs to latest Gallery content.madmaxoft1-7/+29
2014-04-22Updated NetherFort prefabs from the Gallery server.madmaxoft1-274/+785
2014-04-21Added prefab hitboxes.madmaxoft3-11/+138
The nether forts should quite limit their bridge-to-floor overlaps. Cannot eliminate, but at least severely diminish.
2014-04-18Small style changesjfhumann1-1/+1
2014-04-18Did some static analysis, fixed some bugs and optimized a lot of codejfhumann3-24/+29
2014-04-18Added performance test of the nether fort generator.madmaxoft2-0/+35
2014-04-17Added area flooring.madmaxoft1-1/+42
Fixes #743.
2014-04-17Added Prefab initializers to SELFTEST code.madmaxoft1-1/+13
2014-04-17Prefabs can have per-piece per-placement weights.madmaxoft5-32/+752
Fixes #753. Also upgraded NetherFortPrefabs to lates Gallery contents.
2014-04-15Added support for per-piece per-placement weights in cPieceGenerator.madmaxoft2-28/+48
Ref.: #753.
2014-04-15NetherFortPrefabs: Fixed a connector in MidStaircase.madmaxoft1-1/+1
2014-04-12Updated the NetherFort prefabs to current Gallery contents.madmaxoft3-1958/+3329
Code exported from the Gallery server by the GalExport plugin.
2014-03-30Added all current NetherFort prefabs.madmaxoft1-3/+1547
2014-03-30Added asserts for critical data in cPrefab.madmaxoft1-0/+4
2014-03-30Re-fixed nether fort piece count check.madmaxoft1-2/+2
2014-03-30NetherForts have a minimum number of pieces.madmaxoft1-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.
2014-03-29cPrefab now uses a struct for block type definition in CharMap.madmaxoft2-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.
2014-03-28NetherFortGen: Added several more prefabs.madmaxoft2-2/+783
Also extended the defauls MaxDepth value to 12.
2014-03-28Implemented the msSpongePrint merge strategy.madmaxoft1-3/+3
Similar to msImprint, but allows prefabs to carve out air pockets, too. The sponge block is used as the NOP block.
2014-03-28NetherFort: Added BalconyTee2 prefab.madmaxoft1-29/+158
2014-03-28Fixed a memory leak in NetherFortGen.madmaxoft1-0/+7
2014-03-28Sponged the netherfort balcony prefab.madmaxoft1-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.
2014-03-28Initial NetherFortGen import.madmaxoft7-2/+699
Simple fortresses of 2 different rooms will generate.
2014-03-28Fixed Prefab's rotations.madmaxoft2-7/+39
2014-03-28Add missing ChunkDesc import.Howaner1-1/+1
2014-03-27cPrefab can draw itself into a cChunkDesc.madmaxoft2-6/+9
2014-03-26Prefabs support connectors, rotations and merge strategy.madmaxoft2-3/+72
2014-03-25Added a basic cPrefab class.madmaxoft2-0/+222
Can be defined in the source by GalExport's cpp output.
2014-03-25BlockArea: Switched internal coords to Vector3i.madmaxoft1-3/+3
2014-03-21Implemented faster upscaling using templates.madmaxoft5-14/+14
Fixes #819.
2014-03-14Fixed xofts issuesTycho1-2/+2
2014-03-12Added additional macros to support the MSVC size_t format and changed all formats to use the macrosTycho1-1/+1
2014-03-12Fixed printf format compatabiltyTycho1-5/+4
2014-03-12Fixed missing comment terminator.madmaxoft1-1/+1
2014-03-11Fixed a load of format string errorsTycho1-2/+2
2014-03-11Fixed Warnings in PieceGeneratorTycho2-9/+9
2014-03-10Removed debugging output.madmaxoft1-1/+3
Kept it commented-out for later revisions, if needed.
2014-03-10POCPieces: Added height.madmaxoft1-17/+20
Now the pieces connect in different heights, too, creating a true 3D maze.
2014-03-09A working POCPiece generator.madmaxoft5-6/+359
2014-03-09cPieceGenerator: New connectors are added to the free pool.madmaxoft2-9/+30
2014-03-09PieceGenerator can connect two connectors of the same type.madmaxoft2-60/+338
Also added extensive debugging output and a test.
2014-03-09Added the first skeleton code for PieceGenerator.madmaxoft2-0/+545
This is a WIP and won't work / isn't used at all.
2014-03-07WarningsTycho2-1/+3
2014-03-01ChunkDesc warns about StructureGen's deprecation.madmaxoft1-0/+2
2014-03-01Unified StructureGens and FinisherGens.madmaxoft10-163/+128
Now they are all Finishers. Fixes #398.
2014-03-01g_BlockXXX => cBlockInfo::XXXandrew1-3/+3
2014-02-20Thread safe cMap managerandrew1-9/+0
2014-02-19Add BlockNewLeaves.h and rename Darkoac to DarkoakHowaner2-3/+3
2014-02-19Add new Trees (without Generator)Howaner2-0/+24
2014-02-09Fixed compile and some warnings in MSVSTiger Wang1-9/+0
2014-02-03Fogot to save BiogenTycho1-4/+4
2014-02-03Fixed Compile errorsTycho1-1/+1
c++11 introduces scoped enums, so the code didn't fail in clang
2014-02-03Increased Type safety of BiomesTycho3-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
2014-01-31Added cChunkDest::UpdateHeightmap()madmaxoft2-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.
2014-01-25dded dependecy on Blocks to GeneratorTycho1-1/+1
2014-01-25Mob bugfixesTiger Wang1-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
2014-01-25Fixed a generator bugTiger Wang1-1/+6
2014-01-19Added Inifile and OSSupport LinkingTycho1-0/+2
2014-01-18Alpha-sorted the finishers.madmaxoft1-4/+4
2014-01-18Fixed errors.STRWarrior2-2/+2
2014-01-18Renamed cFinishGenNetherSprinkleFoliage to cFinishGenNetherClumpFoliage. Fixed typo'sSTRWarrior3-10/+10
2014-01-18Some tweaks.STRWarrior1-5/+18
Everything generates more often. Fire can only spawn on ForeverBurning blocks.
2014-01-18Fixed bug where only brown mushrooms would spawn.STRWarrior1-3/+3
2014-01-18It now actualy works.STRWarrior1-20/+42
2014-01-17First attempt at creating a clumb version NetherFinisher.STRWarrior2-22/+63
2014-01-10Decoupled cChunkGenerator from cWorld and cRoot.madmaxoft8-49/+87
Now the chunk generator can be used by other projects without depending on the two hugest structures in MCS.
2014-01-10Fixed generator adding values to ini file.madmaxoft2-1/+3
2014-01-10Added cFinishGenNetherSprinkleFoliage.STRWarrior3-2/+73
2014-01-10Fixed recurring pattern.STRWarrior1-1/+1
2014-01-09Fixed chunk borders.STRWarrior1-3/+3
2014-01-09Composition generator creating moved to a separate function.madmaxoft2-61/+83
Also it forces the defaults into the INI file.
2014-01-09Height generator creating moved info HeiGen.cpp.madmaxoft3-54/+82
The generator also explicitly sets the default back into the INI file.
2014-01-08Speed-up. I got about 40 extra ch/sSTRWarrior1-9/+14
2014-01-08WormNestCaves now remove soul sand.STRWarrior1-0/+1
2014-01-08NetherGen: Now generates SoulSand.STRWarrior1-1/+11
2014-01-07More MSVC warning fixes.madmaxoft1-1/+1
2014-01-07Fixed a few MSVC warnings.madmaxoft3-6/+7
2013-12-26Simplefied Extreme Hills M pattern select.STRWarrior1-11/+3
2013-12-25Extreme Hills M biomes now generate gravel, stone and grass patterns.STRWarrior1-2/+10
2013-12-25Changed tbGravel. Vanilla has 3 layers of gravel and then stone.STRWarrior1-3/+3
2013-12-25Normal extreme hills (plus) now generate a stone/grass pattern.STRWarrior1-2/+20
2013-12-25Re-added empty line.STRWarrior1-0/+1
2013-12-25This generates gravel in Extreme Hills M biomes.STRWarrior2-3/+20
2013-12-29Added function to create Tall Birch tree in BirchTreeForest biomesMike Hunsinger2-3/+49
2013-12-20Fixed compiler warning when iterating over a fixed array of items (ARRAYCOUNT).madmaxoft9-19/+23
2013-12-11moved generating to globsTycho Bickerstaff1-1/+5
2013-12-10more cmakeTycho Bickerstaff1-0/+7
2013-12-08Moved bindings-related to a Bindings subfolder.madmaxoft1-1/+1
Ref.: #407
2013-12-08moved deafult action into deafult clause at src/Generating/DistortedHeightmap.cpp line 741Tycho Bickerstaff1-2/+4
2013-12-08reordered initalisation order at src/Generating/Cave.h line 73Tycho Bickerstaff1-2/+2
2013-12-08fixed warnings in src/Generating/BioGen.cppTycho Bickerstaff1-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
2013-11-30Added floor pattern for MegaTaiga biomes.madmaxoft1-1/+10
2013-11-29Implemented mesa biomes in DistortedHeightmap CompoGen.madmaxoft3-21/+106
2013-11-29Fixed CheckerboardBiomeGen in negative coords.madmaxoft1-2/+3
2013-11-29DistortedHeightmap: Improved speed, prepared for mesa biomes.madmaxoft2-157/+424
This generates the rainbow-mesa as seen on the first mesa screenshot in the forum.
2013-11-28Trees will generate in the new biomes.madmaxoft2-14/+101
Only the generic trees, the special variants haven't yet been implemented.
2013-11-28Added new biomes to old composition generator.madmaxoft3-0/+141
Mostly placeholders only, true per-biome characteristics still need to be implemented. This is only to test the new biome generators.
2013-11-28Added new biomes to old height generators.madmaxoft4-39/+179
Now Biomal and DistortedHeight generators will work with new biomes.
2013-11-28Moved BiomeGen creation from INI file data to BioGen.cpp.madmaxoft3-48/+74
This way it can be shared between MCServer and BiomeVisualiser.
2013-11-28BiomeVisualiser: Added the TwoLevel biome generator.madmaxoft2-0/+229
2013-11-27Voronoi-related biomegens use the new cVoronoiMap class.madmaxoft2-53/+28
2013-11-27Fixed the remaining derpsAlexander Harkness8-8/+8
2013-11-26Hopefully fixed last of the Linux compile errorsTiger Wang2-2/+2
2013-11-25Further attempts to fix compileTiger Wang8-8/+8
2013-11-24Attempt to fix compilationTiger Wang8-8/+8
2013-11-24Moved source to srcAlexander Harkness30-0/+11358