16 #include "../includes/acquisition.h" 18 static int turn_move=0;
19 static int turn_gun=0;
20 static int turn_radar=0;
22 static double move_modif=0;
23 static double gun_modif=0;
24 static double radar_modif=0;
26 static char me[12]=
"alea_all.so";
66 move_modif = 0.05*(double)((rand() % 3) - 1);
72 gun_modif = 0.15*(double)((rand() % 3) - 1);
76 if (turn_radar == 15){
78 radar_modif = 0.15*(double)((rand() % 3) - 1);
int get_gun_status(char *me)
Get the number of frames needed to reload the gun of the starship piloted by the plugin me...
void initialize_my_AI(void)
there is nothing to intialize in this
This structure gathers the information needed to pilot a starship each frame.
void clean_my_AI(void)
Clean nothing because there is nothing to clean.
void decision_frame(Decision_frame *d)
the brilliant decision my AI is taking each frame.