0
|
1 #include "bool.h"
|
|
2 #ifndef _COUNT2_H_
|
|
3 #define _COUNT2_H_
|
|
4
|
|
5
|
|
6 #define MAXP 4096
|
|
7 #define waku(x,y) ( ((y<0)||(y>964)||(x<0)||(x>1688)) ? 1 : 0)
|
|
8 #define maxf(x,y) x=( (x<y) ? x : y)
|
|
9 #define mini(x,y) x=( (x<y) ? y : x)
|
|
10 #define TAMALV1P 14
|
|
11 #define TAMALV2P 50
|
|
12 #define TAMALV3P 24
|
|
13
|
|
14 #define LASERLV1P 17
|
|
15 #define LASERLV2P 154
|
|
16 #define LASERLV3P 51
|
|
17
|
|
18 typedef struct player {
|
|
19 int x;
|
|
20 int y;
|
|
21 int ch;
|
|
22 int point;
|
|
23 BOOL bf;
|
|
24 int muteki;
|
|
25 int zanki;
|
|
26 int ccount;
|
|
27 } player;
|
|
28
|
|
29 typedef struct tama {
|
|
30 int x;
|
|
31 int y;
|
|
32 } tama;
|
|
33
|
|
34 typedef struct tama1 {
|
|
35 int x;
|
|
36 int y;
|
|
37 int r;
|
|
38 int l;
|
|
39 } tama1;
|
|
40
|
|
41 typedef struct tama2 {
|
|
42 int x;
|
|
43 int y;
|
|
44 int rr;
|
|
45 int sr;
|
|
46 int sl;
|
|
47 int ll;
|
|
48 } tama2;
|
|
49
|
|
50 typedef struct stge {
|
|
51 int stg;
|
|
52 } stge;
|
|
53
|
|
54 typedef struct laser {
|
|
55 float x;
|
|
56 float y;
|
|
57 float sx;
|
|
58 float sy;
|
|
59 int r;
|
|
60 int enemyno;
|
|
61 float s;
|
|
62 } laser;
|
|
63
|
|
64 extern int pointkakudo(int playerno);
|
|
65 extern void Player(int playerno);
|
|
66 extern laser laser_lv3[64];
|
|
67 extern tama1 tlv3[3];
|
|
68
|
|
69 extern player jiki;
|
|
70
|
|
71 extern stge lg;
|
|
72 extern stge pg;
|
|
73 extern stge infg;
|
|
74 extern int infg_level;
|
|
75
|
|
76 extern tama1 tama_lv1[20];
|
|
77 extern tama2 tama_lv2[20];
|
|
78
|
|
79 extern laser laser_lv1[20];
|
|
80 extern laser laser_lv2[20];
|
|
81
|
|
82 extern int laser_lv1_end;
|
|
83
|
|
84 extern int tama_lv1_end;
|
|
85 extern int tama_lv2_end;
|
|
86
|
|
87 #endif // _COUNT2_H
|