shithub: slug

ref: 9dc192ff25b54550a4cdb092d30c8be55475af5f
dir: /a.h/

View raw version
#include <u.h>
#include <libc.h>
#include <thread.h>
#include <draw.h>
#include <mouse.h>
#include <keyboard.h>
#include <lua.h>
#include <lauxlib.h>
#include <lualib.h>

void	lset(lua_State*, const char*, int);
void	resize(lua_State*, int, int);

void	drawcanvas(void);
void	initstate(lua_State*);
void	reset(void);
void	registerapi(lua_State*);

Image*	color(int, int, int, int);

extern int		drawing;
extern int		looping;
extern int		framerate;
extern Image	*canvas;
extern int		width;
extern int		height;
extern Point	origin;