changeset 936:5104a7c87d7b

Remove some unused structures, etc.
author Matti Hamalainen <ccr@tnsp.org>
date Wed, 25 Feb 2015 20:31:54 +0200
parents 77c07853797b
children 51dc33efd126
files tools/lib64gfx.h
diffstat 1 files changed, 6 insertions(+), 24 deletions(-) [+]
line wrap: on
line diff
--- a/tools/lib64gfx.h	Wed Feb 25 20:07:25 2015 +0200
+++ b/tools/lib64gfx.h	Wed Feb 25 20:31:54 2015 +0200
@@ -64,6 +64,7 @@
 
 };
 
+// Number of video banks
 enum
 {
     D64_FLI_2BANK,
@@ -77,10 +78,13 @@
     D64_ILACE_RES,
 };
 
+
+// Charmode screen memory configuration
 enum
 {
-    D64_CHCFG_SCREEN,
-    D64_CHCFG_LINEAR = 1,
+    D64_CHCFG_SCREEN,      // Use screen memory
+    D64_CHCFG_LINEAR = 1,  // Generate linear pattern so that first line
+                           // of chars is 0-39, second 40-79, up to 255.
 };
 
 
@@ -91,12 +95,6 @@
     Uint8 data[C64_SPR_HEIGHT][C64_SPR_WIDTH];
 } DMC64Sprite;
 
-enum
-{
-    D64_CHR_GLOBAL,     // use font-global setting
-    D64_CHR_MULTICOLOR,	// character is multicolor
-    D64_CHR_HIRES,
-};
 
 enum
 {
@@ -108,22 +106,6 @@
     DC_D024,
 };
 
-typedef struct
-{
-    int mode, color;
-    Uint8 data[C64_CHR_HEIGHT];
-} DMC64Char;
-
-
-typedef struct
-{
-    BOOL multicolor;
-    int colbg, color, col1, col2;
-    int nglyphs;
-    DMC64Char *glyphs;
-} DMC64Font;
-
-
 
 typedef struct
 {