📄 bounce.h
字号:
/* bounce.h *//* some settings for the game */#define BLANK ' '#define DFL_SYMBOL 'o'#define TOP_ROW 5#define BOT_ROW 20#define LEFT_EDGE 10#define RIGHT_EDGE 70#define X_INIT 10 /* starting col */#define Y_INIT 10 /* starting row */#define TICKS_PER_SEC 50 /* affects speed */#define X_TTM 5#define Y_TTM 8/** the ping pong ball **/struct ppball { int y_pos, x_pos, y_ttm, x_ttm, y_ttg, x_ttg, y_dir, x_dir; char symbol ; } ;
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -