Mercurial > hg > Members > koba > t_dandy
annotate property.h @ 55:2c33aa6a4a37
debug global_alloc.but new bugs appear
author | koba <koba@cr.ie.u-ryukyu.ac.jp> |
---|---|
date | Fri, 28 Jan 2011 19:05:00 +0900 |
parents | 3acdeb3dc3e8 |
children | cd05eee90279 |
rev | line source |
---|---|
2 | 1 #ifndef INCLUDE_PROPERTY |
2 #define INCLUDE_PROPERTY | |
3 | |
4 typedef struct CollisionProperty { | |
34 | 5 int infg_level; |
54
3acdeb3dc3e8
collision use global_alloc (not work)
koba <koba@cr.ie.u-ryukyu.ac.jp>
parents:
53
diff
changeset
|
6 |
3acdeb3dc3e8
collision use global_alloc (not work)
koba <koba@cr.ie.u-ryukyu.ac.jp>
parents:
53
diff
changeset
|
7 int tama_lv1_end; |
3acdeb3dc3e8
collision use global_alloc (not work)
koba <koba@cr.ie.u-ryukyu.ac.jp>
parents:
53
diff
changeset
|
8 int tama_lv2_end; |
3acdeb3dc3e8
collision use global_alloc (not work)
koba <koba@cr.ie.u-ryukyu.ac.jp>
parents:
53
diff
changeset
|
9 int laser_lv1_end; |
3acdeb3dc3e8
collision use global_alloc (not work)
koba <koba@cr.ie.u-ryukyu.ac.jp>
parents:
53
diff
changeset
|
10 |
8 | 11 int enemycount; |
53 | 12 |
2 | 13 player jiki; |
54
3acdeb3dc3e8
collision use global_alloc (not work)
koba <koba@cr.ie.u-ryukyu.ac.jp>
parents:
53
diff
changeset
|
14 |
2 | 15 stge lg; |
16 stge infg; | |
53 | 17 |
2 | 18 tama1 tama_lv1[20]; |
19 tama2 tama_lv2[20]; | |
20 tama1 tlv3; | |
21 laser laser_lv1[20]; | |
34 | 22 laser laser_lv2; |
2 | 23 laser laser_lv3[128]; |
53 | 24 |
2 | 25 } CollisionProperty, *CollisionPropertyPtr; |
25 | 26 |
33 | 27 |
31
ccb8d9956a1e
add multi container function.
koba <koba@cr.ie.u-ryukyu.ac.jp>
parents:
30
diff
changeset
|
28 typedef struct ObjData { |
33 | 29 int type; |
30 | |
31
ccb8d9956a1e
add multi container function.
koba <koba@cr.ie.u-ryukyu.ac.jp>
parents:
30
diff
changeset
|
31 int tama_type; |
ccb8d9956a1e
add multi container function.
koba <koba@cr.ie.u-ryukyu.ac.jp>
parents:
30
diff
changeset
|
32 int charano; |
ccb8d9956a1e
add multi container function.
koba <koba@cr.ie.u-ryukyu.ac.jp>
parents:
30
diff
changeset
|
33 int task; |
33 | 34 int zorder; |
35 int number; | |
36 int color; | |
37 float angle; | |
25 | 38 float x, y; |
31
ccb8d9956a1e
add multi container function.
koba <koba@cr.ie.u-ryukyu.ac.jp>
parents:
30
diff
changeset
|
39 float vx, vy; |
33 | 40 float w, h; |
41 float scalex, scaley; | |
42 short middlex, middley; | |
31
ccb8d9956a1e
add multi container function.
koba <koba@cr.ie.u-ryukyu.ac.jp>
parents:
30
diff
changeset
|
43 } ObjData, *ObjDataPtr; |
25 | 44 |
30 | 45 typedef struct ObjContainer { |
46 bool flag; | |
31
ccb8d9956a1e
add multi container function.
koba <koba@cr.ie.u-ryukyu.ac.jp>
parents:
30
diff
changeset
|
47 int length; |
30 | 48 |
31
ccb8d9956a1e
add multi container function.
koba <koba@cr.ie.u-ryukyu.ac.jp>
parents:
30
diff
changeset
|
49 ObjData data[1]; |
30 | 50 } ObjContainer, *ObjContainerPtr; |
51 | |
33 | 52 |
53 typedef struct Boss1Property { | |
54 int count; | |
55 int fastebos; | |
56 int rinkx; | |
57 int rinky; | |
58 int rinkf2; | |
59 } Boss1Property, *Boss1PropertyPtr; | |
60 | |
2 | 61 #endif |