comparison TaskManager/Test/test_render/bullet_action.cpp @ 238:443c7ae1c7a7 draft

warning clean
author admin@mcbk.cr.ie.u-ryukyu.ac.jp
date Fri, 29 May 2009 13:43:52 +0900
parents 8ac35507094d
children
comparison
equal deleted inserted replaced
237:7bd052a53996 238:443c7ae1c7a7
35 35
36 void 36 void
37 bullet_collision(SceneGraphPtr node, int screen_w, int screen_h, SceneGraphPtr tree) 37 bullet_collision(SceneGraphPtr node, int screen_w, int screen_h, SceneGraphPtr tree)
38 { 38 {
39 SceneGraphIteratorPtr it = sgroot->getIterator(tree); 39 SceneGraphIteratorPtr it = sgroot->getIterator(tree);
40 static int damage = 0; 40 //static int damage = 0;
41 41
42 for (; it->hasNext(E_PLANE);) { 42 for (; it->hasNext(E_PLANE);) {
43 it->next(E_PLANE); 43 it->next(E_PLANE);
44 SceneGraphPtr enemy = it->get(); 44 SceneGraphPtr enemy = it->get();
45 45