diff options
| author | fig02 <fig02srl@gmail.com> | 2020-07-16 21:37:53 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-07-16 21:37:53 -0400 |
| commit | 24ab14f7482d48e94338a9dbf1a07abb15d3b77f (patch) | |
| tree | 5262c8346a46f41b450a71725d06a3cec1dfdfb1 /src/code/z_fbdemo.c | |
| parent | bc14f6d93e2463dfe81660013c591b3ddd6b3ab3 (diff) | |
Change Colors To Decimal (#260)
* fix colliderinit typo
* convert as many colors i can find to decimal
* fix GPACK_RGBA5551, merge fhgFire
* fix remaining colors
* remove unwanted file
* alpha as 1
Diffstat (limited to 'src/code/z_fbdemo.c')
| -rw-r--r-- | src/code/z_fbdemo.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/code/z_fbdemo.c b/src/code/z_fbdemo.c index 5a91cfd6c..1b7aa4617 100644 --- a/src/code/z_fbdemo.c +++ b/src/code/z_fbdemo.c @@ -5,10 +5,10 @@ Gfx D_8012AFB0[] = { gsDPPipeSync(), gsDPSetCycleType(G_CYC_FILL), gsDPSetColorImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 320, 0x0F000000), - gsDPSetFillColor(RGBA8(0x42, 0x11, 0x42, 0x11)), + gsDPSetFillColor((GPACK_RGBA5551(65, 65, 65, 1) << 16) | GPACK_RGBA5551(65, 65, 65, 1)), gsDPFillRectangle(0, 0, 319, 239), gsDPPipeSync(), - gsDPSetFillColor(RGBA8(0x42, 0x3F, 0x42, 0x3F)), + gsDPSetFillColor((GPACK_RGBA5551(65, 65, 255, 1) << 16) | GPACK_RGBA5551(65, 65, 255, 1)), gsDPFillRectangle(20, 20, 300, 220), gsDPPipeSync(), gsSPEndDisplayList(), |
