#include <stdlib.h>
#include <CCamera.h>
+
+#ifdef __i386__
#include <CGui.h>
+#endif
+
#include <CRobot.h>
#include <CTimer.h>
#include <CRecognition.h>
extern "C" {
#include <roboorte_robottype.h>
-#include <robot.h>
#include "../control/CRecognition.h"
}
bool stop = false;
bool cp = true;
CCamera* camera;
+
+#ifdef __i386__
CGui* gui;
-CRawImage *image;
SDL_Event event;
+#endif
+
+CRawImage *image;
+
//CRobot* robot;
CRecognition *recognition;
//SRobotCommand command;
SPixelPosition meanPosition;
bool move = false;
-Uint8 lastKeys[10000];
+unsigned char lastKeys[10000];
int keyNumber = 1000;
-Uint8 *keys = NULL;
+unsigned char *keys = NULL;
unsigned char color [3];
unsigned char* pix = NULL;
delete recognition;
//delete robot;
delete image;
+#ifdef __i386__
delete gui;
+#endif
delete camera;
ret = robottype_roboorte_destroy(&orte);