Mercurial > hg > Members > koba > t_dandy
comparison spe/chara_state6.cc @ 60:cfd42ee2ad28
change makefile, spe/task. adjust scale api. worked on ps3-ppe.
author | yutaka@localhost.localdomain |
---|---|
date | Sun, 06 Feb 2011 17:16:43 +0900 |
parents | f4140672ef9f |
children |
comparison
equal
deleted
inserted
replaced
59:cd05eee90279 | 60:cfd42ee2ad28 |
---|---|
15 if(p->y + 96 < jiki->y | 15 if(p->y + 96 < jiki->y |
16 && p->y + 128 > jiki->y) | 16 && p->y + 128 > jiki->y) |
17 { | 17 { |
18 p->vy = 2; | 18 p->vy = 2; |
19 p->vx = ((jiki->x > p->x) ? 4 : -4); | 19 p->vx = ((jiki->x > p->x) ? 4 : -4); |
20 p->task = STATE0; | 20 p->state_task = STATE0; |
21 } | 21 } |
22 else p->task = STATE6; | 22 else p->state_task = STATE6; |
23 | 23 |
24 *q = *p; | 24 *q = *p; |
25 return 0; | 25 return 0; |
26 } | 26 } |