22 lines
343 B
C
22 lines
343 B
C
|
|
#ifndef _HAL_H_
|
|
#define _HAL_H_
|
|
|
|
|
|
void debug(int);
|
|
void debug(const char* str);
|
|
void hal_init_screen(int w, int h);
|
|
void hal_poll_input(bool *ptr);
|
|
void hal_clear();
|
|
void hal_draw(int x, int y, int b);
|
|
void hal_render();
|
|
void render();
|
|
|
|
#ifndef LINUX
|
|
|
|
void * operator new(unsigned int size);
|
|
void operator delete(void * ptr);
|
|
|
|
#endif
|
|
|
|
#endif
|