Mercurial > hg > Members > kono > Cerium
diff Renderer/Engine/viewer.h @ 792:f2497e0ecd7c
add light switch
author | yutaka@localhost.localdomain |
---|---|
date | Sun, 02 May 2010 04:17:34 +0900 |
parents | 4455e7b0caf3 |
children | c260205d3185 |
line wrap: on
line diff
--- a/Renderer/Engine/viewer.h Thu Apr 29 23:12:48 2010 +0900 +++ b/Renderer/Engine/viewer.h Sun May 02 04:17:34 2010 +0900 @@ -39,10 +39,10 @@ int width; int height; - //float light_xyz[4] __attribute__((aligned(16))); float *light_xyz; float *light_xyz_stock; - + int *light_switch; + int *light_switch_stock; Uint32 video_flags; Uint32 *pixels; @@ -73,6 +73,9 @@ void spe_draw(HTaskPtr task_next); // void exchange_sgroot(TaskManager *manager); + HTaskPtr update_task_create(void *data, int size, + int load_id, int spe_id, HTaskPtr wait); + void getKey(); void get_send_controll();