diff --git a/assets/palettes/a64.hex b/assets/palettes/a64.hex deleted file mode 100644 index 8e62870..0000000 --- a/assets/palettes/a64.hex +++ /dev/null @@ -1,16 +0,0 @@ -000000 -313a91 -4c3435 -b14863 -485454 -7655a2 -92562b -8385cf -808078 -509450 -cd9373 -8fbfd5 -9cabb1 -bbc840 -9ccc47 -ede6c8 \ No newline at end of file diff --git a/assets/palettes/aap-16.hex b/assets/palettes/aap-16.hex deleted file mode 100644 index 02a1a93..0000000 --- a/assets/palettes/aap-16.hex +++ /dev/null @@ -1,16 +0,0 @@ -070708 -332222 -774433 -cc8855 -993311 -dd7711 -ffdd55 -ffff33 -55aa44 -115522 -44eebb -3388dd -5544aa -555577 -aabbbb -ffffff \ No newline at end of file diff --git a/assets/palettes/aap-64.hex b/assets/palettes/aap-64.hex deleted file mode 100644 index b9cc857..0000000 --- a/assets/palettes/aap-64.hex +++ /dev/null @@ -1,64 +0,0 @@ -060608 -141013 -3b1725 -73172d -b4202a -df3e23 -fa6a0a -f9a31b -ffd541 -fffc40 -d6f264 -9cdb43 -59c135 -14a02e -1a7a3e -24523b -122020 -143464 -285cc4 -249fde -20d6c7 -a6fcdb -ffffff -fef3c0 -fad6b8 -f5a097 -e86a73 -bc4a9b -793a80 -403353 -242234 -221c1a -322b28 -71413b -bb7547 -dba463 -f4d29c -dae0ea -b3b9d1 -8b93af -6d758d -4a5462 -333941 -422433 -5b3138 -8e5252 -ba756a -e9b5a3 -e3e6ff -b9bffb -849be4 -588dbe -477d85 -23674e -328464 -5daf8d -92dcba -cdf7e2 -e4d2aa -c7b08b -a08662 -796755 -5a4e44 -423934 \ No newline at end of file diff --git a/assets/palettes/aap-micro12.hex b/assets/palettes/aap-micro12.hex deleted file mode 100644 index bbfc422..0000000 --- a/assets/palettes/aap-micro12.hex +++ /dev/null @@ -1,12 +0,0 @@ -040303 -1C1618 -47416B -6C8C50 -E3D245 -D88038 -A13D3B -4E282E -9A407E -F0D472 -F9F5EF -8A8FC4 \ No newline at end of file diff --git a/assets/palettes/aap-splendor128.hex b/assets/palettes/aap-splendor128.hex deleted file mode 100644 index 27a30e5..0000000 --- a/assets/palettes/aap-splendor128.hex +++ /dev/null @@ -1,128 +0,0 @@ -050403 -0e0c0c -2d1b1e -612721 -b9451d -f1641f -fca570 -ffe0b7 -ffffff -fff089 -f8c53a -e88a36 -b05b2c -673931 -271f1b -4c3d2e -855f39 -d39741 -f8f644 -d5dc1d -adb834 -7f8e44 -586335 -333c24 -181c19 -293f21 -477238 -61a53f -8fd032 -c4f129 -d0ffea -97edca -59cf93 -42a459 -3d6f43 -27412d -14121d -1b2447 -2b4e95 -2789cd -42bfe8 -73efe8 -f1f2ff -c9d4fd -8aa1f6 -4572e3 -494182 -7864c6 -9c8bdb -ceaaed -fad6ff -eeb59c -d480bb -9052bc -171516 -373334 -695b59 -b28b78 -e2b27e -f6d896 -fcf7be -ecebe7 -cbc6c1 -a69e9a -807b7a -595757 -323232 -4f342f -8c5b3e -c68556 -d6a851 -b47538 -724b2c -452a1b -61683a -939446 -c6b858 -efdd91 -b5e7cb -86c69a -5d9b79 -486859 -2c3b39 -171819 -2c3438 -465456 -64878c -8ac4c3 -afe9df -dceaee -b8ccd8 -88a3bc -5e718e -485262 -282c3c -464762 -696682 -9a97b9 -c5c7dd -e6e7f0 -eee6ea -e3cddf -bfa5c9 -87738f -564f5b -322f35 -36282b -654956 -966888 -c090a9 -d4b8b8 -eae0dd -f1ebdb -ddcebf -bda499 -886e6a -594d4d -33272a -b29476 -e1bf89 -f8e398 -ffe9e3 -fdc9c9 -f6a2a8 -e27285 -b25266 -64364b -2a1e23 \ No newline at end of file diff --git a/assets/palettes/apple-ii.hex b/assets/palettes/apple-ii.hex deleted file mode 100644 index a1ce967..0000000 --- a/assets/palettes/apple-ii.hex +++ /dev/null @@ -1,16 +0,0 @@ -000000 -6c2940 -403578 -d93cf0 -135740 -808080 -2697f0 -bfb4f8 -404b07 -d9680f -808080 -eca8bf -26c30f -bfca87 -93d6bf -ffffff \ No newline at end of file diff --git a/assets/palettes/arne-16.hex b/assets/palettes/arne-16.hex deleted file mode 100644 index 1d523ba..0000000 --- a/assets/palettes/arne-16.hex +++ /dev/null @@ -1,16 +0,0 @@ -000000 -9D9D9D -FFFFFF -BE2633 -E06F8B -493C2B -A46422 -EB8931 -F7E26B -2F484E -44891A -A3CE27 -1B2632 -005784 -31A2F2 -B2DCEF diff --git a/assets/palettes/arne-32.hex b/assets/palettes/arne-32.hex deleted file mode 100644 index 7edbbee..0000000 --- a/assets/palettes/arne-32.hex +++ /dev/null @@ -1,32 +0,0 @@ -000000 -9D9D9D -FFFFFF -BE2633 -E06F8B -493C2B -A46422 -EB8931 -F7E26B -2F484E -44891A -A3CE27 -1B2632 -005784 -31A2F2 -B2DCEF -342A97 -656D71 -CCCCCC -732930 -CB43A7 -524F40 -AD9D33 -EC4700 -FAB40B -115E33 -14807E -15C2A5 -225AF6 -9964F9 -F78ED6 -F4B990 diff --git a/assets/palettes/arne-paldac.hex b/assets/palettes/arne-paldac.hex deleted file mode 100644 index 58b24b0..0000000 --- a/assets/palettes/arne-paldac.hex +++ /dev/null @@ -1,241 +0,0 @@ -823c3d -4c3435 -be2633 -e18289 -661e25 -732930 -7d3840 -a2324e -b14863 -e06f8b -e23d69 -c0466e -954961 -cf3c71 -f3a3c0 -5a1933 -df6d9b -443f41 -871646 -5f4351 -ff82ce -fec9ed -f78ed6 -cb43a7 -d365c8 -f878f8 -0d080d -a328b3 -cc69e4 -553361 -5c2e78 -d59cfc -5a1991 -7f35c9 -362747 -e2c9ff -7655a2 -6a31ca -191028 -9964f9 -a675fe -afaab9 -211640 -2a2349 -262144 -7664fe -453e78 -342a97 -3d34a5 -3535c9 -1b1b65 -64647c -6264dc -8385cf -9194df -9ba0ef -2234d1 -313a91 -5e606e -00177d -5668ac -1b1e29 -516cbf -225af6 -1651dd -204090 -091d48 -4c81fb -7999da -024aca -5d8bdf -355278 -1e79e5 -5ba8ff -1b2632 -60748a -0057af -9ec2e8 -0a89ff -0d2030 -a0cdf0 -31a2f2 -005280 -005784 -4180a0 -98dcff -cbe8f7 -656d71 -9ea4a7 -243137 -8fbfd5 -b2dcef -c0d7e2 -9cabb1 -32535f -91d9f3 -44aacc -415d66 -1b6e83 -2f484e -74adbb -7be2f9 -0a98ac -35c1d7 -5aa8b2 -14807e -485454 -25e2cd -71a6a1 -15c2a5 -00604b -084a3c -35b78f -8de1c7 -214e3f -216c4b -0c7e45 -60997b -20b562 -115e33 -bdffca -003308 -004e00 -1b651b -35af35 -509450 -3f503f -46af45 -139d08 -adc8aa -58d332 -6cd947 -407030 -a1d685 -44891a -7bb24e -172808 -376d03 -78b041 -7fc935 -6ab417 -6ea92c -c0e48c -8cd612 -9ccc47 -beeb71 -a3ce27 -768448 -546a00 -eeffa9 -acb56b -bbc840 -b6c121 -77785b -939717 -d0d0c0 -52524c -808078 -454541 -e4dd9a -f5f4eb -ffe737 -ad9d33 -f7e26b -f5f0d0 -e1c643 -524f40 -ffd93f -bfb588 -ede6c8 -fff9e4 -e9d8a1 -e2d7b5 -ebcb71 -bebbb2 -fab40b -795f1b -fbdf9b -eeeae0 -f4cd72 -d6b97b -cc8f15 -ffbb31 -ffe9c5 -5c3c0d -f0bd77 -493c2b -dc7f0f -f0b060 -c59154 -c58843 -825b31 -a46422 -c97f35 -eb8931 -736150 -f68f37 -ae6c37 -f5b784 -92562b -f4b990 -ad4e1a -cd9373 -e89973 -c59782 -b98f7b -ec4700 -aa5c3d -eb8a60 -231712 -9e5b47 -4f1507 -b23f24 -8a3622 -e18d79 -c16c5b -e08b79 -4f2b24 -e39b8d -e03c28 -833129 -dc392d -dc534b -da655e -bc3535 -ffffff -dddddd -d7d7d7 -cccccc -b5b5b5 -aaaaaa -a8a8a8 -a7a7a7 -9d9d9d -898989 -808080 -7b7b7b -636363 -343434 -151515 -000000 \ No newline at end of file diff --git a/assets/palettes/atari2600-ntsc.hex b/assets/palettes/atari2600-ntsc.hex deleted file mode 100644 index 5a1208f..0000000 --- a/assets/palettes/atari2600-ntsc.hex +++ /dev/null @@ -1,256 +0,0 @@ -000000 -444400 -702800 -841800 -880000 -78005c -480078 -140084 -000088 -00187c -002c5c -00402c -003c00 -143800 -2c3000 -442800 -404040 -646410 -844414 -983418 -9c2020 -8c2074 -602090 -302098 -1c209c -1c3890 -1c4c78 -1c5c48 -205c20 -345c1c -4c501c -644818 -6c6c6c -848424 -985c28 -ac5030 -b03c3c -a03c88 -783ca4 -4c3cac -3840b0 -3854a8 -386890 -387c64 -407c40 -507c38 -687034 -846830 -909090 -a0a034 -ac783c -c06848 -c05858 -b0589c -8c58b8 -6858c0 -505cc0 -5070bc -5084ac -509c80 -5c9c5c -6c9850 -848c4c -a08444 -b0b0b0 -b8b840 -bc8c4c -d0805c -d07070 -c070b0 -a070cc -7c70d0 -6874d0 -6888cc -689cc0 -68b494 -74b474 -84b468 -9ca864 -b89c58 -c8c8c8 -d0d050 -cca05c -e09470 -e08888 -d084c0 -b484dc -9488e0 -7c8ce0 -7c9cdc -7cb4d4 -7cd0ac -8cd08c -9ccc7c -b4c078 -d0b46c -dcdcdc -e8e85c -dcb468 -eca880 -eca0a0 -dc9cd0 -c49cec -a8a0ec -90a4ec -90b4ec -90cce8 -90e4c0 -a4e4a4 -b4e490 -ccd488 -e8cc7c -ececec -fcfc68 -ecc878 -fcbc94 -fcb4b4 -ecb0e0 -d4b0fc -bcb4fc -a4b8fc -a4c8fc -a4e0fc -a4fcd4 -b8fcb8 -c8fca4 -e0ec9c -fce08c -000000 -000000 -000000 -000000 -000000 -000000 -000000 -000000 -000000 -000000 -000000 -000000 -000000 -000000 -000000 -000000 -000000 -000000 -000000 -000000 -000000 -000000 -000000 -000000 -000000 -000000 -000000 -000000 -000000 -000000 -000000 -000000 -000000 -000000 -000000 -000000 -000000 -000000 -000000 -000000 -000000 -000000 -000000 -000000 -000000 -000000 -000000 -000000 -000000 -000000 -000000 -000000 -000000 -000000 -000000 -000000 -000000 -000000 -000000 -000000 -000000 -000000 -000000 -000000 -000000 -000000 -000000 -000000 -000000 -000000 -000000 -000000 -000000 -000000 -000000 -000000 -000000 -000000 -000000 -000000 -000000 -000000 -000000 -000000 -000000 -000000 -000000 -000000 -000000 -000000 -000000 -000000 -000000 -000000 -000000 -000000 -000000 -000000 -000000 -000000 -000000 -000000 -000000 -000000 -000000 -000000 -000000 -000000 -000000 -000000 -000000 -000000 -000000 -000000 -000000 -000000 -000000 -000000 -000000 -000000 -000000 -000000 -000000 -000000 -000000 -000000 -000000 -ffffff \ No newline at end of file diff --git a/assets/palettes/atari2600-pal.hex b/assets/palettes/atari2600-pal.hex deleted file mode 100644 index b537fef..0000000 --- a/assets/palettes/atari2600-pal.hex +++ /dev/null @@ -1,128 +0,0 @@ -000000 -000000 -805800 -445c00 -703400 -006414 -700014 -005c5c -70005c -003c70 -580070 -002070 -3c0080 -000088 -000000 -000000 -404040 -404040 -947020 -5c7820 -885020 -208034 -882034 -207474 -842074 -1c5888 -6c2088 -1c3c88 -542094 -20209c -404040 -404040 -6c6c6c -6c6c6c -a8843c -74903c -a0683c -3c9850 -a03c50 -3c8c8c -943c88 -3874a0 -803ca0 -3858a0 -6c3ca8 -3c3cb0 -6c6c6c -6c6c6c -909090 -909090 -bc9c58 -8cac58 -b48458 -58b06c -b4586c -58a4a4 -a8589c -508cb4 -9458b4 -5074b4 -8058bc -5858c0 -909090 -909090 -b0b0b0 -b0b0b0 -ccac70 -a0c070 -c89870 -70c484 -c87084 -70b8b8 -b470b0 -68a4c8 -a470c8 -6888c8 -9470cc -7070d0 -b0b0b0 -b0b0b0 -c8c8c8 -c8c8c8 -dcc084 -b0d484 -dcac84 -84d89c -dc849c -84c8c8 -c484c0 -7cb8dc -b484dc -7ca0dc -a884dc -8484e0 -c8c8c8 -c8c8c8 -dcdcdc -dcdcdc -ecd09c -c0e89c -ecc09c -9ce8b4 -ec9cb4 -9cdcdc -d09cd0 -90ccec -c49cec -90b4ec -b89cec -9c9cec -dcdcdc -dcdcdc -ececec -ececec -fce0b0 -d4fcb0 -fcd4b0 -b0fcc8 -fcb0c8 -b0ecec -e0b0e0 -a4e0fc -d4b0fc -a4c8fc -c8b0fc -b0b0fc -ececec -ececec \ No newline at end of file diff --git a/assets/palettes/cg-arne.hex b/assets/palettes/cg-arne.hex deleted file mode 100644 index 7bf2ff7..0000000 --- a/assets/palettes/cg-arne.hex +++ /dev/null @@ -1,16 +0,0 @@ -000000 -2234d1 -0c7e45 -44aacc -8a3622 -5c2e78 -aa5c3d -b5b5b5 -5e606e -4c81fb -6cd947 -7be2f9 -eb8a60 -e23d69 -ffd93f -ffffff \ No newline at end of file diff --git a/assets/palettes/cga.hex b/assets/palettes/cga.hex deleted file mode 100644 index a657880..0000000 --- a/assets/palettes/cga.hex +++ /dev/null @@ -1,16 +0,0 @@ -000000 -0000aa -00aa00 -00aaaa -aa0000 -aa00aa -aa5500 -aaaaaa -555555 -5555ff -55ff55 -55ffff -ff5555 -ff55ff -ffff55 -ffffff \ No newline at end of file diff --git a/assets/palettes/commodore-plus4.hex b/assets/palettes/commodore-plus4.hex deleted file mode 100644 index 236f2ca..0000000 --- a/assets/palettes/commodore-plus4.hex +++ /dev/null @@ -1,128 +0,0 @@ -000000 -202020 -5d0800 -003746 -5d006d -004e00 -20116d -202f00 -5d1000 -3e1f00 -013e00 -5d0120 -003f20 -00306d -3e016d -004600 -000000 -404040 -7d2819 -035766 -7d128d -036e00 -40318d -404f00 -7d3000 -5e3f00 -215e00 -7d2140 -035f40 -03508d -5e218d -036619 -000000 -606060 -9c4839 -237786 -9c32ac -238e13 -6051ac -606f13 -9c5013 -7e5f13 -417e13 -9c4160 -237f60 -2370ac -7e41ac -238639 -000000 -808080 -bc6859 -4397a6 -bc52cc -43ad33 -8071cc -808e33 -bc6f33 -9e7f33 -619e33 -bc6180 -439e80 -4390cc -9e61cc -43a659 -000000 -9f9f9f -dc8879 -63b7c6 -dc71ec -63cd53 -9f90ec -9fae53 -dc8f53 -be9f53 -81be53 -dc809f -63be9f -63afec -be81ec -63c679 -000000 -bfbfbf -fca899 -82d7e6 -fc91ff -82ed72 -bfb0ff -bfce72 -fcaf72 -debf72 -a1de72 -fca0bf -82debf -82cfff -dea1ff -82e699 -000000 -dfdfdf -ffc8b9 -a2f7ff -ffb1ff -a2ff92 -dfd0ff -dfee92 -ffcf92 -fedf92 -c1fe92 -ffc0df -a2fedf -a2efff -fec1ff -a2ffb9 -000000 -ffffff -ffe8d9 -c2ffff -ffd1ff -c2ffb2 -fff0ff -ffffb2 -ffefb2 -fffeb2 -e1ffb2 -ffe0ff -c2ffff -c2ffff -ffe1ff -c2ffd9 \ No newline at end of file diff --git a/assets/palettes/commodore-vic20.hex b/assets/palettes/commodore-vic20.hex deleted file mode 100644 index 95d77c1..0000000 --- a/assets/palettes/commodore-vic20.hex +++ /dev/null @@ -1,16 +0,0 @@ -000000 -ffffff -782922 -87d6dd -aa5fb6 -1a8226 -40318d -bfce72 -aa7449 -eab489 -b86962 -c7ffff -ea9ff6 -94e089 -8071cc -ffffb2 \ No newline at end of file diff --git a/assets/palettes/commodore64.hex b/assets/palettes/commodore64.hex deleted file mode 100644 index d661c6d..0000000 --- a/assets/palettes/commodore64.hex +++ /dev/null @@ -1,16 +0,0 @@ -000000 -ffffff -883932 -67b6bd -8b3f96 -55a049 -40318d -bfce72 -8b5429 -574200 -b86962 -505050 -787878 -94e089 -7869c4 -9f9f9f \ No newline at end of file diff --git a/assets/palettes/copper-tech.hex b/assets/palettes/copper-tech.hex deleted file mode 100644 index b30bdc6..0000000 --- a/assets/palettes/copper-tech.hex +++ /dev/null @@ -1,16 +0,0 @@ -262144 -1651dd -898989 -355278 -60748a -91d9f3 -5aa8b2 -6ea92c -bfb588 -f4cd72 -c58843 -9e5b47 -dc392d -5f4351 -ffffff -000000 \ No newline at end of file diff --git a/assets/palettes/cpc-boy.hex b/assets/palettes/cpc-boy.hex deleted file mode 100644 index 845526a..0000000 --- a/assets/palettes/cpc-boy.hex +++ /dev/null @@ -1,32 +0,0 @@ -000000 -1b1b76 -3636d8 -761f28 -623870 -953ea7 -cc3636 -ce4b7a -e3669a -1b761b -197f96 -1986f2 -8c6e1a -8e8e8e -9c9ee7 -e48e2a -eaa597 -fe80fe -54bf47 -37c79f -35cfe4 -8dd836 -b8d1b5 -97e9d1 -edd446 -ebe4a4 -ffffff -f2efe7 -bac375 -859550 -485d48 -293941 \ No newline at end of file diff --git a/assets/palettes/dawnbringer-16.hex b/assets/palettes/dawnbringer-16.hex deleted file mode 100644 index af22469..0000000 --- a/assets/palettes/dawnbringer-16.hex +++ /dev/null @@ -1,16 +0,0 @@ -140C1C -442434 -30346D -4E4A4E -854C30 -346524 -D04648 -757161 -597DCE -D27D2C -8595A1 -6DAA2C -D2AA99 -6DC2CA -DAD45E -DEEED6 diff --git a/assets/palettes/dawnbringer-32.hex b/assets/palettes/dawnbringer-32.hex deleted file mode 100644 index 3490d7c..0000000 --- a/assets/palettes/dawnbringer-32.hex +++ /dev/null @@ -1,32 +0,0 @@ -000000 -222034 -45283C -663931 -8F563B -DF7126 -D9A066 -EEC39A -FBF236 -99E550 -6ABA30 -37946E -4B692F -524B24 -323C39 -3F3F74 -306082 -5B6EE1 -639BFF -5FCDE4 -CBDDFC -FFFFFF -9BADB7 -847E87 -696A6A -595652 -764288 -AC3232 -D95763 -D77BBA -8F974A -8A6F30 diff --git a/assets/palettes/db16.hex b/assets/palettes/db16.hex deleted file mode 100644 index 1868656..0000000 --- a/assets/palettes/db16.hex +++ /dev/null @@ -1,16 +0,0 @@ -140c1c -442434 -30346d -4e4a4e -854c30 -346524 -d04648 -757161 -597dce -d27d2c -8595a1 -6daa2c -d2aa99 -6dc2ca -dad45e -deeed6 \ No newline at end of file diff --git a/assets/palettes/db32.hex b/assets/palettes/db32.hex deleted file mode 100644 index 9f893fd..0000000 --- a/assets/palettes/db32.hex +++ /dev/null @@ -1,32 +0,0 @@ -000000 -222034 -45283c -663931 -8f563b -df7126 -d9a066 -eec39a -fbf236 -99e550 -6abe30 -37946e -4b692f -524b24 -323c39 -3f3f74 -306082 -5b6ee1 -639bff -5fcde4 -cbdbfc -ffffff -9badb7 -847e87 -696a6a -595652 -76428a -ac3232 -d95763 -d77bba -8f974a -8a6f30 \ No newline at end of file diff --git a/assets/palettes/eroge-copper.hex b/assets/palettes/eroge-copper.hex deleted file mode 100644 index 6260c4d..0000000 --- a/assets/palettes/eroge-copper.hex +++ /dev/null @@ -1,16 +0,0 @@ -7d3840 -0d080d -2a2349 -4180a0 -32535f -74adbb -7bb24e -fff9e4 -bebbb2 -fbdf9b -f0bd77 -c59154 -825b31 -e89973 -c16c5b -4f2b24 \ No newline at end of file diff --git a/assets/palettes/gameboy-color-type1.hex b/assets/palettes/gameboy-color-type1.hex deleted file mode 100644 index a50b90a..0000000 --- a/assets/palettes/gameboy-color-type1.hex +++ /dev/null @@ -1,38 +0,0 @@ -000000 -000000 -ffad63 -833100 -ffffff -f7c4a5 -7bff30 -008300 -65a49b -0000fe -ff8584 -943a3a -e60000 -ffe7c5 -ce9c85 -846b29 -5b315b -a56b31 -64a5ff -8b8cde -53528c -a5a5a5 -525252 -949494 -fe9494 -9394fe -ffffa5 -ff00fe -ffff00 -fe0000 -7d4900 -ffff3a -3a2802 -51ff00 -ff4200 -0163c6 -008486 -ffde00 \ No newline at end of file diff --git a/assets/palettes/gameboy.hex b/assets/palettes/gameboy.hex deleted file mode 100644 index a3d3cee..0000000 --- a/assets/palettes/gameboy.hex +++ /dev/null @@ -1,4 +0,0 @@ -9bbc0f -8bac0f -306230 -0f380f \ No newline at end of file diff --git a/assets/palettes/google-ui.hex b/assets/palettes/google-ui.hex deleted file mode 100644 index 000e602..0000000 --- a/assets/palettes/google-ui.hex +++ /dev/null @@ -1,154 +0,0 @@ -f69988 -f36c60 -e84e40 -e51c23 -dd191d -d01716 -c41411 -b0120a -f48fb1 -f06292 -ec407a -e91e63 -d81b60 -c2185b -ad1457 -880e4f -ce93d8 -ba68c8 -ab47bc -9c27b0 -8e24aa -7b1fa2 -6a1b9a -4a148c -b39ddb -9575cd -7e57c2 -673ab7 -5e35b1 -512da8 -4527a0 -311b92 -9fa8da -7986cb -5c6bc0 -3f51b5 -3949ab -303f9f -283593 -1a237e -afbfff -91a7ff -738ffe -5677fc -4e6cef -455ede -3b50ce -2a36b1 -81d4fa -4fc3f7 -29b6f6 -03a9f4 -039be5 -0288d1 -0277bd -01579b -80deea -4dd0e1 -26c6da -00bcd4 -00acc1 -0097a7 -00838f -006064 -80cbc4 -4db6ac -26a69a -009688 -00897b -00796b -00695c -004d40 -72d572 -42bd41 -2baf2b -259b24 -0a8f08 -0a7e07 -056f00 -0d5302 -c5e1a5 -aed581 -9ccc65 -8bc34a -7cb342 -689f38 -558b2f -33691e -e6ee9c -dce775 -d4e157 -cddc39 -c0ca33 -afb42b -9e9d24 -827717 -fff59d -fff176 -ffee58 -ffeb3b -fdd835 -fbc02d -f9a825 -f57f17 -ffe082 -ffd54f -ffca28 -ffc107 -ffb300 -ffa000 -ff8f00 -ff6f00 -ffcc80 -ffb74d -ffa726 -ff9800 -fb8c00 -f57c00 -ef6c00 -e65100 -ffab91 -ff8a65 -ff7043 -ff5722 -f4511e -e64a19 -d84315 -bf360c -bcaaa4 -a1887f -8d6e63 -795548 -6d4c41 -5d4037 -4e342e -3e2723 -eeeeee -e0e0e0 -bdbdbd -9e9e9e -757575 -616161 -424242 -212121 -b0bec5 -90a4ae -78909c -607d8b -546e7a -455a64 -37474f -263238 -000000 -ffffff \ No newline at end of file diff --git a/assets/palettes/jmp.hex b/assets/palettes/jmp.hex deleted file mode 100644 index c6b5b59..0000000 --- a/assets/palettes/jmp.hex +++ /dev/null @@ -1,16 +0,0 @@ -000000 -191028 -46af45 -a1d685 -453e78 -7664fe -833129 -9ec2e8 -dc534b -e18d79 -d6b97b -e9d8a1 -216c4b -d365c8 -afaab9 -f5f4eb \ No newline at end of file diff --git a/assets/palettes/mail24.hex b/assets/palettes/mail24.hex deleted file mode 100644 index d687c32..0000000 --- a/assets/palettes/mail24.hex +++ /dev/null @@ -1,24 +0,0 @@ -17111A -372538 -7A213A -E14141 -FFA070 -C44D29 -FFBF36 -FFF275 -753939 -CF7957 -FFD1AB -39855A -83E04C -DCFF70 -243B61 -3898FF -6EEEFF -682B82 -BF3FB3 -FF80AA -3E375C -7884AB -B2BCC2 -FFFFFF diff --git a/assets/palettes/master-system.hex b/assets/palettes/master-system.hex deleted file mode 100644 index 98857e6..0000000 --- a/assets/palettes/master-system.hex +++ /dev/null @@ -1,32 +0,0 @@ -550055 -aa55aa -ffaaff -000055 -5555aa -aaaaff -55aaaa -005555 -aaffff -005500 -aaffaa -55aa00 -aaff00 -aaaa00 -555500 -ffff55 -aaaa55 -ffffaa -ffaa00 -aa5500 -ffaa55 -ff5500 -ff0000 -aa0000 -550000 -ff5555 -aa5555 -ffaaaa -ffffff -aaaaaa -555555 -000000 \ No newline at end of file diff --git a/assets/palettes/matriax8c.hex b/assets/palettes/matriax8c.hex deleted file mode 100644 index e094635..0000000 --- a/assets/palettes/matriax8c.hex +++ /dev/null @@ -1,8 +0,0 @@ -F0F0DC -FAC800 -10C840 -00A0C8 -D24040 -A06E46 -736464 -101820 diff --git a/assets/palettes/monokai.hex b/assets/palettes/monokai.hex deleted file mode 100644 index eeca2f4..0000000 --- a/assets/palettes/monokai.hex +++ /dev/null @@ -1,12 +0,0 @@ -000000 -1b1d1e -272820 -3e3d32 -75715e -f8f8f2 -f92672 -fd971f -e6db74 -66d9ef -a6e22e -ae81ff \ No newline at end of file diff --git a/assets/palettes/nes-ntsc.hex b/assets/palettes/nes-ntsc.hex deleted file mode 100644 index ce5d2d5..0000000 --- a/assets/palettes/nes-ntsc.hex +++ /dev/null @@ -1,56 +0,0 @@ -feffff -feffff -a0a0a0 -525252 -bed6fd -699efc -1e4a9d -011a51 -ccccff -8987ff -3837bc -0f0f65 -ddc4ff -ae76ff -5828b8 -230663 -eac0f9 -ce6df1 -752194 -36034b -f2c1df -e070b2 -84235c -400426 -f1c7c2 -de7c70 -822e24 -3f0904 -e8d0aa -c8913e -6f3f00 -321300 -d9da9d -a6a725 -515200 -1f2000 -c9e29e -81ba28 -316300 -0b2a00 -bce6ae -63c446 -1a6b05 -002f00 -b4e5c7 -54c17d -0e692e -002e0a -b5dfe4 -56b3c0 -105c68 -00262d -a9a9a9 -3c3c3c -000000 -000000 \ No newline at end of file diff --git a/assets/palettes/nes.hex b/assets/palettes/nes.hex deleted file mode 100644 index 90574c7..0000000 --- a/assets/palettes/nes.hex +++ /dev/null @@ -1,56 +0,0 @@ -000000 -000000 -797979 -a2a2a2 -305182 -4192c3 -61d3e3 -a2fff3 -306141 -49a269 -71e392 -a2ffcb -386d00 -49aa10 -71f341 -a2f3a2 -386900 -51a200 -9aeb00 -cbf382 -495900 -8a8a00 -ebd320 -fff392 -794100 -c37100 -ffa200 -ffdba2 -a23000 -e35100 -ff7930 -ffcbba -b21030 -db4161 -ff61b2 -ffbaeb -9a2079 -db41c3 -f361ff -e3b2ff -6110a2 -9241f3 -a271ff -c3b2ff -2800ba -4141ff -5182ff -a2baff -2000b2 -4161fb -61a2ff -92d3ff -797979 -b2b2b2 -ebebeb -ffffff \ No newline at end of file diff --git a/assets/palettes/nyx8.hex b/assets/palettes/nyx8.hex deleted file mode 100644 index 410f341..0000000 --- a/assets/palettes/nyx8.hex +++ /dev/null @@ -1,8 +0,0 @@ -08141E -0F2A3F -20394F -F6D6BD -C3A38A -997577 -816271 -4E495F diff --git a/assets/palettes/psygnork.hex b/assets/palettes/psygnork.hex deleted file mode 100644 index 3105b45..0000000 --- a/assets/palettes/psygnork.hex +++ /dev/null @@ -1,16 +0,0 @@ -a2324e -443f41 -1b1e29 -362747 -64647c -516cbf -cbe8f7 -9ea4a7 -003308 -084a3c -546a00 -52524c -736150 -77785b -e08b79 -000000 \ No newline at end of file diff --git a/assets/palettes/rosy-42.hex b/assets/palettes/rosy-42.hex deleted file mode 100644 index 713cc1a..0000000 --- a/assets/palettes/rosy-42.hex +++ /dev/null @@ -1,42 +0,0 @@ -21181B -3B2027 -7D3833 -AB5130 -CF752B -F0B541 -FFEE83 -C8D45D -63AB3F -3B7D4F -2F5753 -283540 -1B1F21 -2B2B45 -3A3F5E -4C6885 -4FA4B8 -92E8C0 -F5FFE8 -DFE0E8 -A3A7C2 -686F99 -404973 -2C354D -14182E -4B1D52 -692464 -9C2A70 -CC2F7B -FF5277 -FFC2A1 -FF8933 -E64539 -AD2F45 -781D4F -4F1D4C -291D2B -3D2936 -52333F -8F4D57 -BD6A62 -FFAE70 \ No newline at end of file diff --git a/assets/palettes/simplejpc-16.hex b/assets/palettes/simplejpc-16.hex deleted file mode 100644 index c629ba3..0000000 --- a/assets/palettes/simplejpc-16.hex +++ /dev/null @@ -1,16 +0,0 @@ -050403 -221F31 -543516 -9B6E2D -E1B047 -F5EE9B -FEFEFE -8BE1E0 -7CC264 -678FCB -316F23 -404A68 -A14D3F -A568D4 -9A93B7 -EA9182 \ No newline at end of file diff --git a/assets/palettes/smile-basic.hex b/assets/palettes/smile-basic.hex deleted file mode 100644 index f42e570..0000000 --- a/assets/palettes/smile-basic.hex +++ /dev/null @@ -1,18 +0,0 @@ -00f8f8 -000000 -0000ff -0000f8 -f800f8 -808080 -008000 -00f800 -f800f8 -800000 -000080 -808000 -800080 -f80000 -c0c0c0 -008080 -f8f8f8 -f8f800 \ No newline at end of file diff --git a/assets/palettes/solarized.hex b/assets/palettes/solarized.hex deleted file mode 100644 index fe91d38..0000000 --- a/assets/palettes/solarized.hex +++ /dev/null @@ -1,16 +0,0 @@ -002b36 -073642 -586e75 -657b83 -839496 -93a1a1 -eee8d5 -fdf6e3 -b58900 -cb4b16 -dc322f -d33682 -6c71c4 -268bd2 -2aa198 -859900 \ No newline at end of file diff --git a/assets/palettes/teletext.hex b/assets/palettes/teletext.hex deleted file mode 100644 index 412a8c3..0000000 --- a/assets/palettes/teletext.hex +++ /dev/null @@ -1,8 +0,0 @@ -000000 -0000ff -ff0000 -ff00ff -00ff00 -00ffff -ffff00 -ffffff \ No newline at end of file diff --git a/assets/palettes/vga-13h.hex b/assets/palettes/vga-13h.hex deleted file mode 100644 index ffd6c8a..0000000 --- a/assets/palettes/vga-13h.hex +++ /dev/null @@ -1,256 +0,0 @@ -000000 -0000aa -00aa00 -00aaaa -aa0000 -aa00aa -aa5500 -aaaaaa -555555 -5555ff -55ff55 -55ffff -ff5555 -ff55ff -ffff55 -ffffff -000000 -101010 -202020 -353535 -454545 -555555 -656565 -757575 -8a8a8a -9a9a9a -aaaaaa -bababa -cacaca -dfdfdf -efefef -ffffff -0000ff -4100ff -8200ff -be00ff -ff00ff -ff00be -ff0082 -ff0041 -ff0000 -ff4100 -ff8200 -ffbe00 -ffff00 -beff00 -82ff00 -41ff00 -00ff00 -00ff41 -00ff82 -00ffbe -00ffff -00beff -0082ff -0041ff -8282ff -9e82ff -be82ff -df82ff -ff82ff -ff82df -ff82be -ff829e -ff8282 -ff9e82 -ffbe82 -ffdf82 -ffff82 -dfff82 -beff82 -9eff82 -82ff82 -82ff9e -82ffbe -82ffdf -82ffff -82dfff -82beff -829eff -babaff -cabaff -dfbaff -efbaff -ffbaff -ffbaef -ffbadf -ffbaca -ffbaba -ffcaba -ffdfba -ffefba -ffffba -efffba -dfffba -caffba -baffba -baffca -baffdf -baffef -baffff -baefff -badfff -bacaff -000071 -1c0071 -390071 -550071 -710071 -710055 -710039 -71001c -710000 -711c00 -713900 -715500 -717100 -557100 -397100 -1c7100 -007100 -00711c -007139 -007155 -007171 -005571 -003971 -001c71 -393971 -453971 -553971 -613971 -713971 -713961 -713955 -713945 -713939 -714539 -715539 -716139 -717139 -617139 -557139 -457139 -397139 -397145 -397155 -397161 -397171 -396171 -395571 -394571 -515171 -595171 -615171 -695171 -715171 -715169 -715161 -715159 -715151 -715951 -716151 -716951 -717151 -697151 -617151 -597151 -517151 -517159 -517161 -517169 -517171 -516971 -516171 -515971 -000041 -100041 -200041 -310041 -410041 -410031 -410020 -410010 -410000 -411000 -412000 -413100 -414100 -314100 -204100 -104100 -004100 -004110 -004120 -004131 -004141 -003141 -002041 -001041 -202041 -282041 -312041 -392041 -412041 -412039 -412031 -412028 -412020 -412820 -413120 -413920 -414120 -394120 -314120 -284120 -204120 -204128 -204131 -204139 -204141 -203941 -203141 -202841 -2d2d41 -312d41 -352d41 -3d2d41 -412d41 -412d3d -412d35 -412d31 -412d2d -41312d -41352d -413d2d -41412d -3d412d -35412d -31412d -2d412d -2d4131 -2d4135 -2d413d -2d4141 -2d3d41 -2d3541 -2d3141 -000000 -000000 -000000 -000000 -000000 -000000 -000000 -000000 \ No newline at end of file diff --git a/assets/palettes/web-safe-colors.hex b/assets/palettes/web-safe-colors.hex deleted file mode 100644 index ef9fec8..0000000 --- a/assets/palettes/web-safe-colors.hex +++ /dev/null @@ -1,216 +0,0 @@ -ffffff -ffffcc -ffff99 -ffff66 -ffff33 -ffff00 -ffccff -ffcccc -ffcc99 -ffcc66 -ffcc33 -ffcc00 -ff99ff -ff99cc -ff9999 -ff9966 -ff9933 -ff9900 -ff66ff -ff66cc -ff6699 -ff6666 -ff6633 -ff6600 -ff33ff -ff33cc -ff3399 -ff3366 -ff3333 -ff3300 -ff00ff -ff00cc -ff0099 -ff0066 -ff0033 -ff0000 -ccffff -ccffcc -ccff99 -ccff66 -ccff33 -ccff00 -ccccff -cccccc -cccc99 -cccc66 -cccc33 -cccc00 -cc99ff -cc99cc -cc9999 -cc9966 -cc9933 -cc9900 -cc66ff -cc66cc -cc6699 -cc6666 -cc6633 -cc6600 -cc33ff -cc33cc -cc3399 -cc3366 -cc3333 -cc3300 -cc00ff -cc00cc -cc0099 -cc0066 -cc0033 -cc0000 -99ffff -99ffcc -99ff99 -99ff66 -99ff33 -99ff00 -99ccff -99cccc -99cc99 -99cc66 -99cc33 -99cc00 -9999ff -9999cc -999999 -999966 -999933 -999900 -9966ff -9966cc -996699 -996666 -996633 -996600 -9933ff -9933cc -993399 -993366 -993333 -993300 -9900ff -9900cc -990099 -990066 -990033 -990000 -66ffff -66ffcc -66ff99 -66ff66 -66ff33 -66ff00 -66ccff -66cccc -66cc99 -66cc66 -66cc33 -66cc00 -6699ff -6699cc -669999 -669966 -669933 -669900 -6666ff -6666cc -666699 -666666 -666633 -666600 -6633ff -6633cc -663399 -663366 -663333 -663300 -6600ff -6600cc -660099 -660066 -660033 -660000 -33ffff -33ffcc -33ff99 -33ff66 -33ff33 -33ff00 -33ccff -33cccc -33cc99 -33cc66 -33cc33 -33cc00 -3399ff -3399cc -339999 -339966 -339933 -339900 -3366ff -3366cc -336699 -336666 -336633 -336600 -3333ff -3333cc -333399 -333366 -333333 -333300 -3300ff -3300cc -330099 -330066 -330033 -330000 -00ffff -00ffcc -00ff99 -00ff66 -00ff33 -00ff00 -00ccff -00cccc -00cc99 -00cc66 -00cc33 -00cc00 -0099ff -0099cc -009999 -009966 -009933 -009900 -0066ff -0066cc -006699 -006666 -006633 -006600 -0033ff -0033cc -003399 -003366 -003333 -003300 -0000ff -0000cc -000099 -000066 -000033 -000000 \ No newline at end of file diff --git a/assets/palettes/win16.hex b/assets/palettes/win16.hex deleted file mode 100644 index bc3bad6..0000000 --- a/assets/palettes/win16.hex +++ /dev/null @@ -1,16 +0,0 @@ -000000 -820000 -008200 -828200 -000082 -820082 -008282 -c3c3c3 -828282 -ff0000 -00ff00 -ffff00 -0000ff -ff00ff -00ffff -ffffff \ No newline at end of file diff --git a/assets/palettes/x11.hex b/assets/palettes/x11.hex deleted file mode 100644 index d9dc260..0000000 --- a/assets/palettes/x11.hex +++ /dev/null @@ -1,138 +0,0 @@ -000000 -fffafa -f8f8ff -f5f5f5 -dcdcdc -fffaf0 -fdf5e6 -faf0e6 -faebd7 -ffefd5 -ffebcd -ffe4c4 -ffdab9 -ffdead -ffe4b5 -fff8dc -fffff0 -fffacd -fff5ee -f0fff0 -f5fffa -f0ffff -f0f8ff -e6e6fa -fff0f5 -ffe4e1 -ffffff -000000 -2f4f4f -696969 -708090 -778899 -bebebe -d3d3d3 -d3d3d3 -191970 -000080 -000080 -6495ed -483d8b -6a5acd -7b68ee -8470ff -0000cd -4169e1 -0000ff -1e90ff -00bfff -87ceeb -87cefa -4682b4 -b0c4de -add8e6 -b0e0e6 -afeeee -00ced1 -48d1cc -40e0d0 -00ffff -e0ffff -5f9ea0 -66cdaa -7fffd4 -006400 -556b2f -8fbc8f -2e8b57 -3cb371 -20b2aa -98fb98 -00ff7f -7cfc00 -00ff00 -7fff00 -00fa9a -adff2f -32cd32 -9acd32 -228b22 -6b8e23 -bdb76b -f0e68c -eee8aa -fafad2 -ffffe0 -ffff00 -ffd700 -eedd82 -daa520 -b8860b -bc8f8f -cd5c5c -8b4513 -a0522d -cd853f -deb887 -f5f5dc -f5deb3 -f4a460 -d2b48c -d2691e -b22222 -a52a2a -e9967a -fa8072 -ffa07a -ffa500 -ff8c00 -ff7f50 -f08080 -ff6347 -ff4500 -ff0000 -ff69b4 -ff1493 -ffc0cb -ffb6c1 -db7093 -b03060 -c71585 -d02090 -ff00ff -ee82ee -dda0dd -da70d6 -ba55d3 -9932cc -9400d3 -8a2be2 -a020f0 -9370db -d8bfd8 -a9a9a9 -00008b -008b8b -8b008b -8b0000 -90ee90 \ No newline at end of file diff --git a/assets/palettes/zughy-32.hex b/assets/palettes/zughy-32.hex deleted file mode 100644 index 698b4e5..0000000 --- a/assets/palettes/zughy-32.hex +++ /dev/null @@ -1,32 +0,0 @@ -472d3c -5e3643 -7a444a -a05b53 -bf7958 -eea160 -f4cca1 -b6d53c -71aa34 -397b44 -3c5956 -302c2e -5a5353 -7d7071 -a0938e -cfc6b8 -dff6f5 -8aebf1 -28ccdf -3978a8 -394778 -39314b -564064 -8e478c -cd6093 -ffaeb6 -f4b41b -f47e1b -e6482e -a93b3b -827094 -4f546b diff --git a/assets/palettes/zx-spectrum.hex b/assets/palettes/zx-spectrum.hex deleted file mode 100644 index 797b1cd..0000000 --- a/assets/palettes/zx-spectrum.hex +++ /dev/null @@ -1,16 +0,0 @@ -000000 -0000c0 -c00000 -c000c0 -00c000 -00c0c0 -c0c000 -c0c0c0 -000000 -0000ff -ff0000 -ff00ff -00ff00 -00ffff -ffff00 -ffffff \ No newline at end of file diff --git a/src/assets.zig b/src/assets.zig index bf41b44..8151978 100644 --- a/src/assets.zig +++ b/src/assets.zig @@ -32,10 +32,58 @@ pub const fox_bg_png = struct { pub const path = "assets/fox_bg.png"; }; +pub const atari2600_ntsc_hex = struct { + pub const path = "assets/palettes/atari2600-ntsc.hex"; +}; + +pub const dawnbringer_16_hex = struct { + pub const path = "assets/palettes/dawnbringer-16.hex"; +}; + +pub const nyx8_hex = struct { + pub const path = "assets/palettes/nyx8.hex"; +}; + +pub const win16_hex = struct { + pub const path = "assets/palettes/win16.hex"; +}; + +pub const endesga_16_hex = struct { + pub const path = "assets/palettes/endesga-16.hex"; +}; + pub const pear36_hex = struct { pub const path = "assets/palettes/pear36.hex"; }; +pub const aap_16_hex = struct { + pub const path = "assets/palettes/aap-16.hex"; +}; + +pub const google_ui_hex = struct { + pub const path = "assets/palettes/google-ui.hex"; +}; + +pub const matriax8c_hex = struct { + pub const path = "assets/palettes/matriax8c.hex"; +}; + +pub const arne_32_hex = struct { + pub const path = "assets/palettes/arne-32.hex"; +}; + +pub const gameboy_hex = struct { + pub const path = "assets/palettes/gameboy.hex"; +}; + +pub const smile_basic_hex = struct { + pub const path = "assets/palettes/smile-basic.hex"; +}; + +pub const mail24_hex = struct { + pub const path = "assets/palettes/mail24.hex"; +}; + pub const pico_8_hex = struct { pub const path = "assets/palettes/pico-8.hex"; }; @@ -48,15 +96,147 @@ pub const lospec500_hex = struct { pub const path = "assets/palettes/lospec500.hex"; }; +pub const arne_paldac_hex = struct { + pub const path = "assets/palettes/arne-paldac.hex"; +}; + +pub const gameboy_color_type1_hex = struct { + pub const path = "assets/palettes/gameboy-color-type1.hex"; +}; + +pub const aap_64_hex = struct { + pub const path = "assets/palettes/aap-64.hex"; +}; + +pub const simplejpc_16_hex = struct { + pub const path = "assets/palettes/simplejpc-16.hex"; +}; + +pub const nes_ntsc_hex = struct { + pub const path = "assets/palettes/nes-ntsc.hex"; +}; + +pub const cg_arne_hex = struct { + pub const path = "assets/palettes/cg-arne.hex"; +}; + +pub const jmp_hex = struct { + pub const path = "assets/palettes/jmp.hex"; +}; + +pub const x11_hex = struct { + pub const path = "assets/palettes/x11.hex"; +}; + +pub const teletext_hex = struct { + pub const path = "assets/palettes/teletext.hex"; +}; + +pub const master_system_hex = struct { + pub const path = "assets/palettes/master-system.hex"; +}; + +pub const cga_hex = struct { + pub const path = "assets/palettes/cga.hex"; +}; + +pub const aap_micro12_hex = struct { + pub const path = "assets/palettes/aap-micro12.hex"; +}; + +pub const apple_ii_hex = struct { + pub const path = "assets/palettes/apple-ii.hex"; +}; + +pub const monokai_hex = struct { + pub const path = "assets/palettes/monokai.hex"; +}; + +pub const zx_spectrum_hex = struct { + pub const path = "assets/palettes/zx-spectrum.hex"; +}; + +pub const web_safe_colors_hex = struct { + pub const path = "assets/palettes/web-safe-colors.hex"; +}; + +pub const aap_splendor128_hex = struct { + pub const path = "assets/palettes/aap-splendor128.hex"; +}; + +pub const commodore64_hex = struct { + pub const path = "assets/palettes/commodore64.hex"; +}; + +pub const solarized_hex = struct { + pub const path = "assets/palettes/solarized.hex"; +}; + +pub const copper_tech_hex = struct { + pub const path = "assets/palettes/copper-tech.hex"; +}; + +pub const cpc_boy_hex = struct { + pub const path = "assets/palettes/cpc-boy.hex"; +}; + +pub const arne_16_hex = struct { + pub const path = "assets/palettes/arne-16.hex"; +}; + +pub const zughy_32_hex = struct { + pub const path = "assets/palettes/zughy-32.hex"; +}; + +pub const a64_hex = struct { + pub const path = "assets/palettes/a64.hex"; +}; + +pub const atari2600_pal_hex = struct { + pub const path = "assets/palettes/atari2600-pal.hex"; +}; + +pub const rosy_42_hex = struct { + pub const path = "assets/palettes/rosy-42.hex"; +}; + pub const resurrect_64_hex = struct { pub const path = "assets/palettes/resurrect-64.hex"; }; +pub const commodore_plus4_hex = struct { + pub const path = "assets/palettes/commodore-plus4.hex"; +}; + +pub const nes_hex = struct { + pub const path = "assets/palettes/nes.hex"; +}; + pub const endesga_32_hex = struct { pub const path = "assets/palettes/endesga-32.hex"; }; +pub const eroge_copper_hex = struct { + pub const path = "assets/palettes/eroge-copper.hex"; +}; + +pub const commodore_vic20_hex = struct { + pub const path = "assets/palettes/commodore-vic20.hex"; +}; + +pub const psygnork_hex = struct { + pub const path = "assets/palettes/psygnork.hex"; +}; + pub const apollo_hex = struct { pub const path = "assets/palettes/apollo.hex"; }; +pub const vga_13h_hex = struct { + pub const path = "assets/palettes/vga-13h.hex"; +}; + +pub const dawnbringer_32_hex = struct { + pub const path = "assets/palettes/dawnbringer-32.hex"; +}; + diff --git a/src/editor/Sidebar.zig b/src/editor/Sidebar.zig index 5a9290c..68ba088 100644 --- a/src/editor/Sidebar.zig +++ b/src/editor/Sidebar.zig @@ -6,12 +6,16 @@ const imgui = @import("zig-imgui"); pub const Sidebar = @This(); pub const mach_module = .sidebar; -pub const mach_systems = .{ .init, .draw }; +pub const mach_systems = .{ .init, .deinit, .draw }; pub fn init(sidebar: *Sidebar) !void { sidebar.* = .{}; } +pub fn deinit(_: *Sidebar) void { + // TODO: Free memory +} + pub fn draw(_: *Core, app: *Pixi) !void { imgui.pushStyleVar(imgui.StyleVar_WindowRounding, 0.0); defer imgui.popStyleVar(); diff --git a/src/editor/artboard/Artboard.zig b/src/editor/artboard/Artboard.zig index 7e8b2e7..6b80c40 100644 --- a/src/editor/artboard/Artboard.zig +++ b/src/editor/artboard/Artboard.zig @@ -9,7 +9,7 @@ const imgui = @import("zig-imgui"); pub const Artboard = @This(); pub const mach_module = .artboard; -pub const mach_systems = .{ .init, .draw }; +pub const mach_systems = .{ .init, .deinit, .draw }; pub const menu = @import("menu.zig"); pub const rulers = @import("rulers.zig"); @@ -29,6 +29,8 @@ pub fn init(artboard: *Artboard) void { }; } +pub fn deinit() void {} + pub fn draw(artboard: *Artboard, core: *Core, app: *Pixi) !void { imgui.pushStyleVar(imgui.StyleVar_WindowRounding, 0.0); defer imgui.popStyleVar(); diff --git a/src/editor/explorer/Explorer.zig b/src/editor/explorer/Explorer.zig index 00ef528..0d80226 100644 --- a/src/editor/explorer/Explorer.zig +++ b/src/editor/explorer/Explorer.zig @@ -7,7 +7,7 @@ const Core = @import("mach").Core; pub const Explorer = @This(); pub const mach_module = .explorer; -pub const mach_systems = .{ .init, .draw }; +pub const mach_systems = .{ .init, .deinit, .draw }; pub const files = @import("files.zig"); pub const tools = @import("tools.zig"); @@ -22,6 +22,10 @@ pub fn init(explorer: *Explorer) !void { explorer.* = .{}; } +pub fn deinit(_: *Explorer) void { + // TODO: Free memory +} + pub fn draw(core: *Core, app: *Pixi) !void { imgui.pushStyleVar(imgui.StyleVar_WindowRounding, 0.0); imgui.pushStyleVar(imgui.StyleVar_WindowBorderSize, 0.0); diff --git a/src/editor/popups/Popups.zig b/src/editor/popups/Popups.zig index e9c8771..0d69c95 100644 --- a/src/editor/popups/Popups.zig +++ b/src/editor/popups/Popups.zig @@ -8,7 +8,7 @@ const zstbi = @import("zstbi"); const Popups = @This(); pub const mach_module = .popups; -pub const mach_systems = .{ .init, .draw, .deinit }; +pub const mach_systems = .{ .init, .deinit, .draw }; pub const popup_rename = @import("rename.zig"); pub const popup_file_setup = @import("file_setup.zig"); @@ -99,7 +99,7 @@ pub fn init(popups: *Popups) !void { popups.* = .{}; } -pub fn draw(_: *Core, _: *Pixi) !void { +pub fn draw() !void { try popup_rename.draw(); try popup_file_setup.draw(); try popup_about.draw(); @@ -111,11 +111,8 @@ pub fn draw(_: *Core, _: *Pixi) !void { try popup_references.draw(); } -pub fn deinit(popups: *Popups, app: *Pixi) void { - _ = popups; - _ = app; - - // TODO: Free all popup path memory +pub fn deinit() void { + // TODO: Free memory } pub fn anyPopupOpen(popups: *Popups) bool {