109
|
1 #include "../Func.h"
|
|
2 #include "SchedTask.h"
|
|
3
|
|
4 SchedExternTask(LoadTexture);
|
|
5 SchedExternTask(SetTexture);
|
|
6 SchedExternTask(DrawSpan);
|
|
7 SchedExternTask(DrawBack);
|
|
8
|
|
9 SchedExternTask(CreateSpan);
|
|
10 SchedExternTask(CreatePolygon);
|
|
11
|
|
12 void
|
|
13 task_init(void)
|
|
14 {
|
|
15 SchedRegisterTask(TASK_INIT_TEXTURE, LoadTexture);
|
|
16 SchedRegisterTask(TASK_SET_TEXTURE, SetTexture);
|
|
17 SchedRegisterTask(TASK_DRAW_SPAN, DrawSpan);
|
|
18 SchedRegisterTask(TASK_DRAW_BACK, DrawBack);
|
|
19
|
|
20 SchedRegisterTask(TASK_CREATE_SPAN, CreateSpan);
|
|
21 SchedRegisterTask(TASK_CREATE_PP, CreatePolygon);
|
|
22 }
|