micromenu/inc/hal.h

34 lines
490 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-11-01 18:39:19 +00:00
void hal_init();
void hal_draw(int x, int y);
void hal_print(int x, int y, const char* str);
2018-11-01 13:37:30 +00:00
void render(Layout&);
2018-11-02 08:27:20 +00:00
void hal_render();
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