Mercurial > hg > Members > tkaito > task_dandy
comparison main.cc @ 8:7c60ef3fca5b
test
author | tkaito |
---|---|
date | Wed, 07 Jul 2010 03:11:52 +0900 |
parents | c015109a6041 |
children | 27d3291a7c82 |
comparison
equal
deleted
inserted
replaced
7:c015109a6041 | 8:7c60ef3fca5b |
---|---|
33 sgroot->createFromXMLfile("xml/greencrab.xml"); | 33 sgroot->createFromXMLfile("xml/greencrab.xml"); |
34 sgroot->createFromXMLfile("xml/bluebullet.xml"); | 34 sgroot->createFromXMLfile("xml/bluebullet.xml"); |
35 sgroot->createFromXMLfile("xml/redbullet.xml"); | 35 sgroot->createFromXMLfile("xml/redbullet.xml"); |
36 sgroot->createFromXMLfile("xml/title2.xml"); | 36 sgroot->createFromXMLfile("xml/title2.xml"); |
37 | 37 |
38 for (int i = 0; i < ENEMY_NUM; i++) { | 38 for (int i = 0; i < 2; i++) { |
39 charactor[0].root = (void*)sgroot->createSceneGraph(status[0].charano); | 39 charactor[i].root = (void*)sgroot->createSceneGraph(status[i].charano); |
40 charactor[0].score = status[0].score; | 40 charactor[i].score = status[i].score; |
41 charactor[0].vital = status[0].vital; | 41 charactor[i].vital = status[i].vital; |
42 } | 42 } |
43 | 43 |
44 } | 44 } |
45 | 45 |
46 ObjPropertyPtr charactor; | 46 ObjPropertyPtr charactor; |