-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconfig.h
More file actions
28 lines (27 loc) · 836 Bytes
/
config.h
File metadata and controls
28 lines (27 loc) · 836 Bytes
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
#ifndef CONFIG_H
#define CONFIG_H
//一些常数
#define GM_WIDTH 1920
#define GM_HEIGHT 1440
#define GM_TITLE "Touhou10"
#define ORI_LIVES 3
#define ORI_CARDS 3
#define PLANE_SPEED 20
#define MAX_SHOOT 80
#define PI 3.1415926
#define BUTTON_DARK "#966768"
#define BUTTON_LIGHT "#ff7577"
#define BUTTON_CNT 2 //主界面button相关
#define PE_BUTTON_DARK "#8a8a8a"
#define PE_BUTTON_LIGHT "#d31431"
#define PAUSE_BUTTON_CNT 3
#define END_BUTTON_CNT 2
#define PE_LABEL "QLabel{background:transparent;color:blue;}"
#define PE_WIDTH 640
#define PE_HEIGHT 640 //暂停界面、结束界面相关
#define LABEL_STYLE "QLabel{background:transparent;color:black;}"//侧边栏label
#define SCORE " Score %1"
#define PLAYER " Player "
#define POWER " Power %1.%2" //侧边栏相关
#define STAGE_CNT 4
#endif // CONFIG_H