diff options
author | kwolekr <mirrorisim@gmail.com> | 2012-11-25 21:16:48 -0500 |
---|---|---|
committer | Perttu Ahola <celeron55@gmail.com> | 2013-01-21 21:41:33 +0200 |
commit | 11afcbff69c95915e5142bc4b55636ff6358ece9 (patch) | |
tree | 1e6a3242e83443b665d9b781c84abad4e662f83d /src/settings.h | |
parent | 736b386554a6b385a34f40c0411c6e466ebec30a (diff) | |
download | minetest-11afcbff69c95915e5142bc4b55636ff6358ece9.tar.gz minetest-11afcbff69c95915e5142bc4b55636ff6358ece9.tar.bz2 minetest-11afcbff69c95915e5142bc4b55636ff6358ece9.zip |
The new mapgen, noise functions, et al.
Diffstat (limited to 'src/settings.h')
-rw-r--r-- | src/settings.h | 15 |
1 files changed, 11 insertions, 4 deletions
diff --git a/src/settings.h b/src/settings.h index 1a29ef00a..eec546b1a 100644 --- a/src/settings.h +++ b/src/settings.h @@ -574,10 +574,7 @@ public: set(name, "false"); } - void setS32(std::string name, s32 value) - { - set(name, itos(value)); - } + void setFloat(std::string name, float value) { @@ -598,6 +595,16 @@ public: set(name, os.str()); } + void setS16(std::string name, s16 value) + { + set(name, itos(value)); + } + + void setS32(std::string name, s32 value) + { + set(name, itos(value)); + } + void setU64(std::string name, u64 value) { std::ostringstream os; |