Mercurial > hg > Members > koba > t_dandy
comparison ppe/Bom.cc @ 2:6382d8f6a973
not working.
author | koba <koba@cr.ie.u-ryukyu.ac.jp> |
---|---|
date | Tue, 14 Dec 2010 00:54:07 +0900 |
parents | |
children | 00c3272a801f |
comparison
equal
deleted
inserted
replaced
1:b4c797eee72a | 2:6382d8f6a973 |
---|---|
1 #include "tobject.h" | |
2 | |
3 void | |
4 Bom(int x, int y, int bomend, bomchar *bchar) | |
5 { | |
6 int i; | |
7 bomend++; | |
8 if (bomend > 49) { | |
9 bomend = 49; | |
10 return; | |
11 } | |
12 | |
13 i = bomend; | |
14 bchar[i].x = x; | |
15 bchar[i].y = y; | |
16 bchar[i].no = 0; | |
17 bchar[i].f = 0; | |
18 return; | |
19 } |