4 // The command interface
5 // to have a LaunchCommand
13 #include <gl\gl.h> // Header File For The OpenGL32 Library
14 #include <gl\glu.h> // Header File For The GLu32 Library
15 #include <gl\glaux.h> // Header File For The Glaux Library
23 int GetStartState(int cmd
)
36 return GENERATE_STATE
;
43 } // end of the function
50 void Generate_Command(DriverBotPtr bot
, int cmd
)
56 bot
->run
= Attack_Command
;
60 bot
->run
= Wander_Command
;
64 bot
->run
= Move_Command
;
70 bot
->state
= GetStartState(cmd
);
72 bot
->last_command
= bot
->command
;
75 } // end of the function