al_start_timer

void al_start_timer(ALLEGRO_TIMER *timer)
Introduced in 5.0.0

Start the timer specified. From then, the timer's counter will increment at a constant rate, and it will begin generating events. Starting a timer that is already started does nothing.

See also: al_stop_timer, al_get_timer_started

Examples: ex_bitmap, ex_bitmap_flip, ex_blend, ex_blit, ex_clip, ex_display_options, ex_draw, ex_draw_bitmap, ex_expose, ex_filter, ex_gldepth, ex_glext, ex_haiku, ex_icon, ex_iphone, ex_logo, ex_multisample, ex_native_filechooser, ex_noframe, ex_ogre3d, ex_premulalpha, ex_prim, ex_resize, ex_stream_seek, ex_threads, ex_threads2, ex_timer, ex_transform, ex_ttf, ex_user_events


Most helpful discussions:

Other recent discussions: