2018-10-19 11:49:11 +00:00
|
|
|
|
2018-10-28 13:01:25 +00:00
|
|
|
#ifndef _HAL_H_
|
|
|
|
#define _HAL_H_
|
|
|
|
|
2018-10-19 11:49:11 +00:00
|
|
|
|
|
|
|
void print(const char* str);
|
2018-10-28 13:01:25 +00:00
|
|
|
void print(char str);
|
2018-10-19 11:49:11 +00:00
|
|
|
void print(int str);
|
2018-10-28 13:01:25 +00:00
|
|
|
void setup();
|
|
|
|
void draw(int x, int y);
|
|
|
|
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
|
|
|
|
|
|
|
extern const int SCREEN_WIDTH;
|
|
|
|
extern const int SCREEN_HEIGHT;
|
|
|
|
|
|
|
|
#endif
|