Mercurial > hg > Game > Cerium
comparison TaskManager/Test/test_render/spe/spe-main.cc @ 422:217258e3d148 draft
change spe/*.cpp -> spe/*.cc
author | hiroki@henri.cr.ie.u-ryukyu.ac.jp |
---|---|
date | Thu, 24 Sep 2009 15:26:58 +0900 |
parents | TaskManager/Test/test_render/spe/spe-main.cpp@208ba3551474 |
children | 19524a506039 |
comparison
equal
deleted
inserted
replaced
421:6094dfd1f08c | 422:217258e3d148 |
---|---|
1 #include "../Func.h" | |
2 #include "SchedTask.h" | |
3 | |
4 SchedExternTask(LoadTexture); | |
5 SchedExternTask(SetTexture); | |
6 SchedExternTask(DrawSpan); | |
7 SchedExternTask(DrawSpanRenew); | |
8 SchedExternTask(DrawBack); | |
9 | |
10 SchedExternTask(ChainCal); | |
11 SchedExternTask(ChainInit); | |
12 | |
13 SchedExternTask(CreateSpan); | |
14 //SchedExternTask(CreatePolygon); | |
15 | |
16 SchedExternTask(ShowTime); | |
17 | |
18 void | |
19 task_init(void) | |
20 { | |
21 SchedRegisterTask(TASK_INIT_TEXTURE, LoadTexture); | |
22 SchedRegisterTask(TASK_SET_TEXTURE, SetTexture); | |
23 SchedRegisterTask(TASK_DRAW_SPAN, DrawSpan); | |
24 | |
25 SchedRegisterTask(CHAINCAL_TASK, ChainCal); | |
26 SchedRegisterTask(CHAININIT_TASK, ChainInit); | |
27 #if 0 | |
28 SchedRegisterTask(TASK_DRAW_SPAN2, DrawSpanRenew); | |
29 #endif | |
30 SchedRegisterTask(TASK_DRAW_BACK, DrawBack); | |
31 | |
32 SchedRegisterTask(TASK_CREATE_SPAN, CreateSpan); | |
33 //SchedRegisterTask(TASK_CREATE_PP, CreatePolygon); | |
34 | |
35 SchedRegisterTask(SHOW_TIME, ShowTime); | |
36 } |