Revision 173
fixed crosshair
proj.c | ||
---|---|---|
115 | 115 |
struct packet pp = mouse_parse_packet(packet_mouse_ih); |
116 | 116 |
update_mouse_position(&pp); |
117 | 117 |
sprite_set_pos(crosshair, get_mouse_X(), get_mouse_Y()); |
118 |
printf("X: %d | Y: %d | XRES: %d | YRES: %d\n", get_mouse_X(), get_mouse_Y(), graph_get_XRes(), graph_get_YRes()); |
|
118 | 119 |
graph_clear_screen(); |
119 | 120 |
sprite_draw(crosshair); |
120 | 121 |
graph_draw(); |
122 |
counter_mouse_ih = 0; |
|
121 | 123 |
} |
122 | 124 |
#endif |
123 | 125 |
} |
Also available in: Unified diff