GAME.H
资源名称:泡泡龙源代码.zip [点击查看]
上传用户:junwei_58
上传日期:2007-05-15
资源大小:79k
文件大小:1k
源码类别:
其他智力游戏
开发平台:
Visual C++
- #ifndef GAME_H
- #define GAME_H
- //#include "c:languagezzksvga.libbmpfile.h"
- typedef unsigned long ulong;
- typedef unsigned short ushort;
- typedef unsigned char uchar;
- #ifdef EXTERN
- #undef EXTERN
- #endif
- #define EXTERN extern
- //here you should type the filename of the main c/c++ file
- //e.g.: your file is "filename.cpp", type as follow
- // #include "filename.h"
- // #ifdef FILENAME_CPP
- // ...
- #include "bubble.h"
- #ifdef BUBBLE_CPP
- //the line turn the following EXTERN symbles become defination
- //only in the main file.
- #include <dos.h>
- #include <mem.h>
- #include <time.h>
- #include <stdlib.h>
- #include <stdio.h>
- #include <conio.h>
- #include <math.h>
- #include "menu.h"
- #include "top10.h"
- #include "keyintr.h"
- #include "speceffe.h"
- #include "timer.h"
- #undef EXTERN
- #define EXTERN
- #endif
- #define PRIVATE static
- #define PUBLIC
- typedef enum{NOTHING=0,KEYNEW=1,TIMER=2}GameMode;
- enum{UP=1,DOWN=2,LEFT=4,RIGHT=8,MID=16,READY=0,PRESS=1,RELEASE=2,WAIT=3};
- EXTERN int gameover;
- EXTERN int gamespeed;
- EXTERN int levelid;
- EXTERN int inGame;
- EXTERN int players;
- #endif