henesyinit from p9fce6d0435 years agoHistory
17 lines · 251 B · C
RawDownload
#include <u.h>#include <libc.h>#include <libg.h> voidpoint(Bitmap *d, Point p, int v, Fcode f){	uchar *buf; 	buf = bneed(14);	buf[0] = 'p';	BPSHORT(buf+1, d->id);	BPLONG(buf+3, p.x);	BPLONG(buf+7, p.y);	buf[11] = v;	BPSHORT(buf+12, f);}