12 #include "../includes/acquisition.h" 18 static int turn_gun=0;
19 static int turn_radar=0;
21 static double gun_modif=0;
22 static double radar_modif=0;
24 static char me[25]=
"move_circle_rand_shot.so";
46 gun_modif = 0.15*(double)((rand() % 3) - 1);
51 if (turn_radar == 15){
53 radar_modif = 0.15*(double)((rand() % 3) - 1);
void decision_frame(Decision_frame *d)
the brilliant decision my AI is taking each frame.
void clean_my_AI(void)
Clean this test plugin.
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)
Initialization of this test plugin.
This structure gathers the information needed to pilot a starship each frame.