X-Git-Url: https://jasonwoof.com/gitweb/?p=vor.git;a=blobdiff_plain;f=dust.h;fp=dust.h;h=b8e0de181b0b95d02dad9cb985bdab0ae83222d4;hp=0000000000000000000000000000000000000000;hb=841f94c4182f8dff0253db9bae4922c3c9039a5f;hpb=3ef599c7104a20c4f5268dbefb6590aa3e285663 diff --git a/dust.h b/dust.h new file mode 100644 index 0000000..b8e0de1 --- /dev/null +++ b/dust.h @@ -0,0 +1,19 @@ +#ifndef VOR_DUST_H +#define VOR_DUST_H + +#include + +/* + * Dust motes are harmless background items. They are created when the + * program is initialized, and are simply wrapped whenever they hit the + * edge of the screen. + */ + +#define N_DUST_MOTES 2000 +#define MAX_DUST_DEPTH 2 + +void init_dust(void); +void move_dust(void); +void draw_dust(SDL_Surface *); + +#endif // VOR_DUST_H