Advertisement
ProToTN

GameColl.h

May 8th, 2017
66
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.68 KB | None | 0 0
  1.  
  2. typedef struct
  3. {
  4. SDL_Rect position;
  5. SDL_Surface *afk1[20];
  6. SDL_Surface *afk2[20];
  7. SDL_Surface *jump[2];
  8. SDL_Surface *jumpleft[2];
  9. SDL_Surface *spriteright[17];
  10. SDL_Surface *spriteleft[17];
  11. SDL_Surface *health_bar[2];
  12. SDL_Surface *spritedown[5];
  13. }personnage;
  14.  
  15.  
  16. /*
  17. typedef struct
  18. {
  19. int x;
  20. int y;
  21. }checkp;
  22.  
  23. */
  24.  
  25. void pause();
  26.  
  27. void Charger_Health(personnage *p);
  28. void Charger(personnage *p);
  29. personnage DeplacerPerso ( personnage p , SDL_Surface *ecran , int* continuer, SDL_Surface *map , int*k, int *m, int *lives);
  30. void Scroll_Map(SDL_Surface *ecran , SDL_Surface *map , personnage p);
  31. void freepersonnage(personnage p);
  32. void Stage_1(SDL_Surface *ecran);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement