-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathcommon.h
41 lines (36 loc) · 924 Bytes
/
common.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
#ifndef COMMON_H_
#define COMMON_H_
#include <vector>
#include <string>
#include <SDL.h>
#include <SDL_mixer.h>
#include <SDL_ttf.h>
#include <SDL_image.h>
const int BACKGROUND_WIDTH = 1200;
const int BACKGROUND_HEIGHT = 3840;
const int SCREEN_WIDTH = 1200;
const int SCREEN_HEIGHT = 760;
const float SCREEN_SPEED = 0.4;
const int COLOR_KEY_R = 170;
const int COLOR_KEY_G = 170;
const int COLOR_KEY_B = 170;
const int RENDER_DRAW_COLOR = 255;
const int NUMBER_OF_CHICKEN = 36;
const int ONE_TURN_GIFT = 14;
const int NUMBER_OF_EXP = 3;
const int BOSS_HEART = 333;
const int CHICKEN_HEART = 3;
const int DISTANCE_BETWEEN_CHICKENS = 100;
const int NUMBER_OF_CHICKENS_PER_ROW = 12;
const float BULLET_DAMAGE_LEVEL_UP = 0.5;
const int BLASTER = 0;
const int NEUTRON = 1;
const int BORON = 2;
const int LEVEL_UP = 3;
struct StatusChicken{
int turn_left;
int turn_right;
int turn_up;
int turn_down;
};
#endif