mirror of
https://github.com/Zeal-Operating-System/ZealOS.git
synced 2024-12-25 23:10:32 +00:00
Update PaletteGod.ZC
This commit is contained in:
parent
8a60eb60a3
commit
7a6dda2a1c
1 changed files with 2 additions and 2 deletions
|
@ -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…
Reference in a new issue