Mercurial > hg > Members > koba > t_dandy
annotate spe/Bom.cc @ 60:cfd42ee2ad28
change makefile, spe/task. adjust scale api. worked on ps3-ppe.
author | yutaka@localhost.localdomain |
---|---|
date | Sun, 06 Feb 2011 17:16:43 +0900 |
parents | 927401604461 |
children |
rev | line source |
---|---|
60
cfd42ee2ad28
change makefile, spe/task. adjust scale api. worked on ps3-ppe.
yutaka@localhost.localdomain
parents:
17
diff
changeset
|
1 #include "task_object.h" |
cfd42ee2ad28
change makefile, spe/task. adjust scale api. worked on ps3-ppe.
yutaka@localhost.localdomain
parents:
17
diff
changeset
|
2 #include "../ObjectType.h" |
17 | 3 |
4 void | |
60
cfd42ee2ad28
change makefile, spe/task. adjust scale api. worked on ps3-ppe.
yutaka@localhost.localdomain
parents:
17
diff
changeset
|
5 Bom(int x, int y, ObjDataPtr obj) |
17 | 6 { |
60
cfd42ee2ad28
change makefile, spe/task. adjust scale api. worked on ps3-ppe.
yutaka@localhost.localdomain
parents:
17
diff
changeset
|
7 obj->type = Boms; |
cfd42ee2ad28
change makefile, spe/task. adjust scale api. worked on ps3-ppe.
yutaka@localhost.localdomain
parents:
17
diff
changeset
|
8 obj->x = x; |
cfd42ee2ad28
change makefile, spe/task. adjust scale api. worked on ps3-ppe.
yutaka@localhost.localdomain
parents:
17
diff
changeset
|
9 obj->y = y; |
17 | 10 |
11 return; | |
12 } |