Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #ifndef FONCTIONS_H_
- #define FONCTIONS_H_
- #include <stdio.h>
- #include <stdlib.h>
- #include <SDL/SDL.h>
- #include <SDL/SDL_image.h>
- struct Objet
- {
- SDL_Surface *image ;
- SDL_Rect position ;
- };
- typedef struct Objet Objet;
- void initialiserObjet ( Objet *obj , char name[] , int x , int y ) ;
- void affichageObjet ( Objet obj , SDL_Surface *screen) ;
- int collisionBoundingbox ( SDL_Rect posj , SDL_Rect posobj ) ;
- #endif /* FONCTIONS_H_ */
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement