aboutsummaryrefslogtreecommitdiff
path: root/src/guiEngine.h
diff options
context:
space:
mode:
authorDuane Robertson <duane@duanerobertson.com>2015-09-29 12:38:08 -0500
committerest31 <MTest31@outlook.com>2015-10-02 22:49:31 +0200
commita5bdfb6b3cfddaac1e961bd8c8780c74ccde3567 (patch)
tree3844d522cc817395be35dfac4d9d61f562d0854e /src/guiEngine.h
parent21944a0d3c5284f6bf1e61286ddbcc2ab2f1e2aa (diff)
downloadminetest-a5bdfb6b3cfddaac1e961bd8c8780c74ccde3567.tar.gz
minetest-a5bdfb6b3cfddaac1e961bd8c8780c74ccde3567.tar.bz2
minetest-a5bdfb6b3cfddaac1e961bd8c8780c74ccde3567.zip
Add get_biome_id(biome_name) callback
It returns the index used in mg->biomemap for a given biome name. The biomemap is useless without this unless you re-register all existing biomes, which could cause problems for anyone else trying to use biomemap. With this, you can quickly create a lookup table of ids and names.
Diffstat (limited to 'src/guiEngine.h')
0 files changed, 0 insertions, 0 deletions
/a> 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187