Mercurial > hg > Game > Cerium
diff Renderer/Engine/SceneGraphRoot.h @ 793:66497087393d draft
add light switch api
author | yutaka@localhost.localdomain |
---|---|
date | Mon, 03 May 2010 05:09:58 +0900 |
parents | b480fc04206f |
children | a033d464c812 |
line wrap: on
line diff
--- a/Renderer/Engine/SceneGraphRoot.h Sun May 02 04:17:34 2010 +0900 +++ b/Renderer/Engine/SceneGraphRoot.h Mon May 03 05:09:58 2010 +0900 @@ -103,9 +103,10 @@ SceneGraphIteratorPtr getIterator(SceneGraphPtr list); CameraPtr getCamera(); SceneGraphPtr getLight(int id); - float* getLightVector(); - int* getLightSwitch(); - int getLightSysSwitch(); + void OnLightSwitch(int id); + void OffLightSwitch(int id); + void OnLightSysSwitch(); + void OffLightSysSwitch(); /* Other System API */ void allExecute(int screen_w, int screen_h); @@ -116,6 +117,9 @@ void updateControllerState(); void regist_execute(); void move_finish(); + float* getLightVector(); + int* getLightSwitch(); + int getLightSysSwitch(); void speExecute(int screen_w, int screen_h); void speExecute(int screen_w, int screen_h, Application *app);