summaryrefslogtreecommitdiffstats
path: root/src/Generating/MineShafts.cpp (unfollow)
Commit message (Collapse)AuthorFilesLines
2018-02-05Deal with covered switches consistently (#4161)peterbell101-24/+21
* 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()
2017-05-21Clang 5.0 fixesLukas Pioch1-1/+0
- Added override keyword - Removed inherited member variables
2016-02-05Bulk clearing of whitespaceLogicParrot1-1/+1
2015-07-31Unified the doxy-comment format.Mattes D1-8/+7
2015-06-02Fixed warnings in MSVC.Mattes D1-0/+7
It complained about undefined return values or using uninitialized variables.
2015-05-24Made -Weverything an error.tycho1-4/+4
2015-05-19More fixed warningstycho1-6/+6
2015-05-19Fixed a lot of warningstycho1-1/+0
2014-12-01Using static cast for MineShaft spawnersSTRWarrior1-1/+1
2014-12-01Mineshaft spawners now spawn cave spidersSTRWarrior1-1/+4
2014-10-23En masse NULL -> nullptr replaceTiger Wang1-9/+9
2014-10-20En masse NULL -> nullptr replaceTiger Wang1-9/+9
2014-07-18Generator: removed rnd definitions that are never readarchshift1-1/+0
2014-07-17Normalized comments.madmaxoft1-7/+7
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-7/+9
2014-06-15Added random offsets to cGridStructGen.madmaxoft1-7/+9
Fixes #740.
2014-05-23Fixed Mineshaft system size.Mattes D1-1/+1
2014-05-09Removed unused constants from MineShafts and Ravines.Mattes D1-6/+0
2014-05-09Fixed MSVC 64-bit build warnings.Mattes D1-3/+3
2014-05-09Mineshafts generator rewritten to use GridStructGen.Mattes D1-134/+21
2014-05-08Fixed MSVC 64-bit build warnings.Mattes D1-3/+3
2014-04-18Small style changesjfhumann1-1/+1
2014-04-18Did some static analysis, fixed some bugs and optimized a lot of codejfhumann1-1/+1
2014-03-28Initial NetherFortGen import.madmaxoft1-1/+1
Simple fortresses of 2 different rooms will generate.
2014-03-07WarningsTycho1-0/+2
2014-03-01Unified StructureGens and FinisherGens.madmaxoft1-1/+1
Now they are all Finishers. Fixes #398.
2013-12-20Fixed compiler warning when iterating over a fixed array of items (ARRAYCOUNT).madmaxoft1-1/+1
2013-11-24Moved source to srcAlexander Harkness1-0/+0
2013-11-17Mineshafts: silenced a compiler warning.madmaxoft1-0/+1
2013-11-16Fixed unsigned integer comparison.Alexander Harkness1-1/+1
2013-11-16Fixed a warning about brackets.Alexander Harkness1-58/+58
Is this the right way round? This is how C++ interprets it, so it should be changed if this is the wrong way round.
2013-11-14Added cSignEntity into API, added cChunkDesc:GetBlockEntity().madmaxoft1-2/+2
This fixes both #228 and #347.
2013-07-29Changed everyting to Unix line endings.Alexander Harkness1-1423/+1423
2013-05-28Moved BlockEntities to a separate foldermadmaxoft@gmail.com1-1/+1
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1527 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-04-10Added cItemGrid to represent an XY grid of items; converted chests to use cItemGrid.madmaxoft@gmail.com1-1/+1
http://forum.mc-server.org/showthread.php?tid=831 git-svn-id: http://mc-server.googlecode.com/svn/trunk@1380 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-04-06Mineshafts: randomized start position, tweaked default generator parameters; removed debugging glass pillars.madmaxoft@gmail.com1-25/+19
Mineshafts can be considered finished. git-svn-id: http://mc-server.googlecode.com/svn/trunk@1366 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-04-06Mineshafts: Added random loot to generated chests and fixed chest directionmadmaxoft@gmail.com1-20/+39
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1365 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-04-06Mineshafts: Added a (nonworking) mob spawner in cobweb spider nests.madmaxoft@gmail.com1-1/+44
Since MCServer doesn't support spawners yet, it has a default pig inside and doesn't spawn anything. git-svn-id: http://mc-server.googlecode.com/svn/trunk@1362 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-04-06MineShafts: made cobwebs less thickmadmaxoft@gmail.com1-5/+10
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1361 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-04-01MineShafts: added random torches, fixed beams on chunk boundariesmadmaxoft@gmail.com1-9/+96
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1344 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-03-31MineShafts: Added tracks to corridorsmadmaxoft@gmail.com1-4/+51
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1342 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-03-31MineShafts: Limited the mineshafts generation into a settable-size cuboidmadmaxoft@gmail.com1-10/+21
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1340 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-03-31MineShafts: Added (empty) chests and spiderwebs around (still missing) spawnersmadmaxoft@gmail.com1-4/+82
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1338 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-03-31MineShafts: User-settable chance of individual pieces' occurence. Staircase-only mineshafts, yay :)madmaxoft@gmail.com1-20/+20
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1336 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-03-31MineShafts: Staircases have further connections behind them.madmaxoft@gmail.com1-1/+8
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1335 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-03-31MineShafts: Added staircases; added floors to mineshafts going through watermadmaxoft@gmail.com1-4/+173
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1334 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-03-30MineShafts: Added branching crossingsmadmaxoft@gmail.com1-7/+132
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1331 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-03-30MineShafts: added supports in corridorsmadmaxoft@gmail.com1-11/+103
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1329 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-03-30MineShafts: Added branching corridorsmadmaxoft@gmail.com1-3/+67
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1328 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-03-29MineShafts: implemented basic corridors, without any embellishments or branching yet.madmaxoft@gmail.com1-24/+131
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1326 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-03-29MineShafts: backup commit with initial work, still unusable.madmaxoft@gmail.com1-0/+575
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1321 0a769ca7-a7f5-676a-18bf-c427514a06d6