Mercurial > hg > Members > koba > t_dandy
view spe/chara_state400.cc @ 49:f4140672ef9f
fix.
author | koba <koba@cr.ie.u-ryukyu.ac.jp> |
---|---|
date | Fri, 21 Jan 2011 22:18:28 +0900 |
parents | c330ded6d728 |
children | cfd42ee2ad28 |
line wrap: on
line source
#include "task_base.h" #include "task_object.h" SchedDefineTask1(State400, state400); static int state400(SchedTask *smanager, void *rbuf, void *wbuf) { CHARACTER *p = (CHARACTER*)smanager->get_input(rbuf, 0); p->vy++; p->y += p->vy / 4; p->task = STATE400; smanager->swap(); return 0; }