supercasiobros/include/bonus.h

32 lines
361 B
C

#ifndef BONUS_H
#define BONUS_H
#include <box.h>
// Bonus
// Come from boxes
typedef enum
{
BONUS_NONE=0,
BONUS_CHAMPI,
BONUS_FLEUR,
BONUS_1UP,
BONUS_STAR
} bonus_id; // TODO add fragment
typedef struct
{
int type;
box_t b;
int p1;
} bonus_t;
void bonusSet(bonus_id const t, int const x, int const y);
void bonusDraw();
void bonusMove();
#endif