commit 7c64f22

chld  ·  2026-07-22 00:19:57 +0000 UTC
parent 56e369a
cotton.h
2 files changed,  +22, -4
+19, -4
 1@@ -3,9 +3,23 @@
 2 
 3 #include <stdint.h>
 4 
 5-#define MEMORY_SIZE  (1024 * 1024)
 6-#define VIDEO_WIDTH  200
 7-#define VIDEO_HEIGHT 125
 8+#define MEMORY_SIZE  (64 * 1024)
 9+#define VIDEO_WIDTH  250
10+#define VIDEO_HEIGHT 200
11+
12+#define COTTOLETTE_SIZE 7 // would be 6 but due to high demand we invited green into the mix because green is cool <3
13+
14+// i might work on better names another time xP
15+static const uint32_t COTTOLETTE[COTTOLETTE_SIZE] = 
16+{
17+    0xFF000000, // 0 - black
18+    0xFFFFFFFF, // 1 - white
19+    0xFF28262C, // 2 - rey
20+    0xFFA9A0CF, // 3 - wist
21+    0xFFE4D8FD, // 4 - wink
22+    0xFFF9F5FF, // 5 - laven
23+    0xFFD0F0C0, // 6 - the dude nobody invited (geen)
24+};
25 
26 typedef struct
27 {
28@@ -17,7 +31,8 @@ typedef struct
29     int cursor_y;
30 
31     uint32_t ticktock;
32-
33+    uint32_t c_cottolette; //id write "current_cottolete" but that would be alot to type and im lazyyyyyyy bwaaaaaa
34+    
35 } Cotton;
36 
37 void cotton_init(Cotton *c);
+3, -0
1@@ -0,0 +1,3 @@
2+print "cotton COTTON cotton"
3+wait 10
4+kill