summaryrefslogtreecommitdiff
path: root/include/window.h
diff options
context:
space:
mode:
authorPhlosioneer <mattmdrr2@gmail.com>2019-02-21 23:27:12 -0500
committerPhlosioneer <mattmdrr2@gmail.com>2019-02-21 23:27:12 -0500
commitc96f8751cddf1a203bd5f310683ea35bf9cb8db2 (patch)
treec0fae4e818129e04176a56876d75149ce4b70a94 /include/window.h
parent399d646e3fb24c8b4532267a4ab7aee4d2aaee92 (diff)
Improve window palette macros
Diffstat (limited to 'include/window.h')
-rw-r--r--include/window.h9
1 files changed, 2 insertions, 7 deletions
diff --git a/include/window.h b/include/window.h
index 4138ce948..1daee39ef 100644
--- a/include/window.h
+++ b/include/window.h
@@ -1,12 +1,7 @@
#ifndef GUARD_WINDOW_H
#define GUARD_WINDOW_H
-// The tile ID for a transparent tile in the window tilesheet
-#define TRANSPARENT_TILE_NUMBER 0
-
-#define PIXEL_BUFFER_TRANSPARENT 0x00
-#define PIXEL_BUFFER_WHITE 0x11
-#define PIXEL_BUFFER_UNKNOWN 0xFF
+#define PALETTE_NUM_TO_FILL_VALUE(num) ((num) | ((num) << 4))
enum
{
@@ -80,7 +75,7 @@ extern u32 filler_03002F58;
extern u32 filler_03002F5C;
extern u32 filler_03002F64;
-// This global is set to TRANSPARENT_TILE_NUMBER and never changed.
+// This global is set to 0 and never changed.
extern u8 gTransparentTileNumber;
#endif // GUARD_WINDOW_H