Revision 328
increased bitrate to 115200
ent.c | ||
---|---|---|
284 | 284 |
free(p->visited); |
285 | 285 |
free(p); |
286 | 286 |
} |
287 |
static int16_t (map_get_x_screen)(const map_t *p){ return (int16_t)((-x_origin)*scale); } |
|
288 |
static int16_t (map_get_y_screen)(const map_t *p){ return (int16_t)((-y_origin)*scale); } |
|
287 |
static int16_t (map_get_x_screen)(const map_t *p){ (void)p; return (int16_t)((-x_origin)*scale); }
|
|
288 |
static int16_t (map_get_y_screen)(const map_t *p){ (void)p; return (int16_t)((-y_origin)*scale); }
|
|
289 | 289 |
uint16_t (map_get_width) (const map_t *p){ return sprite_get_w(p->background); } |
290 | 290 |
uint16_t (map_get_height) (const map_t *p){ return sprite_get_h(p->background); } |
291 | 291 |
int (map_collides_point)(const map_t *p, double x, double y){ |
Also available in: Unified diff