summaryrefslogtreecommitdiffstats
path: root/src/Generating/VillageGen.cpp (unfollow)
Commit message (Collapse)AuthorFilesLines
2016-02-05Bulk clearing of whitespaceLogicParrot1-35/+35
2015-12-01Added PieceStructures generator.Mattes D1-16/+8
2015-06-20Added basic support for loading village prefabs from files.Mattes D1-86/+76
2015-05-24Made -Weverything an error.tycho1-4/+4
2015-05-23Fixed missing overrides and added a ignore flag for reserved macro for clang version 3.6 and higher.Lukas Pioch1-2/+2
2015-05-19Fixed some more warningstycho1-2/+2
2015-05-09More style checking.Mattes D1-1/+1
Spaces around some operators are checked.
2014-11-26Merge remote-tracking branch 'origin-master' into c++11Tiger Wang1-3/+3
2014-11-12Generator: Shape initial refactoring.Mattes D1-3/+3
The code compiles, but several structure generators are broken, crash on start.
2014-10-23En masse NULL -> nullptr replaceTiger Wang1-2/+2
2014-10-20En masse NULL -> nullptr replaceTiger Wang1-2/+2
2014-10-19Generator: Rewritten to use SharedPtrs.Mattes D1-6/+6
2014-08-03VillageGen: Fixed a typo in commentSTRWarrior1-1/+1
2014-07-17Fixed tabs used for alignment.madmaxoft1-1/+1
2014-07-17Normalized comments.madmaxoft1-1/+1
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.
2014-06-16Merge branch 'master' of github.com:mc-server/MCServerTycho1-5/+6
2014-06-15Added random offsets to cGridStructGen.madmaxoft1-5/+6
Fixes #740.
2014-06-11Roads in villages are made out of wooden planks if they generate on water.STRWarrior1-4/+17
2014-05-31Fixed a memory leak in VillagGen.madmaxoft1-0/+5
2014-05-27Added AlchemistVillage prefabs (Thanks, KingsCraftAu).madmaxoft1-9/+23
2014-05-25Added support for Miners' Village.madmaxoft1-5/+40
The village contains both prefabs that snap to ground and prefabs that connect strictly via connectors. Fixes #1027.
2014-05-24Added Japanese village prefabs.madmaxoft1-4/+11
2014-05-22Villages have min and max density setting.madmaxoft1-12/+80
Also made roads use 3+9 scheme, instead of 3+5, for the house connectors. Fixes #1020.
2014-05-21Changed desert village roads to gravel.madmaxoft1-1/+1
2014-05-21Added second kind of desert village (FlatRoof).madmaxoft1-4/+9
2014-05-17Village roads are drawn properly.madmaxoft1-6/+33
2014-05-17Village houses are height-adjusted onto the terrain.madmaxoft1-5/+36
2014-05-15Changed village road generation to use multiple prefabs.madmaxoft1-31/+30
2014-05-15VillageGen rewritten using BFSPieceGenerator.madmaxoft1-105/+91
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-12VillageGen: Added well placement and the general algorithm description.madmaxoft1-5/+142
2014-05-11Initial VillageGen implementation.madmaxoft1-0/+116
WIP, doesn't generate anything yet. Ref.: 740.