micromenu/inc/hal/hal.h
2018-11-06 16:06:05 +01:00

27 lines
377 B
C

#ifndef _HAL_H_
#define _HAL_H_
#define I_LEFT 0
#define I_RIGHT 1
#define I_UP 2
#define I_DOWN 3
void debug(const char* str);
void hal_init();
void hal_init_screen(int w, int h);
void hal_draw(int x, int y);
void hal_render();
void render();
extern bool input[4];
#ifndef LINUX
void * operator new(unsigned int size);
void operator delete(void * ptr);
#endif
#endif