Groundwork for sys, palette
This commit is contained in:
@ -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];
|
@ -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
|
||||
|
Reference in New Issue
Block a user