mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-13 00:25:19 +02:00
Various random code cleanups
This commit is contained in:
@@ -38,7 +38,9 @@
|
||||
// Unsigned magic seed prevents undefined behavior.
|
||||
#define NOISE_MAGIC_SEED 1013U
|
||||
|
||||
FlagDesc flagdesc_noiseparams[] = {
|
||||
#define myfloor(x) ((x) < 0 ? (int)(x) - 1 : (int)(x))
|
||||
|
||||
const FlagDesc flagdesc_noiseparams[] = {
|
||||
{"defaults", NOISE_FLAG_DEFAULTS},
|
||||
{"eased", NOISE_FLAG_EASED},
|
||||
{"absvalue", NOISE_FLAG_ABSVALUE},
|
||||
|
Reference in New Issue
Block a user