25 /* Default size of fishes */
26 #define DEFAULT_SCALE 50
28 #define DEFAULT_SPEED 100
30 #define FULLSCREEN_DEFAULT_SCALE 60
32 /* how many fishes do you want in your aquarium? */
34 #define FULLSCREEN_NRFISH 20
36 /* The number of fishes you have graphic for */
37 #define NUMOFFISHTYPES 18
42 #define SELECTION_FISH 1
43 #define RANDOM_POP_FISH 2
46 /* structure describing each fish */
49 float tx; /* current x position */
50 int y; /* current y position */
51 int travel; /* how far to move beyond the screen */
52 int rev; /* going left or right? */
53 int frame; /* current animation frame */
54 float delay; /* how quick we swap frames */
55 int updown; /* Was last moment up or down? - Larger chance to do it again. */
56 int type; /* Kind of fish */
64 float fast_frame_change;
65 int is_dead; /* Is the fish alive? I.E, eaten prey or punched blowfish? */
85 /* Have a scale difference of +- 15% */
88 /* 100 = Original speed */
96 /* Agressiveness of hunter and swordfish */
97 int swordfish_agr, hunter_agr;
120 Fish *fish_get_fishes_ptr(void);
121 Fish_settings *fish_get_settings_ptr(void);
122 /*SA_Image *fish_get_blowup_data_ptr(void);
123 SA_Image *fish_get_prey_hunter_data_ptr(void);
124 Fish_animation **fish_get_fish_animation_ptr(void);*/
126 void fish_enter(void);
127 void fish_leave(void);
128 void fish_init(void);
129 void fish_turn(void);
130 void fish_exit(void);
131 void fish_update(void);