Mercurial > hg > Game > Cerium
comparison TaskManager/Test/test_render/main.cpp @ 217:bfdd037aee21 draft
fix
author | gongo@localhost.localdomain |
---|---|
date | Wed, 04 Feb 2009 22:50:42 +0900 |
parents | 1fd0107ebb25 |
children | 3220ff9fbc5a f05d6c185f55 |
comparison
equal
deleted
inserted
replaced
216:e9a52d68db42 | 217:bfdd037aee21 |
---|---|
3 #include "viewerSDL.h" | 3 #include "viewerSDL.h" |
4 #include "viewerFB.h" | 4 #include "viewerFB.h" |
5 #include "Func.h" | 5 #include "Func.h" |
6 | 6 |
7 /* prototype */ | 7 /* prototype */ |
8 int init(int argc, char *argv[]); | 8 static int init(int argc, char *argv[]); |
9 static void TMend(void); | |
9 | 10 |
10 extern void task_initialize(); | 11 extern void task_initialize(); |
11 | 12 |
12 Viewer *screen; | 13 Viewer *screen; |
13 | 14 |
76 } | 77 } |
77 | 78 |
78 screen->video_init(); | 79 screen->video_init(); |
79 screen->run_init(xml, sg_number); | 80 screen->run_init(xml, sg_number); |
80 | 81 |
82 manager->set_TMend(TMend); | |
83 | |
81 return 0; | 84 return 0; |
82 } | 85 } |
83 | 86 |
84 int | 87 int |
85 cerium_main(int argc, char *argv[]) | 88 TMmain(int argc, char *argv[]) |
86 { | 89 { |
87 task_initialize(); | 90 task_initialize(); |
88 | 91 |
89 return init(argc, argv); | 92 return init(argc, argv); |
90 | 93 |
91 //return 0; | 94 //return 0; |
92 } | 95 } |
96 | |
97 void | |
98 TMend(void) | |
99 { | |
100 printf("test_nogl end\n"); | |
101 } |