micromenu/inc/hal.h

33 lines
460 B
C
Raw Normal View History

2018-10-19 11:49:11 +00:00
2018-10-28 13:01:25 +00:00
#ifndef _HAL_H_
#define _HAL_H_
2018-11-01 13:37:30 +00:00
#include "col.h"
2018-10-19 11:49:11 +00:00
2018-11-01 13:37:30 +00:00
#define I_LEFT 0
#define I_RIGHT 0
#define I_UP 0
#define I_DOWN 0
void debug(const char* str);
2018-10-28 13:01:25 +00:00
void setup();
void draw(int x, int y);
2018-11-01 13:37:30 +00:00
void print(int x, int y, const char* str);
void render(Layout&);
2018-10-28 19:06:26 +00:00
void quit();
2018-10-19 11:49:11 +00:00
2018-11-01 13:37:30 +00:00
extern bool input[4];
2018-10-19 11:49:11 +00:00
#ifndef LINUX
void * operator new(unsigned int size);
void operator delete(void * ptr);
#endif
2018-10-28 13:01:25 +00:00
extern const int SCREEN_WIDTH;
extern const int SCREEN_HEIGHT;
#endif