]> git.lizzy.rs Git - minetest.git/blobdiff - src/biome.h
Vary ore sheet y position by noise
[minetest.git] / src / biome.h
index bb35dd1c405c5ac2f85fbe423e0e9bc10b9af245..c30af46ad821302ce742e141cda9d6c952173b7b 100644 (file)
@@ -1,6 +1,6 @@
 /*
-Minetest-c55
-Copyright (C) 2010-2011 kwolekr, Ryan Kwolek <kwolekr2@cs.scranton.edu>
+Minetest
+Copyright (C) 2010-2013 kwolekr, Ryan Kwolek <kwolekr2@cs.scranton.edu>
 
 This program is free software; you can redistribute it and/or modify
 it under the terms of the GNU Lesser General Public License as published by
@@ -42,7 +42,8 @@ class Biome {
        MapNode n_top;
        MapNode n_filler;
        s16 ntopnodes;
-       s16 flags;
+       s8 groupid;
+       s8 flags;
        s16 height_min;
        s16 height_max;
        float heat_min;
@@ -90,7 +91,7 @@ class BiomeDefManager {
        Biome *getBiome(float bgfreq, float heat, float humidity);
 
        void addBiomeGroup(float freq);
-       void addBiome(int groupid, Biome *b);
+       void addBiome(Biome *b);
        void addDefaultBiomes();
 };