CGame.h
Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021 class Game {
00022
00023
private:
00024
00025 int objectiveCheckPointX,
objectiveCheckPointY;
00026
00027
public:
00028
00029 char mapName[50];
00030 char stageName[50];
00031
00032 int gore,
skill,
soundVol,
musicVol,
output,
brightness,
autoSaveSlot,
autoSave;
00033
00034 int score,
stagesCleared;
00035 int totalHours,
totalMinutes,
totalSeconds;
00036 int currentMissionHours,
currentMissionMinutes,
currentMissionSeconds;
00037 int totalEnemiesDefeated,
totalItemsCollected,
totalBonusesCollected;
00038 int currentMissionEnemiesDefeated,
currentMissionItemsCollected;
00039 int totalObjectivesCompleted,
totalMIAsRescued;
00040
00041 unsigned char currentWeapon;
00042 unsigned int bulletsFired[5],
bulletsHit[5];
00043
00044 int checkPointX,
checkPointY;
00045 int teleportPointX,
teleportPointY;
00046
00047 bool hasAquaLung,
hasJetPack,
continueFromCheckPoint;
00048
00049 int lastComboTime;
00050 unsigned char currentComboHits,
maxComboHits;
00051
00052 unsigned int missionOverReason;
00053 unsigned long missionOver;
00054
00055 unsigned int continuesUsed;
00056 unsigned int levelsStarted;
00057 unsigned int escapes;
00058
00059 int canContinue;
00060
00061
Game();
00062
void clear();
00063
void destroy();
00064
void incrementMissionTime();
00065
void setCheckPoint(
float x,
float y);
00066
void getCheckPoint(
float *x,
float *y);
00067
void setObjectiveCheckPoint();
00068
void useObjectiveCheckPoint();
00069
void doCombo();
00070
void incBulletsFired();
00071
void incBulletsHit();
00072
int getWeaponAccuracy(
int weapon);
00073
int getTotalBulletsFired();
00074
int getTotalAccuracy();
00075
int getMostUsedWeapon();
00076
void totalUpStats();
00077
void setStageName(
char *name);
00078
void setMapName(
char *name);
00079
void setMissionOver(
int reason);
00080
void resetMissionOver();
00081
00082 };
Generated on Thu Dec 2 20:26:02 2004 for Blob Wars : Metal Blob Solid by
1.3.7