mirror of
https://github.com/luanti-org/luanti.git
synced 2025-06-27 16:36:03 +00:00
Add map limit config option
This commit is contained in:
parent
a5e5aa5be9
commit
ec796b8e81
11 changed files with 38 additions and 43 deletions
|
@ -64,7 +64,8 @@ with this program; if not, write to the Free Software Foundation, Inc.,
|
|||
// The absolute working limit is (2^15 - viewing_range).
|
||||
// I really don't want to make every algorithm to check if it's going near
|
||||
// the limit or not, so this is lower.
|
||||
#define MAP_GENERATION_LIMIT (31000)
|
||||
// This is the maximum value the setting map_generation_limit can be
|
||||
#define MAX_MAP_GENERATION_LIMIT (31000)
|
||||
|
||||
// Size of node in floating-point units
|
||||
// The original idea behind this is to disallow plain casts between
|
||||
|
@ -116,4 +117,3 @@ with this program; if not, write to the Free Software Foundation, Inc.,
|
|||
#define DEFAULT_FONT_SIZE (10)
|
||||
|
||||
#endif
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue