fire/draw.h
2020-09-17 11:42:48 +00:00

23 lines
325 B
C

#ifndef DRAW_INCLUDED
#define DRAW_INCLUDED
#ifdef __OpenBSD__
#include "sys/types.h"
#else
#include "stdint.h"
#endif
typedef struct buffer
{
size_t width;
size_t height;
uint8_t* buf;
} buffer;
void init ( struct buffer *buf );
void dofire ( struct buffer *buf );
void cleanup ( struct buffer *buf );
#endif