Mercurial > hg > Game > Cerium
annotate include/TaskManager/TaskList.h @ 357:6602b9ba4bfd draft
fix spe/DrawSpan.{cpp, h} spe/DrawSpanRenew.cpp
author | root@henri.cr.ie.u-ryukyu.ac.jp |
---|---|
date | Fri, 17 Jul 2009 17:13:17 +0900 |
parents | 7f991471d43f |
children |
rev | line source |
---|---|
109 | 1 #ifndef INCLUDED_TASKLIST |
2 #define INCLUDED_TASKLIST | |
3 | |
301
7f991471d43f
remove deprecated source. not work.
tkaito@localhost.localdomain
parents:
244
diff
changeset
|
4 #include "base.h" |
7f991471d43f
remove deprecated source. not work.
tkaito@localhost.localdomain
parents:
244
diff
changeset
|
5 #include "Task.h" |
109 | 6 |
7 | |
8 // sizeof(Task)*TASK_MAX_SIZE = 512 byte | |
9 #define TASK_MAX_SIZE 16 | |
10 | |
11 class TaskList { // 528byte | |
12 public: | |
13 BASE_NEW_DELETE(TaskList); | |
14 | |
15 int length; // 4 byte | |
16 TaskList *next; // 4 byte | |
17 Task tasks[TASK_MAX_SIZE]; // 512 | |
244 | 18 TaskList *output; // 4 byte |
19 int a[1]; // padding | |
109 | 20 |
21 static TaskList* append(TaskList*, TaskList*); | |
22 }; | |
23 | |
24 typedef TaskList* TaskListPtr; | |
25 | |
26 #endif |