termcol: hue order for ppu tables
[sheet.git] / termcol.inc.pl
index 38696cef1002f56ed29c3d1977e5098fe3403477..3411852b135d522ad44e20d73c5c73781b17415a 100644 (file)
@@ -266,10 +266,11 @@ use Shiar_Sheet::Colour 1.05;
                                        54BF47 37C79F 35CFE4  8DD836 B8D1B5 97E9D1  EDD446 EBE4A4 FFFFFF
                                )]->[$index]
                        },
-                       [ # gameboy ramp
-                               map { [ 27 + (state $index)++, map { hex } /(..)/g ] }
-                               qw( F2EFE7 BAC375 859550 485D48 293941 )
-                       ],
+               ],
+               table => [
+                       # gameboy ramp
+                       [qw( 293941:31       :   F2EFE7:27 )],
+                       [qw( 485D48:30 859550:29 BAC375:28 )],
                ],
                parent => 'cpc',
        },
@@ -288,7 +289,6 @@ use Shiar_Sheet::Colour 1.05;
                        [qw(         0 6C71C4:3J         0 )],
                        [qw( 362747:1K 75507B:3K F06FCB:5K )],
                        [qw(         0 D33662:3L         0 )],
-                       undef,
                        [qw( 000000:0  686868:2  CCCCCC:4  )],
                        [qw( 444444:1  B0B0B0:3  FFFFFF:5  )],
                ],
@@ -323,6 +323,7 @@ use Shiar_Sheet::Colour 1.05;
                                ] } 0..13
                        }
                ],
+               hueorder => [6..12, 1..5, 13, 0],
        },
        shovel => {
                name => 'NES for Shovel Knight',
@@ -344,6 +345,7 @@ use Shiar_Sheet::Colour 1.05;
                        [qw( 22123B:0S 360900:1S 824E00:2S 9E9E5C:3S )],
                ],
                parent => 'ppu',
+               hueorder => [6..12, 1..5, 13, 0, 14],
        },
 
        64 => {