Bug with types
This commit is contained in:
parent
f49997e470
commit
0a5476d6d0
10
src/main.c
10
src/main.c
|
@ -1,6 +1,8 @@
|
|||
#include <gint/display.h>
|
||||
#include <gint/keyboard.h>
|
||||
#include <gint/clock.h>
|
||||
#define bloc 1
|
||||
#define other 2
|
||||
|
||||
extern bopti_image_t img_personnage;
|
||||
extern bopti_image_t img_personnagemarche;
|
||||
|
@ -8,6 +10,14 @@ extern bopti_image_t img_personnagemarcheleft;
|
|||
extern bopti_image_t img_personnageleft;
|
||||
extern bopti_image_t img_personnage2;
|
||||
extern bopti_image_t img_personnage2left;
|
||||
typedef int type;
|
||||
struct object {
|
||||
bopti_image_t *img;
|
||||
int x;
|
||||
int y;
|
||||
type typeObj = bloc;
|
||||
struct object *next;
|
||||
};
|
||||
struct anim {
|
||||
bopti_image_t *img;
|
||||
int duration;
|
||||
|
|
Loading…
Reference in New Issue