# HG changeset patch # User Matti Hamalainen # Date 1530204657 -10800 # Node ID 489dde33f6b68f92f354e3c2ed89d629b6fc20b0 # Parent 23a344b5e4f125ef6dd8a6abef41f6a1941febab Cosmetics, add comments. diff -r 23a344b5e4f1 -r 489dde33f6b6 tools/lib64gfx.h --- 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);