Le nouveau Super Mario Bros pour la gamme des fx9860g https://www.planet-casio.com/Fr/forums/topic15994-1-[addin]-SuperCasioBros-v0.1.html
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
supercasiobros/include/bonus.h

31 lines
361 B

#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