Mercurial > hg > Game > Cerium
view TaskManager/Test/test_render/Application/long_cube.cc @ 431:b40a9b901d71 draft
fix
author | game@henri.cr.ie.u-ryukyu.ac.jp |
---|---|
date | Thu, 24 Sep 2009 20:43:14 +0900 |
parents | 2c592936bbdf |
children | 8d86242337ba |
line wrap: on
line source
#include "SceneGraphRoot.h" #include "SGList.h" // prototype static void lcube_move(SceneGraphPtr node, int screen_w, int screen_h); //static void lcube_collision(SceneGraphPtr node, int screen_w, int screen_h); static void lcube_move(SceneGraphPtr node, int screen_w, int screen_h) { } static void lcube_collision(SceneGraphPtr node, int screen_w, int screen_h, SceneGraphPtr tree) { } void lcube_init(TaskManager *manager, int screen_w, int screen_h) { SceneGraphPtr lcube; sgroot->createFromXMLfile(manager, "xml_file/LongCube.xml"); lcube = sgroot->createSceneGraph(LongCube); lcube->set_move_collision(lcube_move, lcube_collision); sgroot->setSceneData(lcube); }