Project

General

Profile

Revision 231

shooting things, bit laggy, cause mostly known, to be fixed

View differences:

graph.c
363 363
void (sprite_set_scale) (sprite_t *p, double scale          ){ p->scale = scale; }
364 364
int16_t  (sprite_get_x)(const sprite_t *p){ return p->x; }
365 365
int16_t  (sprite_get_y)(const sprite_t *p){ return p->y; }
366
double   (sprite_get_angle)(const sprite_t *p){ return p->theta; }
366 367
uint16_t (sprite_get_w)(const sprite_t *p){ return basic_sprite_get_w(p->bsp); }
367 368
uint16_t (sprite_get_h)(const sprite_t *p){ return basic_sprite_get_h(p->bsp); }
368 369
void (sprite_src2pic)(const sprite_t *p, int16_t x, int16_t y, int16_t *u, int16_t *v){

Also available in: Unified diff