summaryrefslogtreecommitdiff
path: root/gflib/window.h
diff options
context:
space:
mode:
authorGriffinR <griffin.g.richards@gmail.com>2021-11-13 23:26:46 -0500
committerGitHub <noreply@github.com>2021-11-13 23:26:46 -0500
commitf42eafc85b007cd27e90bc9a1350d589e31bda43 (patch)
tree7a09999f6ac2fc2d1b36ece5ec484ec6527a201f /gflib/window.h
parent4c4fa1f25e55e41f469604a984a820f5a7f30e90 (diff)
parent8d18d03c791c40bad532c62f217b0f82aadec6d2 (diff)
Merge branch 'master' into doc-banim
Diffstat (limited to 'gflib/window.h')
-rw-r--r--gflib/window.h19
1 files changed, 10 insertions, 9 deletions
diff --git a/gflib/window.h b/gflib/window.h
index 3eac75a28..6cb98c845 100644
--- a/gflib/window.h
+++ b/gflib/window.h
@@ -3,8 +3,7 @@
#define PIXEL_FILL(num) ((num) | ((num) << 4))
-enum
-{
+enum {
WINDOW_BG,
WINDOW_TILEMAP_LEFT,
WINDOW_TILEMAP_TOP,
@@ -15,6 +14,14 @@ enum
WINDOW_TILE_DATA
};
+// Mode for CopyWindowToVram, CopyWindowRectToVram and CopyWindowToVram8Bit
+enum {
+ COPYWIN_NONE,
+ COPYWIN_MAP,
+ COPYWIN_GFX,
+ COPYWIN_FULL,
+};
+
struct WindowTemplate
{
u8 bg;
@@ -28,13 +35,7 @@ struct WindowTemplate
#define DUMMY_WIN_TEMPLATE \
{ \
- 0xFF, \
- 0, \
- 0, \
- 0, \
- 0, \
- 0, \
- 0, \
+ .bg = 0xFF, \
}
#define WINDOW_NONE 0xFF