Mercurial > hg > Members > koba > t_dandy
view spe/Bom.cc @ 51:2e123c4bf5ca
print object name and id.
author | koba <koba@cr.ie.u-ryukyu.ac.jp> |
---|---|
date | Sat, 22 Jan 2011 16:47:33 +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; }