view spe/Bom.cc @ 17:927401604461

add spe object
author koba <koba@cr.ie.u-ryukyu.ac.jp>
date Fri, 17 Dec 2010 04:16:25 +0900
parents
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;
}