Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- typedef struct
- {
- SDL_Rect position;
- SDL_Surface *afk1[20];
- SDL_Surface *afk2[20];
- SDL_Surface *jump[2];
- SDL_Surface *jumpleft[2];
- SDL_Surface *spriteright[17];
- SDL_Surface *spriteleft[17];
- SDL_Surface *health_bar[2];
- SDL_Surface *spritedown[5];
- }personnage;
- /*
- typedef struct
- {
- int x;
- int y;
- }checkp;
- */
- void pause();
- void Charger_Health(personnage *p);
- void Charger(personnage *p);
- personnage DeplacerPerso ( personnage p , SDL_Surface *ecran , int* continuer, SDL_Surface *map , int*k, int *m, int *lives);
- void Scroll_Map(SDL_Surface *ecran , SDL_Surface *map , personnage p);
- void freepersonnage(personnage p);
- void Stage_1(SDL_Surface *ecran);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement