split hal file

This commit is contained in:
j3d1 2018-11-01 14:37:30 +01:00
parent 3e66bd2c38
commit 987aa92a23
8 changed files with 215 additions and 149 deletions

View file

@ -46,7 +46,6 @@ class Node{
Node* getChild(){
return child_;
}
void p(int i);
};
class Value: public Node{
@ -79,7 +78,7 @@ class Layout{
}
int apply(Node*);
Slot slots[maxslots];
void p();
void render();
};
#endif

View file

@ -2,15 +2,23 @@
#ifndef _HAL_H_
#define _HAL_H_
#include "col.h"
void print(const char* str);
void print(char str);
void print(int str);
#define I_LEFT 0
#define I_RIGHT 0
#define I_UP 0
#define I_DOWN 0
void debug(const char* str);
void setup();
void draw(int x, int y);
void render();
void print(int x, int y, const char* str);
void render(Layout&);
void quit();
extern bool input[4];
#ifndef LINUX
void * operator new(unsigned int size);