From d8e0159de08b73370be21b6f61c84aa888955af3 Mon Sep 17 00:00:00 2001 From: Peter Evans Date: Wed, 4 Apr 2018 22:01:26 -0500 Subject: [PATCH] Move hires colors into include file --- include/apple2.hires.h | 9 +++++++++ src/apple2.hires.c | 9 --------- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/include/apple2.hires.h b/include/apple2.hires.h index 5a28188..78a6de9 100644 --- a/include/apple2.hires.h +++ b/include/apple2.hires.h @@ -4,6 +4,15 @@ #include "apple2.h" #include "vm_bits.h" +enum hires_color { + HIRES_GREEN, + HIRES_PURPLE, + HIRES_ORANGE, + HIRES_BLUE, + HIRES_BLACK, + HIRES_WHITE, +}; + extern void apple2_hires_draw(apple2 *, int); extern void apple2_hires_dump(apple2 *, FILE *); diff --git a/src/apple2.hires.c b/src/apple2.hires.c index b415b80..d12822c 100644 --- a/src/apple2.hires.c +++ b/src/apple2.hires.c @@ -21,15 +21,6 @@ #include "apple2.hires.h" #include "apple2.text.h" -enum hires_color { - HIRES_GREEN, - HIRES_PURPLE, - HIRES_ORANGE, - HIRES_BLUE, - HIRES_BLACK, - HIRES_WHITE, -}; - /* * This table maps a row number to a base address in the hires graphics * buffer. From there, (base + i) maps to column i in that row.