📄 box.h
字号:
#define SPACE 0
#define BUG 1
#define BOX 2
#define WALL 3
#define TERM 4
#define TERM1 5
#define BUGDN 6
#define BUGLF 7
#define BUGRH 8
#define NEW 9
#define NEXT 10
#define PREV 11
#define UNDO 12
#define COLUMN 20
#define ROW 10
#define CARR_WI 19
//#define CARR_HE 19
#define Dn 0
#define Up 1
#define Lt 2
#define Rt 3
#define MENUTOP 23
//#define ROOMMAX 18
#define ROOMMAX 17
typedef struct {
unsigned char x; //coordinates of the carr in one page;
unsigned char y;
unsigned char last_x;
unsigned char last_y;
unsigned char direction;
unsigned char action_num_U;
unsigned char action_num_D;
unsigned char action_num_L;
unsigned char action_num_R;
unsigned char undo_flag;
} CARR;
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -