text: #ifndef COSPACE_SETTINGS
  #define COSPACE_SETTINGS
  
  #define _USE_MATH_DEFINES
  
  #include <bits/stdc++.h>
  
  enum Action
  {
      DEFINED,
      FIND_OBJ,
      DEPOSIT_OBJ
  };
  
  enum Mode
  {
      MODE_MATCH,
      MODE_NORMAL,
      MODE_DEBUG,
      MODE_VERBOSE
  };
  
  #define RED_LOADED_ID 0
  #define CYAN_LOADED_ID 1
  #define BLACK_LOADED_ID 2
  #define SUPER_LOADED_ID 3
  extern int loaded_objects[4];
  
  #define DLL_EXPORT extern "C" __declspec(dllexport)
  #define false 0
  #define true 1
  
  #ifdef _MSC_VER
  #define DISABLE_C4996 __pragma(warning(push)) __pragma(warning(disable : 4996))
  #define ENABLE_C4996 __pragma(warning(pop))
  #else
  #define DISABLE_C4996
  #define ENABLE_C4996
  #endif
  
  extern char AI_MyID[2];
  extern int Duration;
  extern int SuperDuration;
  extern int bGameEnd;
  extern int CurAction;
  extern int CurGame;
  extern int SuperObj_Num;
  extern int SuperObj_X;
  extern int SuperObj_Y;
  extern int Teleport;
  extern int LoadedObjects;
  extern int US_Front;
  extern int US_Left;
  extern int US_Right;
  extern int CSLeft_R;
  extern int CSLeft_G;
  extern int CSLeft_B;
  extern int CSRight_R;
  extern int CSRight_G;
  extern int CSRight_B;
  extern int PositionX;
  extern int PositionY;
  extern int TM_State;
  extern int Compass;
  extern int Time;
  extern int WheelLeft;
  extern int WheelRight;
  extern int LED_1;
  extern int MyState;
  extern int AI_SensorNum;
  extern bool mycolor;
  extern enum Action action;
  
  extern void Game0();
  extern void Game1();
  
  DLL_EXPORT void SetGameID(int GameID);
  DLL_EXPORT int GetGameID();
  //Only Used by CsBot Dance Platform
  DLL_EXPORT int IsGameEnd();
  
  DLL_EXPORT char *GetDebugInfo();
  DLL_EXPORT char *GetTeamName();
  DLL_EXPORT int GetCurAction();
  //Only Used by CsBot Rescue Platform
  DLL_EXPORT int GetTeleport();
  //Only Used by CsBot Rescue Platform
  DLL_EXPORT void SetSuperObj(int X, int Y, int num);
  //Only Used by CsBot Rescue Platform
  DLL_EXPORT void GetSuperObj(int *X, int *Y, int *num);
  
  DLL_EXPORT void SetDataAI(volatile int *packet, volatile int *AI_IN);
  DLL_EXPORT void GetCommand(int *AI_OUT);
  DLL_EXPORT void OnTimer();
  void motor(int left, int right);
  int obstacle(int left, int front, int right);
  
  #endif // ! COSPACE_SETTINGS
  