Mercurial > hg > Game > Cerium
diff Renderer/Engine/SceneGraphRoot.h @ 558:00428ba0ba03 draft
boss1_action
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Thu, 22 Oct 2009 18:38:07 +0900 |
parents | 1a31b8820a4d |
children | d65f21b18165 |
line wrap: on
line diff
--- a/Renderer/Engine/SceneGraphRoot.h Thu Oct 22 17:34:12 2009 +0900 +++ b/Renderer/Engine/SceneGraphRoot.h Thu Oct 22 18:38:07 2009 +0900 @@ -10,7 +10,7 @@ public: /* Constructor, Destructor */ SceneGraphRoot(float w, float h); - ~SceneGraphRoot(void); + ~SceneGraphRoot(); /* Variables */ // xml から読み込んだ、オリジナルの SceneGraph @@ -49,19 +49,19 @@ /* User API */ void createFromXMLfile(TaskManager *manager, const char *); SceneGraphPtr createSceneGraph(int id); - SceneGraphPtr createSceneGraph(void); + SceneGraphPtr createSceneGraph(); void setSceneData(SceneGraphPtr sg); - Pad *getController(void); - SceneGraphIteratorPtr getIterator(void); + Pad *getController(); + SceneGraphIteratorPtr getIterator(); SceneGraphIteratorPtr getIterator(SceneGraphPtr list); - CameraPtr getCamera(void); + CameraPtr getCamera(); /* Other System API */ void allExecute(int screen_w, int screen_h); - void checkRemove(void); - SceneGraphPtr getExecuteSceneGraph(void); - SceneGraphPtr getDrawSceneGraph(void); - void updateControllerState(void); + void checkRemove(); + SceneGraphPtr getExecuteSceneGraph(); + SceneGraphPtr getDrawSceneGraph(); + void updateControllerState(); void speExecute(int screen_w, int screen_h); @@ -76,5 +76,7 @@ #endif // 大域変数は無くすこと +// move に Controller を渡せば必要ないはず... extern SceneGraphRootPtr sgroot; -extern SceneGraphRootPtr sgroot_2; + +/* end */