summaryrefslogtreecommitdiff
path: root/modules/stars/starslib.h
blob: 0c125a38c001eefecb75102fc9f694869effc76d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
struct universe
{
	int width, height, depth;
	struct points* points;
	struct points* iterator;
};

void new_universe( struct universe** u, int width, int height, int depth );
void new_point( struct universe* universe );

#define OPACITY_MAX 8
struct return_point
{
	int x, y;
	int opacity;
};

int process_point( struct universe *u, struct return_point *rp );
© All Rights Reserved