# HG changeset patch # User tkaito # Date 1279613152 -32400 # Node ID aecc2199251e213aad0f015e5423764a43146331 # Parent 8c7a2e7cb9e0de68e39cb0e349078784ee191c08 test diff -r 8c7a2e7cb9e0 -r aecc2199251e main.cc --- 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\ diff -r 8c7a2e7cb9e0 -r aecc2199251e stage_init.cc --- 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); }