1
0
Fork 0
Commit Graph

54 Commits

Author SHA1 Message Date
peterbell10 13144a08e4
Enable some more clang-tidy linter checks (#4738)
* 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
2020-05-14 22:15:35 +00:00
Mattes D 9ee47e5999 Using Super. 2020-04-16 20:07:48 +00:00
Cocosushi6 fbf5cf7aa6 Generate cacti and sugarcane with different heights (#4137)
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
2018-05-03 19:25:08 +01:00
peterbell10 b5fa96f4f8 cFinishGenPreSimulator: Preserve sand meta (#4025)
Fixes #1516.
2017-09-18 08:45:32 +01:00
NiLSPACE ab6e8b790c Implemented OverworldClumpFlowers 2016-08-14 13:32:39 +02:00
LogicParrot ca6ef58b1e Bulk clearing of whitespace 2016-02-05 23:50:18 +02:00
Mattes D 326f5e04f7 OrePockets finisher is now configurable. 2015-11-25 15:06:32 +01:00
Mattes D f2a8d5c047 Added OrePockets and DirtPockets finish gens. 2015-11-25 09:22:20 +01:00
Mattes D 6e4122e551 Unified the doxy-comment format. 2015-07-31 16:49:10 +02:00
STRWarrior f17f0fa3bd GlowStone: Changed order of initialization of member variables 2015-04-19 20:08:51 +02:00
STRWarrior e7542f676d Added GlowStone finisher 2015-04-19 19:45:18 +02:00
STRWarrior db2a406c13 Removed trailing whitespace 2015-03-01 20:09:44 +01:00
STRWarrior 0394acfc0c Made the minimum vine level configurable 2015-02-28 22:40:13 +01:00
STRWarrior 19d7ec51a0 Implemented a vines finisher that creates vines in jungle biomes 2015-02-28 22:37:33 +01:00
Mattes D c5dc5ac45f FinishGenPassiveMobs: Cosmetic changes. 2014-12-05 22:46:46 +01:00
p-mcgowan a8bbd5efe4 Merge branch 'master' of github.com:p-mcgowan/MCServer into animalTerrainFinisher
update
2014-12-05 11:24:09 -08:00
p-mcgowan 8557ab18d0 conflict resolution 2014-12-04 13:31:58 -08:00
p-mcgowan 99a5b38e27 format blocks and randomizing 2014-12-04 13:28:27 -08:00
p-mcgowan b7c4ef05ac last doxy fix 2014-12-04 01:18:55 -08:00
p-mcgowan 83d4bec369 awful comment fixing, randomizer fix 2014-12-04 01:08:17 -08:00
p-mcgowan 27185dd374 clearing CheckBasicStyle.lua messages 2014-12-03 00:26:15 -08:00
p-mcgowan 8c3b9ae15b class description and doxy-commenting 2014-12-03 00:12:32 -08:00
p-mcgowan d348433406 doxy-commenting 2014-12-02 22:35:34 -08:00
p-mcgowan 8d7c2d4b13 fastRandom unused 2014-12-02 11:26:37 -08:00
p-mcgowan 2d93274a90 animal terrain finisher 2014-12-02 01:58:30 -08:00
p-mcgowan 9831220a1c animal terrain finisher 2014-12-02 01:37:17 -08:00
p-mcgowan bb5a7d8f15 reformat for lua and CI 2014-12-01 17:47:36 -08:00
p-mcgowan 3bf111c69e formatting and commenting fixes 2014-12-01 17:28:46 -08:00
p-mcgowan cb584a87bd cacti no longer spawn outside of desert variants 2014-12-01 11:44:20 -08:00
STRWarrior fa4a85c915 Added better soulsand rims
As a finisher called SoulsandRims
2014-12-01 16:36:48 +01:00
Mattes D 2467d29a4e Moved all Noise-related files into a separate folder. 2014-11-18 12:07:08 +01:00
STRWarrior 75b7c37755 PreSimulator: Added configurations.
You can now choose if it should pregenerate something or not
2014-07-30 13:06:48 +02:00
madmaxoft 7022ae7988 Fixed FinishGen.h types. 2014-07-30 07:08:29 +02:00
Howaner 438e4088d6 Changed size_t to 'unsigned long' 2014-07-30 01:22:51 +02:00
Howaner 9a4d80fc3b Fixed compile error with clang. 2014-07-30 00:45:03 +02:00
STRWarrior 4ccf14f3b3 Some finishing touches
Removed whitespace
fixed dead bush comment
2014-07-29 17:01:15 +02:00
STRWarrior 57bb03148a SingleTopBlock: All blocktypes and biometypes get initialized properly 2014-07-29 13:13:23 +02:00
STRWarrior e74984675c Using suggestions 2014-07-28 16:53:01 +02:00
STRWarrior bf1aa79932 Renamed cFinishGenSingleBiomeSingleTopBlock to cFinishGenSingleTopBlock
Now accepts a vector of biomes and a vector of allowed blocks.
2014-07-28 14:23:29 +02:00
STRWarrior 7e38c123fc TallGrass: Less grass on mountains. 2014-07-23 11:23:35 +02:00
madmaxoft 7672418ca8 Merged branch 'origin/Foliage'. 2014-07-21 18:18:54 +02:00
STRWarrior 0c816dd697 Fixed indentation 2014-07-21 10:58:13 +02:00
STRWarrior a4470da876 Changed CubicNoiseXX to IntNoiseXX
Added some comments
2014-07-20 22:43:31 +02:00
STRWarrior 76b79b51ad Renamed cFinishGenFoliage to cFinishGenTallGrass
Better grass density
Added double tall grass.
2014-07-20 19:22:41 +02:00
STRWarrior 51ad6cd1b2 Fixed warnings 2014-07-20 16:31:28 +02:00
STRWarrior 7bf9da7441 First attempt for a new foliage finisher 2014-07-20 16:23:45 +02:00
madmaxoft c03161f75d Fixed tabs used for alignment. 2014-07-17 23:16:55 +02:00
madmaxoft 896f1a26ec Merged branch 'NetherFinish'. 2014-01-18 17:03:31 +01:00
STRWarrior 188cb1f6bc Fixed errors. 2014-01-18 14:17:26 +01:00
STRWarrior ca27f87272 Renamed cFinishGenNetherSprinkleFoliage to cFinishGenNetherClumpFoliage. Fixed typo's 2014-01-18 14:16:07 +01:00