-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathMazeManipulation.h
37 lines (26 loc) · 1.22 KB
/
MazeManipulation.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
#ifndef MAZEMANIPULATION_INCL
#define MAZEMANIPULATION_INCL
void ClearMaze (void);
void AddWall(unsigned char dir, unsigned char x, unsigned char y );
unsigned char GetMouseY( void );
unsigned char GetMouseX( void );
unsigned char GetMouseHeading( void );
unsigned char GetVisits( unsigned char MouseX, unsigned char MouseY );
unsigned char GetWalls( unsigned char MouseX, unsigned char MouseY );
unsigned char GetExits( unsigned char MouseX, unsigned char MouseY );
void SetMouseX( unsigned char );
void SetMouseY( unsigned char );
void SetMouseHeading( unsigned char );
void SetVisits( unsigned char MouseX, unsigned char MouseY ,unsigned char Visits);
void SetWalls( unsigned char MouseX, unsigned char MouseY ,unsigned char Walls);
unsigned char ShiftLeftWrapNibble ( unsigned char );
unsigned char ShiftRightWrapNibble ( unsigned char );
unsigned char IsWallLeft(void);
unsigned char IsWallRight(void);
unsigned char IsWallFront(void);
unsigned char IsWallBack(void);
unsigned char GetCellMappedBy(unsigned char x, unsigned char y);
void SetCellMappedByThisMouse(unsigned char x, unsigned char y);
void SetCellMappedBy(unsigned char x, unsigned char y, unsigned char MouseNumber);
void SetThisCellMappedByThisMouse(void);
#endif