aboutsummaryrefslogtreecommitdiff
path: root/lib/jsoncpp/jsoncpp.cpp
Commit message (Collapse)AuthorAge
* Update jsoncpp to 1.9.4 (#10477)Zughy2020-10-21
| | | Co-authored-by: Zughy <4279489-marco_a@users.noreply.gitlab.com>
* Update jsoncpp to 1.8.4 (#7172)Loïc Blot2018-03-26
|
* Update JsonCPP to 1.8.3 (#6466)Loïc Blot2017-09-26
| | | | | | | | | | * Update JsonCPP to 1.8.3 * Fix deprecated functions Json::FastWriter, Json::StyledWriter and Json::Reader are marked deprecated since 1.1 and are deprecated in 0.8 but not shown at compilation time. Use new methods to serialize/deserialize
* JsonCPP update from 0.10.6 to 1.8.0Loic Blot2017-06-04
|
* Update embedded jsoncpp from unk version to 0.10.6 + move libs to lib/ ↵Loïc Blot2017-04-02
instead of src/ (#5473) * Update embedded jsoncpp from unk version to 0.10.6 0.10.6 is last release without c++11 * Make jsoncpp more compliant with its amalgamate Jsoncpp cpp file should be upper, make the library like it does in amalgamate * Reorganization: move minetest embedded libs outside of source tree to /lib * Fix a dead grep in LINT
">#include "mapgen.h" /////// Mapgen Flat flags #define MGFLAT_LAKES 0x01 #define MGFLAT_HILLS 0x02 class BiomeManager; extern FlagDesc flagdesc_mapgen_flat[]; struct MapgenFlatParams : public MapgenParams { u32 spflags; s16 ground_level; s16 large_cave_depth; float cave_width; float lake_threshold; float lake_steepness; float hill_threshold; float hill_steepness; NoiseParams np_terrain; NoiseParams np_filler_depth; NoiseParams np_cave1; NoiseParams np_cave2; MapgenFlatParams(); ~MapgenFlatParams() {} void readParams(const Settings *settings); void writeParams(Settings *settings) const; }; class MapgenFlat : public MapgenBasic { public: MapgenFlat(int mapgenid, MapgenFlatParams *params, EmergeManager *emerge); ~MapgenFlat(); virtual MapgenType getType() const { return MAPGEN_FLAT; } virtual void makeChunk(BlockMakeData *data); int getSpawnLevelAtPoint(v2s16 p); s16 generateTerrain(); private: s16 ground_level; s16 large_cave_depth; float lake_threshold; float lake_steepness; float hill_threshold; float hill_steepness; Noise *noise_terrain; }; #endif