diff Renderer/Engine/SceneGraphRoot.h @ 793:c260205d3185

add light switch api
author yutaka@localhost.localdomain
date Mon, 03 May 2010 05:09:58 +0900
parents f2497e0ecd7c
children df80613f1e1a
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);