Mercurial > hg > Members > koba > t_dandy
diff 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 |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/ppe/Bom.cc Tue Dec 14 00:54:07 2010 +0900 @@ -0,0 +1,19 @@ +#include "tobject.h" + +void +Bom(int x, int y, int bomend, bomchar *bchar) +{ + int i; + bomend++; + if (bomend > 49) { + bomend = 49; + return; + } + + i = bomend; + bchar[i].x = x; + bchar[i].y = y; + bchar[i].no = 0; + bchar[i].f = 0; + return; +}