mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-23 04:45:24 +02:00
Allow more than 255 biomes, document new maximum (#9855)
Change biomemap data type from u8 to u16. New technical (not practical) maximum is 65535 biomes.
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
/*
|
||||
Minetest
|
||||
Copyright (C) 2014-2018 kwolekr, Ryan Kwolek <kwolekr@minetest.net>
|
||||
Copyright (C) 2014-2018 paramat
|
||||
Copyright (C) 2014-2020 paramat
|
||||
Copyright (C) 2014-2016 kwolekr, Ryan Kwolek <kwolekr@minetest.net>
|
||||
|
||||
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
|
||||
@@ -32,7 +32,7 @@ class BiomeManager;
|
||||
//// Biome
|
||||
////
|
||||
|
||||
typedef u8 biome_t;
|
||||
typedef u16 biome_t;
|
||||
|
||||
#define BIOME_NONE ((biome_t)0)
|
||||
|
||||
|
Reference in New Issue
Block a user