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
|
|
|
|
2018-12-04 12:20:42 +00:00
|
|
|
void debug(int);
|
2018-11-01 13:37:30 +00:00
|
|
|
void debug(const char* str);
|
2018-11-06 15:06:05 +00:00
|
|
|
void hal_init_screen(int w, int h);
|
2018-11-06 17:30:21 +00:00
|
|
|
void hal_poll_input(bool *ptr);
|
2018-12-01 19:26:05 +00:00
|
|
|
void hal_clear();
|
|
|
|
void hal_draw(int x, int y, int b);
|
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
|
|
|
|
|
|
|
#ifndef LINUX
|
|
|
|
|
|
|
|
void * operator new(unsigned int size);
|
|
|
|
void operator delete(void * ptr);
|
|
|
|
|
|
|
|
#endif
|
2018-10-28 13:01:25 +00:00
|
|
|
|
|
|
|
#endif
|