Groundwork for sys, palette

This commit is contained in:
2024-02-25 17:54:57 -08:00
parent 56eaee9d08
commit 95c03d25d5
8 changed files with 201 additions and 8 deletions

View File

@ -1,5 +1,7 @@
#include <stdbool.h>
#include "device.h"
uint32_t device_pixels[DEVICE_H][DEVICE_W];
uint8_t device_pixels[DEVICE_H][DEVICE_W];
uint32_t device_palette[256];
bool device_buttons[DEVICE_BUTTON_N];

View File

@ -22,7 +22,9 @@ typedef enum {
DEVICE_BUTTON_N=8,
} DeviceButton;
extern uint32_t device_pixels[DEVICE_H][DEVICE_W];
extern uint8_t device_pixels[DEVICE_H][DEVICE_W];
extern uint32_t device_palette[256];
extern bool device_buttons[DEVICE_BUTTON_N];
#endif //CROCPARTY_DEVICE_H