comparison spe/chara_state8.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
28 DefSpriteEx(p->charano, 16*4, 32*4, &sprite->data[0]); 28 DefSpriteEx(p->charano, 16*4, 32*4, &sprite->data[0]);
29 PutSpriteEx(p->charano, (p->x * 4), (p->y * 4), 0.2, 0.2, 1, &sprite->data[1]); 29 PutSpriteEx(p->charano, (p->x * 4), (p->y * 4), 0.2, 0.2, 1, &sprite->data[1]);
30 30
31 p->dt1 = 512; 31 p->dt1 = 512;
32 p->s = 0.125; 32 p->s = 0.125;
33 p->task = STATE8; 33 p->state_task = STATE8;
34 34
35 *w_count = count; 35 *w_count = count;
36 *q = *p; 36 *q = *p;
37 return 0; 37 return 0;
38 } 38 }
39 39
40 CHARACTER *q = (CHARACTER*)smanager->get_output(wbuf, 0); 40 CHARACTER *q = (CHARACTER*)smanager->get_output(wbuf, 0);
41 p->task = STATE9; 41 p->state_task = STATE9;
42 42
43 *q = *p; 43 *q = *p;
44 return 0; 44 return 0;
45 } 45 }