#ifndef _Robot_H #define _Robot_H //extern POINT ptcRobot; extern int ptcRobot_x; extern int ptcRobot_y; extern int dirRobot; extern int delay; extern int iList; extern int List[]; void Robot_Draw(HDC hdc); //int Robot_SolveDFS(HDC hdc,POINT, char); int Robot_SolveDFS(HDC hdc, HDC hdcMem,int pt_x, int pt_y, char dir); bool List_toInt(int i, int &x, int &y); void Robot_Init(int WCell, int HCell,int dir,int Delay=0);// //#define N 0 //#define E 1 //#define S 2 //#define W 3 enum cards { W, N, S, E } ; #endif