changeset 922:658bf4c452d0

Comments, cosmetics.
author Matti Hamalainen <ccr@tnsp.org>
date Wed, 25 Feb 2015 14:30:19 +0200
parents 2454ddb7363f
children 0f477446448d
files tools/lib64gfx.h
diffstat 1 files changed, 9 insertions(+), 7 deletions(-) [+]
line wrap: on
line diff
--- a/tools/lib64gfx.h	Wed Feb 25 14:19:46 2015 +0200
+++ b/tools/lib64gfx.h	Wed Feb 25 14:30:19 2015 +0200
@@ -50,6 +50,7 @@
 #define C64_MAX_SPRITES        (C64_VIDBANK_SIZE / C64_SPR_SIZE)
 #define C64_MAX_CHARS          256
 
+
 // Different supported C64 bitmap "modes"
 enum
 {
@@ -126,10 +127,10 @@
 
 typedef struct
 {
-    int type,     // Image type (D64_FMT_*)
-        fliType,  // FLI type (if FLI used)
-        laceType, // Interlace type (D64_ILACE_*)
-        laceBank1,
+    int type,       // Image type (D64_FMT_*)
+        fliType,    // FLI type (if FLI used)
+        laceType,   // Interlace type (D64_ILACE_*)
+        laceBank1,  // Interlace video bank indices
         laceBank2;
 
     Uint8
@@ -179,9 +180,10 @@
 
 typedef struct _DMC64ImageFormat
 {
-    int  type;
-    char *fext;
-    char *name;
+    int  type;   // Type flags, see D64_FMT_*
+    char *fext;  // Filename extension
+    char *name;  // Format description/name
+
     size_t addr; // Loading address (0 if no loading address)
     size_t size; // Size, including loading address. Only used in encoding, if even there (0 if no static size)
     int  (*probe)(const Uint8 *buf, const size_t len, const struct _DMC64ImageFormat *fmt);