pushing.h

来自「推箱子游戏,好多关.不错的程序!」· C头文件 代码 · 共 20 行

H
20
字号
#ifndef _pushing_h   //to avoid include pushing.h twice
#define _pushing_h
void drawbackgroundblock(int x, int y);
void drawboxpos(int x,int y);
void drawwallblock(int x, int y);
void drawbox_2(int x,int y);
void drawbox_1(int x, int y);
void drawboy(int x, int y, int ready);
void drawpathunit( int x, int y, int h, int l);
void drawpath(int x , int y);
char path[20][20]; //the playing game map
char path2[20][20]; //the bakup of playing game map
int boy_h; //row position of boy
int boy_l;  //coloum position of boy
int boxnum; //the num of box
int path_h; //the total row of depot
int path_l;  //the total coloum of depot

#endif

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?