Mercurial > hg > Members > tkaito > dandy
diff dandy.cc @ 4:e089ac9ea221
greenclab add. not complete...
author | tkaito |
---|---|
date | Sun, 06 Jun 2010 06:47:45 +0900 |
parents | 69b4108bf4e8 |
children | 581fa1888e2e |
line wrap: on
line diff
--- a/dandy.cc Sun Jun 06 05:23:51 2010 +0900 +++ b/dandy.cc Sun Jun 06 06:47:45 2010 +0900 @@ -2,13 +2,6 @@ #include "SceneGraphRoot.h" #include "dandy.h" - -void -dandy_move_idle(SceneGraphPtr node, int w, int h) -{ - -} - void title_idle(SceneGraphPtr node, void *sgroot_, int screen_w, int screen_h) { @@ -20,9 +13,11 @@ { SceneGraphPtr back, title; - sgroot->createFromXMLfile( "xml/mydandy.xml"); - sgroot->createFromXMLfile( "xml/title2.xml"); - sgroot->createFromXMLfile( "xml/gameover.xml"); + sgroot->createFromXMLfile("xml/mydandy.xml"); + sgroot->createFromXMLfile("xml/title2.xml"); + sgroot->createFromXMLfile("xml/gameover.xml"); + sgroot->createFromXMLfile("xml/enemy_greenclab.xml"); + back = sgroot->createSceneGraph(); title = sgroot->createSceneGraph("title001");