Mercurial > hg > Members > koba > t_dandy
view ppe/Bom.cc @ 19:00c3272a801f
fix.
author | koba <koba@cr.ie.u-ryukyu.ac.jp> |
---|---|
date | Sun, 26 Dec 2010 18:57:08 +0900 |
parents | 6382d8f6a973 |
children | 6989f8cb0259 |
line wrap: on
line source
#include "task_object.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; }