본문내용
#include
#include //printf(), getchar()
#include //clock() clock_t CLK_TCK, time(), srand()
#include //putch(), kbhit()
#include "graphics2.h"
#include
#include
#include "mmsystem.h" //사운드
#pragma comment(lib,"winmm.lib") //이부분은 주메뉴 프로젝트 세팅탭에
//link탭부분에 winmm.lib를 넣어도 됩니다. 사운드
#define TRUE 1
#define FALSE 0
/*********************전역 변수 ************************/
char *carimage;
static int car_x,car_y; //차 좌표값
static int max; // 블럭 나오는 갯수 관여하는 변수
static int game_speed; // 게임 스피드
static int score;
static int level;
int ox=0;//메뉴 제어용
/*******************블럭 구조체************************/
#include
#include
#include
#include "graphics2.h"
#include
#include
#include "mmsystem.h" //사운드
#pragma comment(lib,"winmm.lib") //이부분은 주메뉴 프로젝트 세팅탭에
//link탭부분에 winmm.lib를 넣어도 됩니다. 사운드
#define TRUE 1
#define FALSE 0
/*********************전역 변수 ************************/
char *carimage;
static int car_x,car_y; //차 좌표값
static int max; // 블럭 나오는 갯수 관여하는 변수
static int game_speed; // 게임 스피드
static int score;
static int level;
int ox=0;//메뉴 제어용
/*******************블럭 구조체************************/
소개글