Mercurial > hg > Members > koba > t_dandy
view spe/Bom.cc @ 53:b31bed246abd
fix code and add log.
author | koba <koba@cr.ie.u-ryukyu.ac.jp> |
---|---|
date | Tue, 25 Jan 2011 17:43:30 +0900 |
parents | 927401604461 |
children | cfd42ee2ad28 |
line wrap: on
line source
#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; }