-
Notifications
You must be signed in to change notification settings - Fork 0
/
attractmanager.h
60 lines (54 loc) · 1.16 KB
/
attractmanager.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
/*
* $Id: attractmanager.h 264 2005-11-06 17:43:44Z mrbrown $
*
* Copyright 2003 Kenta Cho. All rights reserved.
*/
/**
* Attraction manager header file.
*
* @version $Revision: 264 $
*/
#define STAGE_NUM 40
#define SAME_RANK_STAGE_NUM 4
#define MODE_NUM 4
typedef struct {
int score[MODE_NUM][STAGE_NUM];
int cleard[MODE_NUM][STAGE_NUM];
int stage, mode;
} HiScore;
extern int score, left, stage;
extern unsigned long seed;
extern int bombUsed, shipUsed;
#define NORMAL_MODE 0
#define PSY_MODE 1
#define IKA_MODE 2
#define GW_MODE 3
extern int mode;
void loadPreference();
void savePreference();
void initStageState(int stg);
void initGameStateFirst();
void initGameState(int stg);
void addScore(int s);
int extendShip();
int decrementShip();
void addLeftBonus();
void setClearScore();
void setHiScore();
void showScore();
void drawScore();
void drawRPanel();
void initAttractManager();
int initTitleAtr();
void drawTitle();
void drawTitleMenu();
void initGameoverAtr();
void moveGameover();
void drawGameover();
void moveTitleMenu();
void movePause();
void drawPause();
void drawTitle();
void initBossScoreAtr(int bs);
void moveBossScoreAtr();
void drawBossScoreAtr();