supercasiobros/include/bonus.h

32 lines
361 B
C
Raw Permalink Normal View History

#ifndef BONUS_H
#define BONUS_H
2020-01-29 14:34:47 +01:00
#include <box.h>
2020-01-29 14:34:47 +01:00
// Bonus
// Come from boxes
2020-01-29 14:34:47 +01:00
typedef enum
{
BONUS_NONE=0,
BONUS_CHAMPI,
BONUS_FLEUR,
BONUS_1UP,
BONUS_STAR
} bonus_id; // TODO add fragment
typedef struct
2020-01-29 14:34:47 +01:00
{
int type;
box_t b;
int p1;
} bonus_t;
void bonusSet(bonus_id const t, int const x, int const y);
void bonusDraw();
2020-01-29 14:34:47 +01:00
void bonusMove();
2019-12-08 16:34:32 +01:00
#endif