al_start_timer(3)

al_start_timer3

Allegro 5 api

Usage

#include <allegro5/allegro.h>
void al_start_timer(ALLEGRO_TIMER *timer)

Overview

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. Starting a timer that was stopped will reset the timer’s counter, effectively restarting the timer from the beginning.

From allegro 5.2.11.3-2 in Arch Linux 2026-11-01. Parsed by carta from the page's man source.