Mercurial > hg > Members > tkaito > task_dandy
changeset 12:aecc2199251e
test
author | tkaito |
---|---|
date | Tue, 20 Jul 2010 17:05:52 +0900 |
parents | 8c7a2e7cb9e0 |
children | 401cd8a186e9 |
files | main.cc stage_init.cc |
diffstat | 2 files changed, 6 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/main.cc Sat Jul 17 14:12:53 2010 +0900 +++ b/main.cc Tue Jul 20 17:05:52 2010 +0900 @@ -2,7 +2,7 @@ extern void task_init(void); -//TaskManager *manager; +TaskManager *manager; const char *usr_help_str = "Usage: ./twice [-length data_length] [-count task_num]\n\ -length Number of data (default DATA_NUM (Func.h))\n\
--- a/stage_init.cc Sat Jul 17 14:12:53 2010 +0900 +++ b/stage_init.cc Tue Jul 20 17:05:52 2010 +0900 @@ -9,8 +9,8 @@ back1 = (SceneGraphPtr)charactor[0].parent; title = (SceneGraphPtr)charactor[0].root; - title->xyz[0] = charactor[0].x; - title->xyz[1] = charactor[0].y; + //title->xyz[0] = charactor[0].x; + //title->xyz[1] = charactor[0].y; back1->addChild(title); @@ -21,6 +21,7 @@ void create_title_back(Viewer *sgroot_, int w, int h) { + Viewer *sgroot = sgroot_; SceneGraphPtr back; back_property.flag = 0; @@ -34,7 +35,8 @@ titlep.y = h/2; titlep.root = (void*)title; titlep.parent = (void*)back; - int size = sizeof(ObjProperty)*16; + int size = sizeof(ObjProperty); + //printf("size = %d\n", size); sgroot->set_move_task(title, TITLE_MOVE, (void*)&titlep, size, create_title); }