Update PaletteGod.ZC

This commit is contained in:
チャールズ 2023-06-13 11:58:38 +09:00 committed by GitHub
parent 8a60eb60a3
commit 7a6dda2a1c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,5 +1,5 @@
CBGR24 ColorGod(Bool instant=TRUE) CBGR24 ColorGod(Bool instant=TRUE)
{ // Generate a random color, seed-based or not {// Generate a random color, seed-based or not
if (instant) if (instant)
return RandI32 & 0xFFFFFF; return RandI32 & 0xFFFFFF;
else else
@ -7,7 +7,7 @@ CBGR24 ColorGod(Bool instant=TRUE)
} }
public U0 PaletteGod(Bool seedUse=FALSE, Bool instant=TRUE) public U0 PaletteGod(Bool seedUse=FALSE, Bool instant=TRUE)
{ // Generate a random palette, seed-based or not {// Generate a random palette, seed-based or not
I64 i; I64 i;
if (seedUse) Seed(GodPick); if (seedUse) Seed(GodPick);