micromenu/inc/hal/hal.h

28 lines
377 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
#define I_LEFT 0
2018-11-06 08:04:43 +00:00
#define I_RIGHT 1
#define I_UP 2
#define I_DOWN 3
2018-11-01 13:37:30 +00:00
void debug(const char* str);
2018-11-01 18:39:19 +00:00
void hal_init();
2018-11-06 15:06:05 +00:00
void hal_init_screen(int w, int h);
2018-11-01 18:39:19 +00:00
void hal_draw(int x, int y);
2018-11-02 08:27:20 +00:00
void hal_render();
2018-11-05 20:09:01 +00:00
void render();
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
#endif