cleanup prototype code
This commit is contained in:
parent
d958452e48
commit
bfef6fdc1e
17 changed files with 272 additions and 243 deletions
31
inc/hal/hal.h
Normal file
31
inc/hal/hal.h
Normal file
|
|
@ -0,0 +1,31 @@
|
|||
|
||||
#ifndef _HAL_H_
|
||||
#define _HAL_H_
|
||||
|
||||
#define I_LEFT 0
|
||||
#define I_RIGHT 0
|
||||
#define I_UP 0
|
||||
#define I_DOWN 0
|
||||
|
||||
|
||||
void debug(const char* str);
|
||||
void hal_init();
|
||||
void hal_draw(int x, int y);
|
||||
void hal_print(int x, int y, const char* str);
|
||||
void hal_render();
|
||||
void render();
|
||||
void quit();
|
||||
|
||||
extern bool input[4];
|
||||
|
||||
#ifndef LINUX
|
||||
|
||||
void * operator new(unsigned int size);
|
||||
void operator delete(void * ptr);
|
||||
|
||||
#endif
|
||||
|
||||
extern const int SCREEN_WIDTH;
|
||||
extern const int SCREEN_HEIGHT;
|
||||
|
||||
#endif
|
||||
Loading…
Add table
Add a link
Reference in a new issue