view ppe/Bom.cc @ 2:6382d8f6a973

not working.
author koba <koba@cr.ie.u-ryukyu.ac.jp>
date Tue, 14 Dec 2010 00:54:07 +0900
parents
children 00c3272a801f
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;
}