mirror of
https://github.com/HarbourMasters/Starship
synced 2026-09-12 05:18:54 -04:00
fox_aq decomped, some type cleanup (#112)
* stuff * stuff * temps * matched * so complete * merge and clean * format * graphics macros * aq * more stuff * oh god the clam * limbdraw * headers? * format, name changes * enums * merge and format
This commit is contained in:
@@ -7,6 +7,7 @@
|
||||
#define RAND_FLOAT(max) (Rand_ZeroOne()*(max))
|
||||
#define RAND_INT(max) ((s32)(Rand_ZeroOne()*(max)))
|
||||
#define RAND_FLOAT_CENTERED(width) ((Rand_ZeroOne()-0.5f)*(width))
|
||||
#define RAND_RANGE(min, max) (((max) - (min)) * (Rand_ZeroOne() - (min) / ((min) - (max))))
|
||||
|
||||
#define RAND_FLOAT_SEEDED(max) (Rand_ZeroOneSeeded()*(max))
|
||||
#define RAND_INT_SEEDED(max) ((s32)(Rand_ZeroOneSeeded()*(max)))
|
||||
|
||||
Reference in New Issue
Block a user