Mercurial > hg > Game > Cerium
view TaskManager/Test/test_render/snake_bg.cpp @ 150:3f467ad8c40d draft
add xml
author | gongo@charles.cr.ie.u-ryukyu.ac.jp |
---|---|
date | Tue, 02 Dec 2008 19:10:34 +0900 |
parents | 9588726193e1 |
children | 4a00bb4c6184 |
line wrap: on
line source
#include "SceneGraph.h" //#include "xml_file/snake576x384.h" #include "xml_file/snake800x600.h" static void snake_move(SceneGraphPtr node, int screen_w, int screen_h); static void snake_collision(SceneGraphPtr node, int screen_w, int screen_h, SceneGraphPtr tree); static void snake_move(SceneGraphPtr node, int screen_w, int screen_h) { } static void snake_collision(SceneGraphPtr node, int screen_w, int screen_h, SceneGraphPtr tree) { } void create_snake_bg(void) { SceneGraph::createFromXMLfile("xml_file/snake800x600.xml"); Plane->set_move_collision(snake_move, snake_collision); }