int main() { setup_screen(); simple_timer(); cleanup_screen(); return 0; }
void enter_zone_event_handler() { enter_zone_time = GetTickCount(); mouse_lmb_down(screen_x_ent_zone,screen_y_ent_zone); simple_timer(1000, &condit, &callback_proc); // SetTimer printf("ent X: %4.2f\r\n", screen_x_ent_zone); printf("ent Y: %4.2f\r\n", screen_y_ent_zone); }