- Visual C++源码
- Visual Basic源码
- C++ Builder源码
- Java源码
- Delphi源码
- C/C++源码
- PHP源码
- Perl源码
- Python源码
- Asm源码
- Pascal源码
- Borland C++源码
- Others源码
- SQL源码
- VBScript源码
- JavaScript源码
- ASP/ASPX源码
- C#源码
- Flash/ActionScript源码
- matlab源码
- PowerBuilder源码
- LabView源码
- Flex源码
- MathCAD源码
- VBA源码
- IDL源码
- Lisp/Scheme源码
- VHDL源码
- Objective-C源码
- Fortran源码
- tcl/tk源码
- QT源码
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