Mercurial > hg > Members > koba > t_dandy
comparison ppe/chara_state30.cc @ 37:6989f8cb0259
fix.
author | koba <koba@cr.ie.u-ryukyu.ac.jp> |
---|---|
date | Sun, 09 Jan 2011 23:14:26 +0900 |
parents | 5f1abbe03b9a |
children | 978097c6427a |
comparison
equal
deleted
inserted
replaced
36:4516141d844a | 37:6989f8cb0259 |
---|---|
1 #include "task_base.h" | 1 #include "task_base.h" |
2 #include "task_object.h" | 2 #include "task_object.h" |
3 | 3 |
4 SchedDefineTask(State30); | 4 SchedDefineTask1(State30, state30); |
5 | 5 |
6 static int | 6 static int |
7 run(SchedTask *smanager, void *rbuf, void *wbuf) | 7 state30(SchedTask *smanager, void *rbuf, void *wbuf) |
8 { | 8 { |
9 CHARACTER *p = (CHARACTER*)smanager->get_input(rbuf, 0); | 9 CHARACTER *p = (CHARACTER*)smanager->get_input(rbuf, 0); |
10 | 10 |
11 p->x = p->x - 32; | 11 p->x = p->x - 32; |
12 p->y = p->y; | 12 p->y = p->y; |