view spe/Bom.cc @ 30:427e1aac0bd7

not run.
author koba <koba@cr.ie.u-ryukyu.ac.jp>
date Fri, 31 Dec 2010 15:50:44 +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;
}