X-Git-Url: https://jasonwoof.com/gitweb/?p=vor.git;a=blobdiff_plain;f=sprite.h;h=e1216cf03cb5d452846b8c83d4233bf4e1641bfa;hp=953d3039f8b4597bdb23878e5028a9822f99bc61;hb=bb819ae60e78c875e66fe2de3ac7fa2b9824a1e5;hpb=22c206a9ad669ebf46c38ce78079a6be4238e0d9 diff --git a/sprite.h b/sprite.h index 953d303..e1216cf 100644 --- a/sprite.h +++ b/sprite.h @@ -22,6 +22,7 @@ struct sprite { int w, h; int mask_w; uint32_t *mask; + uint32_t area; }; Sprite *free_sprites[N_TYPES]; // lists of free sprites, by type. @@ -50,6 +51,7 @@ struct ship { int w, h; int mask_w; uint32_t *mask; + uint32_t area; // SHIP extras int lives; int jets; @@ -65,6 +67,7 @@ struct rock { int w, h; int mask_w; uint32_t *mask; + uint32_t area; // ROCK extras int type; };