diff options
author | kdx <kikoodx@paranoici.org> | 2023-04-17 19:40:36 +0200 |
---|---|---|
committer | kdx <kikoodx@paranoici.org> | 2023-04-17 19:40:36 +0200 |
commit | 98c3b7c522c356d96cde61d73949ab885b47022d (patch) | |
tree | baa4b70d08ec4cc70a59801d190da8b2f0fccd36 | |
parent | aac91f728e15a58eccab50e35893105173c6e855 (diff) | |
download | px-98c3b7c522c356d96cde61d73949ab885b47022d.tar.gz |
enough
-rw-r--r-- | src/main.c | 18 |
1 files changed, 0 insertions, 18 deletions
@@ -55,24 +55,6 @@ main(void) pxPset(1, 0, 10); pxPset(0, 1, pxPget(0, 0)); - if (TZR_GetTick() / 60 % 2) - pxSpal(1, 0); - else { - PxCol cols[16] ={ 0, 1, 2, 3, 4, 5, 6, 7, - 8, 9, 10, 11, 12, 13, 14, 15}; - for (int i = 0; i < 1024; i++) { - const int i = rand() % 16; - const int k = rand() % 16; - if (i == k) - continue; - cols[i] ^= cols[k]; - cols[k] ^= cols[i]; - cols[i] ^= cols[k]; - } - for (int i = 0; i < 16; i++) - pxSpal(i, cols[i]); - } - TZR_DrawBegin(); pxFlip(); TZR_DrawEnd(); |