annotate main.cc @ 24:a131729d6e4d

not working.
author koba <koba@cr.ie.u-ryukyu.ac.jp>
date Wed, 24 Nov 2010 19:24:04 +0900
parents 3fb8a6a34e24
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
1
7dc2d920fc7c local update. xml,image, blender add. ppe/move, ppe/coll add.
tkaito
parents: 0
diff changeset
1 #include "dandy.h"
0
e66ea5014aa1 first commit. But It move "Bulk".
tkaito
parents:
diff changeset
2
23
3fb8a6a34e24 debug and keep up with task_array
koba <koba@cr.ie.u-ryukyu.ac.jp>
parents: 21
diff changeset
3 #define ENEMY_STATUS(charano,score,hardness) {charano,score,hardness}
24
a131729d6e4d not working.
koba <koba@cr.ie.u-ryukyu.ac.jp>
parents: 23
diff changeset
4 const state enemy_status[ENEMY_NUM] = ENEMY_STATUS_TABLE;
23
3fb8a6a34e24 debug and keep up with task_array
koba <koba@cr.ie.u-ryukyu.ac.jp>
parents: 21
diff changeset
5
0
e66ea5014aa1 first commit. But It move "Bulk".
tkaito
parents:
diff changeset
6 extern void task_init(void);
e66ea5014aa1 first commit. But It move "Bulk".
tkaito
parents:
diff changeset
7
12
tkaito
parents: 11
diff changeset
8 TaskManager *manager;
23
3fb8a6a34e24 debug and keep up with task_array
koba <koba@cr.ie.u-ryukyu.ac.jp>
parents: 21
diff changeset
9 ObjPropertyPtr charactor;
0
e66ea5014aa1 first commit. But It move "Bulk".
tkaito
parents:
diff changeset
10
1
7dc2d920fc7c local update. xml,image, blender add. ppe/move, ppe/coll add.
tkaito
parents: 0
diff changeset
11 const char *usr_help_str = "Usage: ./twice [-length data_length] [-count task_num]\n\
7dc2d920fc7c local update. xml,image, blender add. ppe/move, ppe/coll add.
tkaito
parents: 0
diff changeset
12 -length Number of data (default DATA_NUM (Func.h))\n\
7dc2d920fc7c local update. xml,image, blender add. ppe/move, ppe/coll add.
tkaito
parents: 0
diff changeset
13 -count Number of task (default 1)\n";
0
e66ea5014aa1 first commit. But It move "Bulk".
tkaito
parents:
diff changeset
14
24
a131729d6e4d not working.
koba <koba@cr.ie.u-ryukyu.ac.jp>
parents: 23
diff changeset
15 HTaskPtr
a131729d6e4d not working.
koba <koba@cr.ie.u-ryukyu.ac.jp>
parents: 23
diff changeset
16 pad_alloc(Viewer *sgroot)
a131729d6e4d not working.
koba <koba@cr.ie.u-ryukyu.ac.jp>
parents: 23
diff changeset
17 {
a131729d6e4d not working.
koba <koba@cr.ie.u-ryukyu.ac.jp>
parents: 23
diff changeset
18 HTaskPtr task = sgroot->tmanager->create_task(PAD_ALLOCATE);
a131729d6e4d not working.
koba <koba@cr.ie.u-ryukyu.ac.jp>
parents: 23
diff changeset
19 void *pad = (void*)sgroottmp->getController();
a131729d6e4d not working.
koba <koba@cr.ie.u-ryukyu.ac.jp>
parents: 23
diff changeset
20 int size = sizeof(Pad);
a131729d6e4d not working.
koba <koba@cr.ie.u-ryukyu.ac.jp>
parents: 23
diff changeset
21
a131729d6e4d not working.
koba <koba@cr.ie.u-ryukyu.ac.jp>
parents: 23
diff changeset
22 task->set_param(0, PAD_INPUT);
a131729d6e4d not working.
koba <koba@cr.ie.u-ryukyu.ac.jp>
parents: 23
diff changeset
23 task->set_param(1, size);
a131729d6e4d not working.
koba <koba@cr.ie.u-ryukyu.ac.jp>
parents: 23
diff changeset
24 task->add_inData(pad, size);
a131729d6e4d not working.
koba <koba@cr.ie.u-ryukyu.ac.jp>
parents: 23
diff changeset
25 task->set_cpu(SPE_ANY);
a131729d6e4d not working.
koba <koba@cr.ie.u-ryukyu.ac.jp>
parents: 23
diff changeset
26 task->spawn();
a131729d6e4d not working.
koba <koba@cr.ie.u-ryukyu.ac.jp>
parents: 23
diff changeset
27
a131729d6e4d not working.
koba <koba@cr.ie.u-ryukyu.ac.jp>
parents: 23
diff changeset
28 return task;
a131729d6e4d not working.
koba <koba@cr.ie.u-ryukyu.ac.jp>
parents: 23
diff changeset
29 }
a131729d6e4d not working.
koba <koba@cr.ie.u-ryukyu.ac.jp>
parents: 23
diff changeset
30
a131729d6e4d not working.
koba <koba@cr.ie.u-ryukyu.ac.jp>
parents: 23
diff changeset
31 HTaskPtr
a131729d6e4d not working.
koba <koba@cr.ie.u-ryukyu.ac.jp>
parents: 23
diff changeset
32 pad_update(Viewer *sgroot)
a131729d6e4d not working.
koba <koba@cr.ie.u-ryukyu.ac.jp>
parents: 23
diff changeset
33 {
a131729d6e4d not working.
koba <koba@cr.ie.u-ryukyu.ac.jp>
parents: 23
diff changeset
34 HTaskPtr task = sgroot->tmanager->create_task(PAD_UPDATE);
a131729d6e4d not working.
koba <koba@cr.ie.u-ryukyu.ac.jp>
parents: 23
diff changeset
35 void *pad = (void*)sgroottmp->getController();
a131729d6e4d not working.
koba <koba@cr.ie.u-ryukyu.ac.jp>
parents: 23
diff changeset
36 int size = sizeof(Pad);
a131729d6e4d not working.
koba <koba@cr.ie.u-ryukyu.ac.jp>
parents: 23
diff changeset
37
a131729d6e4d not working.
koba <koba@cr.ie.u-ryukyu.ac.jp>
parents: 23
diff changeset
38 task->set_param(0, PAD_INPUT);
a131729d6e4d not working.
koba <koba@cr.ie.u-ryukyu.ac.jp>
parents: 23
diff changeset
39 task->set_param(1, size);
a131729d6e4d not working.
koba <koba@cr.ie.u-ryukyu.ac.jp>
parents: 23
diff changeset
40 task->add_inData(pad, size);
a131729d6e4d not working.
koba <koba@cr.ie.u-ryukyu.ac.jp>
parents: 23
diff changeset
41 task->set_cpu(SPE_ANY);
a131729d6e4d not working.
koba <koba@cr.ie.u-ryukyu.ac.jp>
parents: 23
diff changeset
42 task->spawn();
a131729d6e4d not working.
koba <koba@cr.ie.u-ryukyu.ac.jp>
parents: 23
diff changeset
43
a131729d6e4d not working.
koba <koba@cr.ie.u-ryukyu.ac.jp>
parents: 23
diff changeset
44 return task;
a131729d6e4d not working.
koba <koba@cr.ie.u-ryukyu.ac.jp>
parents: 23
diff changeset
45 }
a131729d6e4d not working.
koba <koba@cr.ie.u-ryukyu.ac.jp>
parents: 23
diff changeset
46
a131729d6e4d not working.
koba <koba@cr.ie.u-ryukyu.ac.jp>
parents: 23
diff changeset
47 HTaskPtr
a131729d6e4d not working.
koba <koba@cr.ie.u-ryukyu.ac.jp>
parents: 23
diff changeset
48 pad_free(Viewer *sgroot)
a131729d6e4d not working.
koba <koba@cr.ie.u-ryukyu.ac.jp>
parents: 23
diff changeset
49 {
a131729d6e4d not working.
koba <koba@cr.ie.u-ryukyu.ac.jp>
parents: 23
diff changeset
50 HTaskPtr task = sgroot->tmanager->create_task(PAD_FREE);
a131729d6e4d not working.
koba <koba@cr.ie.u-ryukyu.ac.jp>
parents: 23
diff changeset
51 void *pad = (void*)sgroottmp->getController();
a131729d6e4d not working.
koba <koba@cr.ie.u-ryukyu.ac.jp>
parents: 23
diff changeset
52 int size = sizeof(Pad);
a131729d6e4d not working.
koba <koba@cr.ie.u-ryukyu.ac.jp>
parents: 23
diff changeset
53
a131729d6e4d not working.
koba <koba@cr.ie.u-ryukyu.ac.jp>
parents: 23
diff changeset
54 task->set_param(0, PAD_INPUT);
a131729d6e4d not working.
koba <koba@cr.ie.u-ryukyu.ac.jp>
parents: 23
diff changeset
55 task->set_cpu(SPE_ANY);
a131729d6e4d not working.
koba <koba@cr.ie.u-ryukyu.ac.jp>
parents: 23
diff changeset
56 task->spawn();
a131729d6e4d not working.
koba <koba@cr.ie.u-ryukyu.ac.jp>
parents: 23
diff changeset
57
a131729d6e4d not working.
koba <koba@cr.ie.u-ryukyu.ac.jp>
parents: 23
diff changeset
58 return task;
a131729d6e4d not working.
koba <koba@cr.ie.u-ryukyu.ac.jp>
parents: 23
diff changeset
59 }
a131729d6e4d not working.
koba <koba@cr.ie.u-ryukyu.ac.jp>
parents: 23
diff changeset
60
1
7dc2d920fc7c local update. xml,image, blender add. ppe/move, ppe/coll add.
tkaito
parents: 0
diff changeset
61 int
0
e66ea5014aa1 first commit. But It move "Bulk".
tkaito
parents:
diff changeset
62 init(int argc, char **argv)
e66ea5014aa1 first commit. But It move "Bulk".
tkaito
parents:
diff changeset
63 {
e66ea5014aa1 first commit. But It move "Bulk".
tkaito
parents:
diff changeset
64 for (int i = 1; argv[i]; ++i) {
1
7dc2d920fc7c local update. xml,image, blender add. ppe/move, ppe/coll add.
tkaito
parents: 0
diff changeset
65 if (strcmp(argv[i], "-length") == 0) {
23
3fb8a6a34e24 debug and keep up with task_array
koba <koba@cr.ie.u-ryukyu.ac.jp>
parents: 21
diff changeset
66 //length = atoi(argv[++i]);
1
7dc2d920fc7c local update. xml,image, blender add. ppe/move, ppe/coll add.
tkaito
parents: 0
diff changeset
67 } else if (strcmp(argv[i], "-count") == 0) {
23
3fb8a6a34e24 debug and keep up with task_array
koba <koba@cr.ie.u-ryukyu.ac.jp>
parents: 21
diff changeset
68 //task = atoi(argv[++i]);
0
e66ea5014aa1 first commit. But It move "Bulk".
tkaito
parents:
diff changeset
69 }
e66ea5014aa1 first commit. But It move "Bulk".
tkaito
parents:
diff changeset
70 }
e66ea5014aa1 first commit. But It move "Bulk".
tkaito
parents:
diff changeset
71
e66ea5014aa1 first commit. But It move "Bulk".
tkaito
parents:
diff changeset
72 return 0;
e66ea5014aa1 first commit. But It move "Bulk".
tkaito
parents:
diff changeset
73 }
e66ea5014aa1 first commit. But It move "Bulk".
tkaito
parents:
diff changeset
74
24
a131729d6e4d not working.
koba <koba@cr.ie.u-ryukyu.ac.jp>
parents: 23
diff changeset
75 //旧APIとの互換関数
2
6e1afe1016dc Task is not yet.
tkaito
parents: 1
diff changeset
76 void
24
a131729d6e4d not working.
koba <koba@cr.ie.u-ryukyu.ac.jp>
parents: 23
diff changeset
77 PutSprite(float x, float y, int number)
a131729d6e4d not working.
koba <koba@cr.ie.u-ryukyu.ac.jp>
parents: 23
diff changeset
78 {
a131729d6e4d not working.
koba <koba@cr.ie.u-ryukyu.ac.jp>
parents: 23
diff changeset
79 char* name = charactor[number].name;
a131729d6e4d not working.
koba <koba@cr.ie.u-ryukyu.ac.jp>
parents: 23
diff changeset
80 SceneGraphPtr object = sgroot->createSceneGraph(name);
a131729d6e4d not working.
koba <koba@cr.ie.u-ryukyu.ac.jp>
parents: 23
diff changeset
81
a131729d6e4d not working.
koba <koba@cr.ie.u-ryukyu.ac.jp>
parents: 23
diff changeset
82 title->xyz[0] = x;
a131729d6e4d not working.
koba <koba@cr.ie.u-ryukyu.ac.jp>
parents: 23
diff changeset
83 title->xyz[1] = y;
a131729d6e4d not working.
koba <koba@cr.ie.u-ryukyu.ac.jp>
parents: 23
diff changeset
84
a131729d6e4d not working.
koba <koba@cr.ie.u-ryukyu.ac.jp>
parents: 23
diff changeset
85 charactor[number].x = x;
a131729d6e4d not working.
koba <koba@cr.ie.u-ryukyu.ac.jp>
parents: 23
diff changeset
86 charactor[number].y = y;
a131729d6e4d not working.
koba <koba@cr.ie.u-ryukyu.ac.jp>
parents: 23
diff changeset
87 charactor[number].flag = 0;
a131729d6e4d not working.
koba <koba@cr.ie.u-ryukyu.ac.jp>
parents: 23
diff changeset
88 charactor[number].root = (void*)object;
a131729d6e4d not working.
koba <koba@cr.ie.u-ryukyu.ac.jp>
parents: 23
diff changeset
89 }
a131729d6e4d not working.
koba <koba@cr.ie.u-ryukyu.ac.jp>
parents: 23
diff changeset
90
a131729d6e4d not working.
koba <koba@cr.ie.u-ryukyu.ac.jp>
parents: 23
diff changeset
91 void
a131729d6e4d not working.
koba <koba@cr.ie.u-ryukyu.ac.jp>
parents: 23
diff changeset
92 create_sg(Viewer *sgroot, int w, int h)
2
6e1afe1016dc Task is not yet.
tkaito
parents: 1
diff changeset
93 {
23
3fb8a6a34e24 debug and keep up with task_array
koba <koba@cr.ie.u-ryukyu.ac.jp>
parents: 21
diff changeset
94 sgroot->createFromXMLfile("xml/mydandy.xml");
3fb8a6a34e24 debug and keep up with task_array
koba <koba@cr.ie.u-ryukyu.ac.jp>
parents: 21
diff changeset
95 sgroot->createFromXMLfile("xml/greencrab.xml");
3fb8a6a34e24 debug and keep up with task_array
koba <koba@cr.ie.u-ryukyu.ac.jp>
parents: 21
diff changeset
96 sgroot->createFromXMLfile("xml/gameover.xml");
3fb8a6a34e24 debug and keep up with task_array
koba <koba@cr.ie.u-ryukyu.ac.jp>
parents: 21
diff changeset
97 sgroot->createFromXMLfile("xml/greencrab.xml");
3fb8a6a34e24 debug and keep up with task_array
koba <koba@cr.ie.u-ryukyu.ac.jp>
parents: 21
diff changeset
98 sgroot->createFromXMLfile("xml/bluebullet.xml");
3fb8a6a34e24 debug and keep up with task_array
koba <koba@cr.ie.u-ryukyu.ac.jp>
parents: 21
diff changeset
99 sgroot->createFromXMLfile("xml/redbullet.xml");
3fb8a6a34e24 debug and keep up with task_array
koba <koba@cr.ie.u-ryukyu.ac.jp>
parents: 21
diff changeset
100 sgroot->createFromXMLfile("xml/title2.xml");
24
a131729d6e4d not working.
koba <koba@cr.ie.u-ryukyu.ac.jp>
parents: 23
diff changeset
101 }
a131729d6e4d not working.
koba <koba@cr.ie.u-ryukyu.ac.jp>
parents: 23
diff changeset
102
a131729d6e4d not working.
koba <koba@cr.ie.u-ryukyu.ac.jp>
parents: 23
diff changeset
103 void
a131729d6e4d not working.
koba <koba@cr.ie.u-ryukyu.ac.jp>
parents: 23
diff changeset
104 def_charactor(int number, char *name, float w, float h)
a131729d6e4d not working.
koba <koba@cr.ie.u-ryukyu.ac.jp>
parents: 23
diff changeset
105 {
a131729d6e4d not working.
koba <koba@cr.ie.u-ryukyu.ac.jp>
parents: 23
diff changeset
106 charactor[number].chara_id = number;
a131729d6e4d not working.
koba <koba@cr.ie.u-ryukyu.ac.jp>
parents: 23
diff changeset
107 charactor[number].name = name;
a131729d6e4d not working.
koba <koba@cr.ie.u-ryukyu.ac.jp>
parents: 23
diff changeset
108 charactor[number].width = w;
a131729d6e4d not working.
koba <koba@cr.ie.u-ryukyu.ac.jp>
parents: 23
diff changeset
109 charactor[number].height = h;
a131729d6e4d not working.
koba <koba@cr.ie.u-ryukyu.ac.jp>
parents: 23
diff changeset
110 charactor[number].mid_w = w / 2;
a131729d6e4d not working.
koba <koba@cr.ie.u-ryukyu.ac.jp>
parents: 23
diff changeset
111 charactor[number].mid_h = h / 2;
a131729d6e4d not working.
koba <koba@cr.ie.u-ryukyu.ac.jp>
parents: 23
diff changeset
112 }
a131729d6e4d not working.
koba <koba@cr.ie.u-ryukyu.ac.jp>
parents: 23
diff changeset
113
a131729d6e4d not working.
koba <koba@cr.ie.u-ryukyu.ac.jp>
parents: 23
diff changeset
114 void
a131729d6e4d not working.
koba <koba@cr.ie.u-ryukyu.ac.jp>
parents: 23
diff changeset
115 set_parameter()
a131729d6e4d not working.
koba <koba@cr.ie.u-ryukyu.ac.jp>
parents: 23
diff changeset
116 {
a131729d6e4d not working.
koba <koba@cr.ie.u-ryukyu.ac.jp>
parents: 23
diff changeset
117 /**
a131729d6e4d not working.
koba <koba@cr.ie.u-ryukyu.ac.jp>
parents: 23
diff changeset
118 * 1引数:キャラクターID;
a131729d6e4d not working.
koba <koba@cr.ie.u-ryukyu.ac.jp>
parents: 23
diff changeset
119 * 2引数:キャラクター名;
a131729d6e4d not working.
koba <koba@cr.ie.u-ryukyu.ac.jp>
parents: 23
diff changeset
120 * 3引数:幅
a131729d6e4d not working.
koba <koba@cr.ie.u-ryukyu.ac.jp>
parents: 23
diff changeset
121 * 4引数:高さ
a131729d6e4d not working.
koba <koba@cr.ie.u-ryukyu.ac.jp>
parents: 23
diff changeset
122 */
a131729d6e4d not working.
koba <koba@cr.ie.u-ryukyu.ac.jp>
parents: 23
diff changeset
123
a131729d6e4d not working.
koba <koba@cr.ie.u-ryukyu.ac.jp>
parents: 23
diff changeset
124 def_charactor(PLAYER_IDLE, "player_idle", 128, 128);
a131729d6e4d not working.
koba <koba@cr.ie.u-ryukyu.ac.jp>
parents: 23
diff changeset
125 def_charactor(PLAYER_LEFTMOVE, "player_leftmove", 128, 128);
a131729d6e4d not working.
koba <koba@cr.ie.u-ryukyu.ac.jp>
parents: 23
diff changeset
126 def_charactor(PLAYER_TURNTOLEFT, "player_turntoleft", 128, 128);
a131729d6e4d not working.
koba <koba@cr.ie.u-ryukyu.ac.jp>
parents: 23
diff changeset
127 def_charactor(PLAYER_TURNTORIGHT, "player_turntoright", 128, 128);
a131729d6e4d not working.
koba <koba@cr.ie.u-ryukyu.ac.jp>
parents: 23
diff changeset
128 def_charactor(PLAYER_RIGHTMOVE, "player_rightmove", 128, 128);
a131729d6e4d not working.
koba <koba@cr.ie.u-ryukyu.ac.jp>
parents: 23
diff changeset
129 def_charactor(BLUEBULLET_LEFT, "bulebullet_left", 45, 128);
a131729d6e4d not working.
koba <koba@cr.ie.u-ryukyu.ac.jp>
parents: 23
diff changeset
130 def_charactor(BLUEBULLET_RIGHT, "blebullet_right", 38, 128);
a131729d6e4d not working.
koba <koba@cr.ie.u-ryukyu.ac.jp>
parents: 23
diff changeset
131 def_charactor(REDBULLET, "redbullet", 128, 256);
a131729d6e4d not working.
koba <koba@cr.ie.u-ryukyu.ac.jp>
parents: 23
diff changeset
132 def_charactor(LONGLASER, "longlaser", 64, 256);
a131729d6e4d not working.
koba <koba@cr.ie.u-ryukyu.ac.jp>
parents: 23
diff changeset
133 def_charactor(GAUGE_PANEL, "gauge_panel", 128, 512);
a131729d6e4d not working.
koba <koba@cr.ie.u-ryukyu.ac.jp>
parents: 23
diff changeset
134 def_charactor(OFFENSIVEPOWER_GAUGE, "offensivepower_gauge", 27, 220);
a131729d6e4d not working.
koba <koba@cr.ie.u-ryukyu.ac.jp>
parents: 23
diff changeset
135 def_charactor(BURNER, "burner", 63, 122);
a131729d6e4d not working.
koba <koba@cr.ie.u-ryukyu.ac.jp>
parents: 23
diff changeset
136 def_charactor(LOCKON_SIGHT, "lockon_sight", 64, 64);
a131729d6e4d not working.
koba <koba@cr.ie.u-ryukyu.ac.jp>
parents: 23
diff changeset
137 //def_charactor(SPECIAL_LASERGAUGE, "special_lasergauge", 0, 0);
a131729d6e4d not working.
koba <koba@cr.ie.u-ryukyu.ac.jp>
parents: 23
diff changeset
138 def_charactor(DIFFENSIVEPOWER_GAUGE, "diffensivepower_gauge", 20, 215);
a131729d6e4d not working.
koba <koba@cr.ie.u-ryukyu.ac.jp>
parents: 23
diff changeset
139 def_charactor(GREENBULLET, "greenbullet", 128, 128);
a131729d6e4d not working.
koba <koba@cr.ie.u-ryukyu.ac.jp>
parents: 23
diff changeset
140 def_charactor(BULEBARRIER, "bulebarrier", 128, 128);
a131729d6e4d not working.
koba <koba@cr.ie.u-ryukyu.ac.jp>
parents: 23
diff changeset
141 //def_charactor(FONT_PLAYER_1, "font_player1", 128, 32);
a131729d6e4d not working.
koba <koba@cr.ie.u-ryukyu.ac.jp>
parents: 23
diff changeset
142 //def_charactor(FONT_GAMEOVER, "font_gameover", 256, 32);
a131729d6e4d not working.
koba <koba@cr.ie.u-ryukyu.ac.jp>
parents: 23
diff changeset
143 def_charactor(FONT_0, "font_0", 32, 32);
a131729d6e4d not working.
koba <koba@cr.ie.u-ryukyu.ac.jp>
parents: 23
diff changeset
144 def_charactor(FONT_1, "font_1", 32, 32);
a131729d6e4d not working.
koba <koba@cr.ie.u-ryukyu.ac.jp>
parents: 23
diff changeset
145 def_charactor(FONT_2, "font_2", 32, 32);
a131729d6e4d not working.
koba <koba@cr.ie.u-ryukyu.ac.jp>
parents: 23
diff changeset
146 def_charactor(FONT_3, "font_3", 32, 32);
a131729d6e4d not working.
koba <koba@cr.ie.u-ryukyu.ac.jp>
parents: 23
diff changeset
147 def_charactor(FONT_4, "font_4", 32, 32);
a131729d6e4d not working.
koba <koba@cr.ie.u-ryukyu.ac.jp>
parents: 23
diff changeset
148 def_charactor(FONT_5, "font_5", 32, 32);
a131729d6e4d not working.
koba <koba@cr.ie.u-ryukyu.ac.jp>
parents: 23
diff changeset
149 def_charactor(FONT_6, "font_6", 32, 32);
a131729d6e4d not working.
koba <koba@cr.ie.u-ryukyu.ac.jp>
parents: 23
diff changeset
150 def_charactor(FONT_7, "font_7", 32, 32);
a131729d6e4d not working.
koba <koba@cr.ie.u-ryukyu.ac.jp>
parents: 23
diff changeset
151 def_charactor(FONT_8, "font_8", 32, 32);
a131729d6e4d not working.
koba <koba@cr.ie.u-ryukyu.ac.jp>
parents: 23
diff changeset
152 def_charactor(FONT_9, "font_9", 32, 32);
a131729d6e4d not working.
koba <koba@cr.ie.u-ryukyu.ac.jp>
parents: 23
diff changeset
153 def_charactor(REDBOMB_ANIM_0, "redbomb_anim_0", 64, 64);
a131729d6e4d not working.
koba <koba@cr.ie.u-ryukyu.ac.jp>
parents: 23
diff changeset
154 def_charactor(REDBOMB_ANIM_1, "redbomb_anim_1", 64, 64);
a131729d6e4d not working.
koba <koba@cr.ie.u-ryukyu.ac.jp>
parents: 23
diff changeset
155 def_charactor(REDBOMB_ANIM_2, "redbomb_anim_2", 64, 64);
a131729d6e4d not working.
koba <koba@cr.ie.u-ryukyu.ac.jp>
parents: 23
diff changeset
156 def_charactor(REDBOMB_ANIM_3, "redbomb_anim_3", 64, 64);
a131729d6e4d not working.
koba <koba@cr.ie.u-ryukyu.ac.jp>
parents: 23
diff changeset
157 def_charactor(REDBOMB_ANIM_4, "redbomb_anim_4", 64, 64);
a131729d6e4d not working.
koba <koba@cr.ie.u-ryukyu.ac.jp>
parents: 23
diff changeset
158 def_charactor(REDBOMB_ANIM_5, "redbomb_anim_5", 64, 64);
a131729d6e4d not working.
koba <koba@cr.ie.u-ryukyu.ac.jp>
parents: 23
diff changeset
159 def_charactor(REDBOMB_ANIM_6, "redbomb_anim_6", 64, 64);
a131729d6e4d not working.
koba <koba@cr.ie.u-ryukyu.ac.jp>
parents: 23
diff changeset
160 def_charactor(REDBOMB_ANIM_7, "redbomb_anim_7", 64, 64);
a131729d6e4d not working.
koba <koba@cr.ie.u-ryukyu.ac.jp>
parents: 23
diff changeset
161 def_charactor(FONT_HIGE, "font_hige", 128, 32);
a131729d6e4d not working.
koba <koba@cr.ie.u-ryukyu.ac.jp>
parents: 23
diff changeset
162 def_charactor(GREENBOMB_ANIM_0, "greenbomb_anim_0", 64, 64);
a131729d6e4d not working.
koba <koba@cr.ie.u-ryukyu.ac.jp>
parents: 23
diff changeset
163 def_charactor(GREENBOMB_ANIM_1, "greenbomb_anim_1", 64, 64);
a131729d6e4d not working.
koba <koba@cr.ie.u-ryukyu.ac.jp>
parents: 23
diff changeset
164 def_charactor(GREENBOMB_ANIM_2, "greenbomb_anim_2", 64, 64);
a131729d6e4d not working.
koba <koba@cr.ie.u-ryukyu.ac.jp>
parents: 23
diff changeset
165 //def_charactor(GREENBOMB_ANIM_3, "greenbomb_anim_3", 64, 64);
a131729d6e4d not working.
koba <koba@cr.ie.u-ryukyu.ac.jp>
parents: 23
diff changeset
166 def_charactor(GREENBOMB_ANIM_4, "greenbomb_anim_4", 64, 64);
a131729d6e4d not working.
koba <koba@cr.ie.u-ryukyu.ac.jp>
parents: 23
diff changeset
167 def_charactor(GREENBOMB_ANIM_5, "greenbomb_anim_5", 64, 64);
a131729d6e4d not working.
koba <koba@cr.ie.u-ryukyu.ac.jp>
parents: 23
diff changeset
168 def_charactor(GREENBOMB_ANIM_6, "greenbomb_anim_6", 64, 64);
a131729d6e4d not working.
koba <koba@cr.ie.u-ryukyu.ac.jp>
parents: 23
diff changeset
169 def_charactor(GREENBOMB_ANIM_7, "greenbomb_anim_7", 64, 64);
a131729d6e4d not working.
koba <koba@cr.ie.u-ryukyu.ac.jp>
parents: 23
diff changeset
170 def_charactor(INFLATION_GAUGE, "inflation_gauge", 64, 512);
a131729d6e4d not working.
koba <koba@cr.ie.u-ryukyu.ac.jp>
parents: 23
diff changeset
171 def_charactor(INFLATION_METER, "inflation_meter", 32, 512);
a131729d6e4d not working.
koba <koba@cr.ie.u-ryukyu.ac.jp>
parents: 23
diff changeset
172 def_charactor(ENEMY_GREENCRAB, "enemy_greenclab", 128, 128);
a131729d6e4d not working.
koba <koba@cr.ie.u-ryukyu.ac.jp>
parents: 23
diff changeset
173 def_charactor(ENEMY_PLANE, "enemy_plane", 128, 128);
a131729d6e4d not working.
koba <koba@cr.ie.u-ryukyu.ac.jp>
parents: 23
diff changeset
174 def_charactor(ENEMY_REDBULLET, "enemy_redbullet", 32, 32);
a131729d6e4d not working.
koba <koba@cr.ie.u-ryukyu.ac.jp>
parents: 23
diff changeset
175 def_charactor(FONT_PUSHSTART, "font_pushstart", 512, 32);
a131729d6e4d not working.
koba <koba@cr.ie.u-ryukyu.ac.jp>
parents: 23
diff changeset
176 def_charactor(BOSS1_ORGAN, "boss1_organ", 128, 256);
a131729d6e4d not working.
koba <koba@cr.ie.u-ryukyu.ac.jp>
parents: 23
diff changeset
177 def_charactor(ENEMY_LASER, "enemy_laser", 64, 251);
a131729d6e4d not working.
koba <koba@cr.ie.u-ryukyu.ac.jp>
parents: 23
diff changeset
178 def_charactor(ENEMY_BLUEBULLET, "enemy_bluebullet", 36, 28);
a131729d6e4d not working.
koba <koba@cr.ie.u-ryukyu.ac.jp>
parents: 23
diff changeset
179 def_charactor(ENEMY_LIGHTNING, "enemy_lightning", 64, 252);
a131729d6e4d not working.
koba <koba@cr.ie.u-ryukyu.ac.jp>
parents: 23
diff changeset
180 def_charactor(ENEMY_LASERSPLOSH_0, "enemy_lasersplosh_0", 126, 127);
a131729d6e4d not working.
koba <koba@cr.ie.u-ryukyu.ac.jp>
parents: 23
diff changeset
181 def_charactor(ENEMY_LASERSPLOSH_1, "enemy_lasersplosh_1", 124, 119);
a131729d6e4d not working.
koba <koba@cr.ie.u-ryukyu.ac.jp>
parents: 23
diff changeset
182 def_charactor(ENEMY_LASERSPLOSH_2, "enemy_lasersplosh_2", 126, 127);
a131729d6e4d not working.
koba <koba@cr.ie.u-ryukyu.ac.jp>
parents: 23
diff changeset
183 def_charactor(ENEMY_LASERSPLOSH_3, "enemy_lasersplosh_3", 112, 102);
a131729d6e4d not working.
koba <koba@cr.ie.u-ryukyu.ac.jp>
parents: 23
diff changeset
184 def_charactor(ASTEROID, "meteo", 128, 128); //inseki
a131729d6e4d not working.
koba <koba@cr.ie.u-ryukyu.ac.jp>
parents: 23
diff changeset
185 def_charactor(ORBITMACHINE, "orbitmachine", 128, 64); //inseki no shita maruiyatsu
a131729d6e4d not working.
koba <koba@cr.ie.u-ryukyu.ac.jp>
parents: 23
diff changeset
186 def_charactor(BOSS2_BODY, "boss2_body", 512, 512);
a131729d6e4d not working.
koba <koba@cr.ie.u-ryukyu.ac.jp>
parents: 23
diff changeset
187 def_charactor(BOSS2_RIGHTSHOULDER, "boss2_rightshoulder", 256, 256);
a131729d6e4d not working.
koba <koba@cr.ie.u-ryukyu.ac.jp>
parents: 23
diff changeset
188 def_charactor(BOSS2_LEFTSHOULDER, "boss2_leftshoulder", 256, 256);
a131729d6e4d not working.
koba <koba@cr.ie.u-ryukyu.ac.jp>
parents: 23
diff changeset
189 def_charactor(BOSS2_RIGHTARM, "boss2_rightarm", 128, 256);
a131729d6e4d not working.
koba <koba@cr.ie.u-ryukyu.ac.jp>
parents: 23
diff changeset
190 def_charactor(BOSS2_LEFTARM, "boss2_leftarm", 128, 256);
a131729d6e4d not working.
koba <koba@cr.ie.u-ryukyu.ac.jp>
parents: 23
diff changeset
191 def_charactor(BOSS2_BATTERY, "boss2_battery", 128, 128);
a131729d6e4d not working.
koba <koba@cr.ie.u-ryukyu.ac.jp>
parents: 23
diff changeset
192 def_charactor(BOSS2_OPENBATTERY, "boss2_openbattery", 256, 128);
a131729d6e4d not working.
koba <koba@cr.ie.u-ryukyu.ac.jp>
parents: 23
diff changeset
193 def_charactor(BOSS2_BROKENHATCH, "boss2_brokenhatch", 128, 64);
a131729d6e4d not working.
koba <koba@cr.ie.u-ryukyu.ac.jp>
parents: 23
diff changeset
194 def_charactor(BOSS2_DUMMY, "boss2_dummy", 128, 64);
a131729d6e4d not working.
koba <koba@cr.ie.u-ryukyu.ac.jp>
parents: 23
diff changeset
195 def_charactor(BOSS2_RIGHTSHOULDERUP, "boss2_r_shoulderup", 256, 128);
a131729d6e4d not working.
koba <koba@cr.ie.u-ryukyu.ac.jp>
parents: 23
diff changeset
196 def_charactor(BOSS2_LEFTSHOULDERUP, "boss2_left_s_up", 256, 128);
a131729d6e4d not working.
koba <koba@cr.ie.u-ryukyu.ac.jp>
parents: 23
diff changeset
197 def_charactor(BOSS2_LEFTSHOULDERGIRD, "boss2_left_s_gird", 256, 256);
a131729d6e4d not working.
koba <koba@cr.ie.u-ryukyu.ac.jp>
parents: 23
diff changeset
198 def_charactor(BOSS2_RIGHTARMBATTERY, "boss2_rightarm_b", 64, 64);
a131729d6e4d not working.
koba <koba@cr.ie.u-ryukyu.ac.jp>
parents: 23
diff changeset
199 def_charactor(BOSS2_LEFTARMBATTERY, "boss2_leftarmbattery", 64, 64);
a131729d6e4d not working.
koba <koba@cr.ie.u-ryukyu.ac.jp>
parents: 23
diff changeset
200 def_charactor(BOSS2_RIGHTHAND, "boss2_righthand", 64, 64);
a131729d6e4d not working.
koba <koba@cr.ie.u-ryukyu.ac.jp>
parents: 23
diff changeset
201 def_charactor(BOSS2_RIGHTPALM, "boss2_rightpalm", 64, 64);
a131729d6e4d not working.
koba <koba@cr.ie.u-ryukyu.ac.jp>
parents: 23
diff changeset
202 def_charactor(BOSS2_LEFTHAND, "boss2_lefthand", 64, 64);
a131729d6e4d not working.
koba <koba@cr.ie.u-ryukyu.ac.jp>
parents: 23
diff changeset
203 def_charactor(BOSS2_LEFTPALM, "boss2_leftpalm", 64, 64);
a131729d6e4d not working.
koba <koba@cr.ie.u-ryukyu.ac.jp>
parents: 23
diff changeset
204 def_charactor(PLAYER_LASERSPLOSH_0, "player_lasersplosh_0", 115, 91);
a131729d6e4d not working.
koba <koba@cr.ie.u-ryukyu.ac.jp>
parents: 23
diff changeset
205 def_charactor(PLAYER_LASERSPLOSH_1, "player_lasersplosh_1", 133, 121);
a131729d6e4d not working.
koba <koba@cr.ie.u-ryukyu.ac.jp>
parents: 23
diff changeset
206 def_charactor(PLAYER_LASERSPLOSH_2, "player_lasersplosh_2", 135, 119);
a131729d6e4d not working.
koba <koba@cr.ie.u-ryukyu.ac.jp>
parents: 23
diff changeset
207 def_charactor(PLAYER_LASERSPLOSH_3, "player_lasersplosh_3", 131, 120);
a131729d6e4d not working.
koba <koba@cr.ie.u-ryukyu.ac.jp>
parents: 23
diff changeset
208 def_charactor(BOSS_POWERGAUGE, "boss_powergauge", 69, 762);
a131729d6e4d not working.
koba <koba@cr.ie.u-ryukyu.ac.jp>
parents: 23
diff changeset
209 def_charactor(BLACKHOLE, "blackhole", 128, 128);
a131729d6e4d not working.
koba <koba@cr.ie.u-ryukyu.ac.jp>
parents: 23
diff changeset
210 def_charactor(FONT_DOYOUCONTINUE, "font_doyoucontinue", 512, 32);
a131729d6e4d not working.
koba <koba@cr.ie.u-ryukyu.ac.jp>
parents: 23
diff changeset
211 def_charactor(FONT_ALLSTAGECLEAR, "font_allstageclear", 512, 32);
a131729d6e4d not working.
koba <koba@cr.ie.u-ryukyu.ac.jp>
parents: 23
diff changeset
212 def_charactor(FONT_REST, "font_rest", 128, 32);
a131729d6e4d not working.
koba <koba@cr.ie.u-ryukyu.ac.jp>
parents: 23
diff changeset
213 def_charactor(FONT_STAGE, "font_stage", 256, 32);
a131729d6e4d not working.
koba <koba@cr.ie.u-ryukyu.ac.jp>
parents: 23
diff changeset
214 def_charactor(FONT_LINEOFZERO_000000, "font_000000", 256, 32);
a131729d6e4d not working.
koba <koba@cr.ie.u-ryukyu.ac.jp>
parents: 23
diff changeset
215 def_charactor(FONT_LINEOFZERO_0000000, "font_0000000", 256, 32);
a131729d6e4d not working.
koba <koba@cr.ie.u-ryukyu.ac.jp>
parents: 23
diff changeset
216 def_charactor(FONT_THANKYOU, "font_thankyou", 512, 32);
a131729d6e4d not working.
koba <koba@cr.ie.u-ryukyu.ac.jp>
parents: 23
diff changeset
217 def_charactor(FONT_NYSOFT, "font_nysoft", 512, 32);
a131729d6e4d not working.
koba <koba@cr.ie.u-ryukyu.ac.jp>
parents: 23
diff changeset
218 def_charactor(FONT_1997YGGDRASIL, "font_1997yggdrasil", 512, 32);
a131729d6e4d not working.
koba <koba@cr.ie.u-ryukyu.ac.jp>
parents: 23
diff changeset
219 def_charactor(FONT_SUPERDANDY, "font_superdandy", 256, 64);
a131729d6e4d not working.
koba <koba@cr.ie.u-ryukyu.ac.jp>
parents: 23
diff changeset
220 def_charactor(FONT_1997YAS_K, "font_1997yas_k", 512, 32);
a131729d6e4d not working.
koba <koba@cr.ie.u-ryukyu.ac.jp>
parents: 23
diff changeset
221 def_charactor(GUNBATTERY, "gunbattery", 128, 128);
a131729d6e4d not working.
koba <koba@cr.ie.u-ryukyu.ac.jp>
parents: 23
diff changeset
222 def_charactor(PURPLECORE, "purplecore", 128, 128);
a131729d6e4d not working.
koba <koba@cr.ie.u-ryukyu.ac.jp>
parents: 23
diff changeset
223 def_charactor(SPACEFISH, "spacefish", 128, 128);
a131729d6e4d not working.
koba <koba@cr.ie.u-ryukyu.ac.jp>
parents: 23
diff changeset
224 def_charactor(MISSILE, "missile", 64, 128);
a131729d6e4d not working.
koba <koba@cr.ie.u-ryukyu.ac.jp>
parents: 23
diff changeset
225 def_charactor(BOSS3_BODY, "boss3_body", 256, 256);
a131729d6e4d not working.
koba <koba@cr.ie.u-ryukyu.ac.jp>
parents: 23
diff changeset
226 def_charactor(BODD4_BODY, "boss_4", 256, 256);
a131729d6e4d not working.
koba <koba@cr.ie.u-ryukyu.ac.jp>
parents: 23
diff changeset
227 def_charactor(TITLEFONT_SUPER, "titlefont_super", 256, 256);
a131729d6e4d not working.
koba <koba@cr.ie.u-ryukyu.ac.jp>
parents: 23
diff changeset
228 def_charactor(TITLEFONT_BATTLE, "titlefont_battle", 256, 256);
a131729d6e4d not working.
koba <koba@cr.ie.u-ryukyu.ac.jp>
parents: 23
diff changeset
229 def_charactor(TITLEFONT_EMPEROR, "titlefont_emperor", 256, 256);
a131729d6e4d not working.
koba <koba@cr.ie.u-ryukyu.ac.jp>
parents: 23
diff changeset
230 def_charactor(GREENBARRIER, "greenbarrier", 130, 133);
a131729d6e4d not working.
koba <koba@cr.ie.u-ryukyu.ac.jp>
parents: 23
diff changeset
231 def_charactor(REMAINDER, "remainder", 126, 34);
a131729d6e4d not working.
koba <koba@cr.ie.u-ryukyu.ac.jp>
parents: 23
diff changeset
232 def_charactor(EARTH, "earth", 256, 256);
a131729d6e4d not working.
koba <koba@cr.ie.u-ryukyu.ac.jp>
parents: 23
diff changeset
233 def_charactor(BOSS_CORPSE, "boss_corpse", 64, 256);
a131729d6e4d not working.
koba <koba@cr.ie.u-ryukyu.ac.jp>
parents: 23
diff changeset
234 def_charactor(211, "rank_c_mins", 64, 32);
a131729d6e4d not working.
koba <koba@cr.ie.u-ryukyu.ac.jp>
parents: 23
diff changeset
235 def_charactor(210, "rank_c", 64, 32);
a131729d6e4d not working.
koba <koba@cr.ie.u-ryukyu.ac.jp>
parents: 23
diff changeset
236 def_charactor(209, "rank_c_pla", 64, 32);
a131729d6e4d not working.
koba <koba@cr.ie.u-ryukyu.ac.jp>
parents: 23
diff changeset
237 def_charactor(208, "rank_b_mins", 64, 32);
a131729d6e4d not working.
koba <koba@cr.ie.u-ryukyu.ac.jp>
parents: 23
diff changeset
238 def_charactor(207, "rank_b", 64, 32);
a131729d6e4d not working.
koba <koba@cr.ie.u-ryukyu.ac.jp>
parents: 23
diff changeset
239 def_charactor(206, "rank_b_pla", 64, 32);
a131729d6e4d not working.
koba <koba@cr.ie.u-ryukyu.ac.jp>
parents: 23
diff changeset
240 def_charactor(205, "rank_a_mins", 64, 32);
a131729d6e4d not working.
koba <koba@cr.ie.u-ryukyu.ac.jp>
parents: 23
diff changeset
241 def_charactor(204, "rank_a", 64, 32);
a131729d6e4d not working.
koba <koba@cr.ie.u-ryukyu.ac.jp>
parents: 23
diff changeset
242 def_charactor(203, "rank_a_pla", 64, 32);
a131729d6e4d not working.
koba <koba@cr.ie.u-ryukyu.ac.jp>
parents: 23
diff changeset
243 def_charactor(202, "rank_s", 64, 32);
a131729d6e4d not working.
koba <koba@cr.ie.u-ryukyu.ac.jp>
parents: 23
diff changeset
244 }
a131729d6e4d not working.
koba <koba@cr.ie.u-ryukyu.ac.jp>
parents: 23
diff changeset
245
a131729d6e4d not working.
koba <koba@cr.ie.u-ryukyu.ac.jp>
parents: 23
diff changeset
246 void
a131729d6e4d not working.
koba <koba@cr.ie.u-ryukyu.ac.jp>
parents: 23
diff changeset
247 init_charactor(Viewer *sgroot, int w, int h)
a131729d6e4d not working.
koba <koba@cr.ie.u-ryukyu.ac.jp>
parents: 23
diff changeset
248 {
a131729d6e4d not working.
koba <koba@cr.ie.u-ryukyu.ac.jp>
parents: 23
diff changeset
249 create_sg(sgroot, w, h);
a131729d6e4d not working.
koba <koba@cr.ie.u-ryukyu.ac.jp>
parents: 23
diff changeset
250 set_parameter();
2
6e1afe1016dc Task is not yet.
tkaito
parents: 1
diff changeset
251
23
3fb8a6a34e24 debug and keep up with task_array
koba <koba@cr.ie.u-ryukyu.ac.jp>
parents: 21
diff changeset
252 for (int i = 0; i < ENEMY_NUM; i++) {
24
a131729d6e4d not working.
koba <koba@cr.ie.u-ryukyu.ac.jp>
parents: 23
diff changeset
253 int char_id = enemy_status[i].char_id;
a131729d6e4d not working.
koba <koba@cr.ie.u-ryukyu.ac.jp>
parents: 23
diff changeset
254
a131729d6e4d not working.
koba <koba@cr.ie.u-ryukyu.ac.jp>
parents: 23
diff changeset
255 charactor[char_id].score = enemy_status[i].score;
a131729d6e4d not working.
koba <koba@cr.ie.u-ryukyu.ac.jp>
parents: 23
diff changeset
256 charactor[char_id].vital = enemy_status[i].vital;
23
3fb8a6a34e24 debug and keep up with task_array
koba <koba@cr.ie.u-ryukyu.ac.jp>
parents: 21
diff changeset
257 }
2
6e1afe1016dc Task is not yet.
tkaito
parents: 1
diff changeset
258 }
1
7dc2d920fc7c local update. xml,image, blender add. ppe/move, ppe/coll add.
tkaito
parents: 0
diff changeset
259
7dc2d920fc7c local update. xml,image, blender add. ppe/move, ppe/coll add.
tkaito
parents: 0
diff changeset
260 MainLoopPtr
21
fd9deaa67de9 debug done.
koba <koba@cr.ie.u-ryukyu.ac.jp>
parents: 19
diff changeset
261 Dandy::init(Viewer *sgroot, int w, int h)
1
7dc2d920fc7c local update. xml,image, blender add. ppe/move, ppe/coll add.
tkaito
parents: 0
diff changeset
262 {
24
a131729d6e4d not working.
koba <koba@cr.ie.u-ryukyu.ac.jp>
parents: 23
diff changeset
263 charactor = (ObjPropertyPtr)sgroot->manager->allocate(sizeof(ObjProperty)*CHAR_NUM);
23
3fb8a6a34e24 debug and keep up with task_array
koba <koba@cr.ie.u-ryukyu.ac.jp>
parents: 21
diff changeset
264 init_charactor(sgroot, w, h);
24
a131729d6e4d not working.
koba <koba@cr.ie.u-ryukyu.ac.jp>
parents: 23
diff changeset
265 init_game(sgroot, w, h);
a131729d6e4d not working.
koba <koba@cr.ie.u-ryukyu.ac.jp>
parents: 23
diff changeset
266
23
3fb8a6a34e24 debug and keep up with task_array
koba <koba@cr.ie.u-ryukyu.ac.jp>
parents: 21
diff changeset
267 return sgroot;
1
7dc2d920fc7c local update. xml,image, blender add. ppe/move, ppe/coll add.
tkaito
parents: 0
diff changeset
268 }
7dc2d920fc7c local update. xml,image, blender add. ppe/move, ppe/coll add.
tkaito
parents: 0
diff changeset
269
7dc2d920fc7c local update. xml,image, blender add. ppe/move, ppe/coll add.
tkaito
parents: 0
diff changeset
270 extern Application *
7dc2d920fc7c local update. xml,image, blender add. ppe/move, ppe/coll add.
tkaito
parents: 0
diff changeset
271 application() {
21
fd9deaa67de9 debug done.
koba <koba@cr.ie.u-ryukyu.ac.jp>
parents: 19
diff changeset
272 return new Dandy();
1
7dc2d920fc7c local update. xml,image, blender add. ppe/move, ppe/coll add.
tkaito
parents: 0
diff changeset
273 }
7dc2d920fc7c local update. xml,image, blender add. ppe/move, ppe/coll add.
tkaito
parents: 0
diff changeset
274
7dc2d920fc7c local update. xml,image, blender add. ppe/move, ppe/coll add.
tkaito
parents: 0
diff changeset
275 extern int init(TaskManager *manager, int argc, char *argv[]);
7dc2d920fc7c local update. xml,image, blender add. ppe/move, ppe/coll add.
tkaito
parents: 0
diff changeset
276 extern void task_initialize();
7dc2d920fc7c local update. xml,image, blender add. ppe/move, ppe/coll add.
tkaito
parents: 0
diff changeset
277 static void TMend(TaskManager *manager);
7dc2d920fc7c local update. xml,image, blender add. ppe/move, ppe/coll add.
tkaito
parents: 0
diff changeset
278
0
e66ea5014aa1 first commit. But It move "Bulk".
tkaito
parents:
diff changeset
279 int
e66ea5014aa1 first commit. But It move "Bulk".
tkaito
parents:
diff changeset
280 TMmain(TaskManager *manager,int argc, char *argv[])
e66ea5014aa1 first commit. But It move "Bulk".
tkaito
parents:
diff changeset
281 {
e66ea5014aa1 first commit. But It move "Bulk".
tkaito
parents:
diff changeset
282 task_init();
1
7dc2d920fc7c local update. xml,image, blender add. ppe/move, ppe/coll add.
tkaito
parents: 0
diff changeset
283 task_initialize();
7dc2d920fc7c local update. xml,image, blender add. ppe/move, ppe/coll add.
tkaito
parents: 0
diff changeset
284 manager->set_TMend(TMend);
24
a131729d6e4d not working.
koba <koba@cr.ie.u-ryukyu.ac.jp>
parents: 23
diff changeset
285
1
7dc2d920fc7c local update. xml,image, blender add. ppe/move, ppe/coll add.
tkaito
parents: 0
diff changeset
286 return init(manager,argc, argv);
7dc2d920fc7c local update. xml,image, blender add. ppe/move, ppe/coll add.
tkaito
parents: 0
diff changeset
287 }
0
e66ea5014aa1 first commit. But It move "Bulk".
tkaito
parents:
diff changeset
288
1
7dc2d920fc7c local update. xml,image, blender add. ppe/move, ppe/coll add.
tkaito
parents: 0
diff changeset
289 void
7dc2d920fc7c local update. xml,image, blender add. ppe/move, ppe/coll add.
tkaito
parents: 0
diff changeset
290 TMend(TaskManager *manager)
7dc2d920fc7c local update. xml,image, blender add. ppe/move, ppe/coll add.
tkaito
parents: 0
diff changeset
291 {
7dc2d920fc7c local update. xml,image, blender add. ppe/move, ppe/coll add.
tkaito
parents: 0
diff changeset
292 printf("game end\n");
0
e66ea5014aa1 first commit. But It move "Bulk".
tkaito
parents:
diff changeset
293 }