comparison spe/chara_state400.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
8 { 8 {
9 CHARACTER *p = (CHARACTER*)smanager->get_input(rbuf, 0); 9 CHARACTER *p = (CHARACTER*)smanager->get_input(rbuf, 0);
10 10
11 p->vy++; 11 p->vy++;
12 p->y += p->vy / 4; 12 p->y += p->vy / 4;
13 p->task = STATE400; 13 p->state_task = STATE400;
14 14
15 smanager->swap(); 15 smanager->swap();
16 return 0; 16 return 0;
17 } 17 }