esprit-2013-1a2-high-octane: jennyfer.h Source File

esprit-2013-1a2-high-octane version one finale

- Main Page
- Classes
- Files

- File List
- File Members

All Classes Files Functions Variables
jennyfer.h
1 #ifndef JENNYFER_H_INCLUDED
2 #define JENNYFER_H_INCLUDED
3 #define GFX_W 642
4 #define GFX_H 450
5
10 struct jennyfer
11 {
12 BITMAP *grampF[1];
13 BITMAP *gramp[2];
14 BITMAP * blood[6];
15 BITMAP * right[3];
16 BITMAP * left[3];
17 int x, y;
18 int direction;
19 BITMAP *bow[2];
21 };
22 typedef struct jennyfer jennyfer;
23
24
25 void move_jennyfer_gramp(jennyfer *jenn,int *compteur);
26 void load_jennyfer(jennyfer *jenn);
27 void destroy_jennyfer(jennyfer *jenn);
28 void init_jennyfer(jennyfer *jenn);
29 void move_jennyfer_right(jennyfer *jenn,int *compteur,BITMAP * Background);
30 void move_jennyfer_left(jennyfer *jenn,int *compteur,BITMAP * Background);
31 void jump_jennyfer(jennyfer *jenn,BITMAP * Background); //move up
32 void bow_jennyfer(jennyfer *jenn,BITMAP *Background);
33 void gravity(int *y);
34 void gravity_jennyfer(jennyfer *jenn,BITMAP * Background);
35 void move_jennyfer(jennyfer *jenn,int *compteur,BITMAP * Background);
36 void draw_jennyfer(jennyfer jenn,BITMAP *Buffer, int compteur);
37 void throw(int *s);
38 void blood(BITMAP *BLOOD ,BITMAP *Buffer, jennyfer *jenn, int *k);
39 #endif // JENNYFER_H_INCLUDED