split hal file
This commit is contained in:
parent
3e66bd2c38
commit
987aa92a23
8 changed files with 215 additions and 149 deletions
|
|
@ -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
|
||||
|
|
|
|||
16
inc/hal.h
16
inc/hal.h
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue