changeset 1935:489dde33f6b6

Cosmetics, add comments.
author Matti Hamalainen <ccr@tnsp.org>
date Thu, 28 Jun 2018 19:50:57 +0300
parents 23a344b5e4f1
children 73c513f536d0
files tools/lib64gfx.h
diffstat 1 files changed, 8 insertions(+), 9 deletions(-) [+]
line wrap: on
line diff
--- a/tools/lib64gfx.h	Thu Jun 28 19:37:57 2018 +0300
+++ b/tools/lib64gfx.h	Thu Jun 28 19:50:57 2018 +0300
@@ -151,12 +151,11 @@
 
 typedef struct _DMC64Image
 {
-    int type,       // Image type (D64_FMT_*)
-        laceType,   // Interlace type (D64_ILACE_*)
-        nbanks;
-
-    int width, height; // Width and height in pixels
-    int chWidth, chHeight; // Width and height in charblocks
+    int type,                // Image type (D64_FMT_*)
+        width, height,       // Width and height in pixels
+        chWidth, chHeight,   // Width and height in charblocks
+        laceType,            // Interlace type (D64_ILACE_*)
+        nbanks;              // Number of video banks used
 
     // Bitmaps, color RAM, screen, etc. blocks * nbanks
     // Not all of them may be allocated
@@ -203,9 +202,9 @@
 
 typedef struct _DMC64ImageCommonFormat
 {
-    int  type;   // Type flags, see D64_FMT_*
-    int  width, height; // Width and height in pixels
-    int  chWidth, chHeight; // Width and height in charblocks
+    int  type,               // Type flags, see D64_FMT_*
+         width, height,      // Width and height in pixels
+         chWidth, chHeight;  // Width and height in charblocks
 
     int  (*convertFrom)(DMImage *, const DMC64Image *, const DMC64ImageFormat *fmt, const DMC64ImageConvSpec *spec);
     int  (*convertTo)(DMC64Image *, const DMImage *, const DMC64ImageFormat *fmt, const DMC64ImageConvSpec *spec);