mirror of
https://github.com/Zeal-Operating-System/ZealOS.git
synced 2025-06-07 00:04:48 +00:00
Update PaletteGod.ZC
This commit is contained in:
parent
8a60eb60a3
commit
7a6dda2a1c
@ -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);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user