diff options
author | Perttu Ahola <celeron55@gmail.com> | 2011-02-03 13:48:17 +0200 |
---|---|---|
committer | Perttu Ahola <celeron55@gmail.com> | 2011-02-03 13:48:17 +0200 |
commit | 71dbee43d005ce39fa17834cc34fe4233945e24f (patch) | |
tree | a96201be57f8e6bf49a85bb474ad12a7d1b90127 /src/utility.h | |
parent | 9b1b57a52390ecc98c27b2f923052511c387ba3d (diff) | |
download | minetest-71dbee43d005ce39fa17834cc34fe4233945e24f.tar.gz minetest-71dbee43d005ce39fa17834cc34fe4233945e24f.tar.bz2 minetest-71dbee43d005ce39fa17834cc34fe4233945e24f.zip |
some generation-time mud flow tweaking
Diffstat (limited to 'src/utility.h')
-rw-r--r-- | src/utility.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/utility.h b/src/utility.h index cc69099b4..e6e72efcf 100644 --- a/src/utility.h +++ b/src/utility.h @@ -1829,5 +1829,11 @@ inline bool string_allowed(const std::string &s, const std::string &allowed_char return true; } +/* + Some helper stuff +*/ +#define MYMIN(a,b) ((a)<(b)?(a):(b)) +#define MYMAX(a,b) ((a)>(b)?(a):(b)) + #endif |