Rechercher une page de manuel
install_int.3alleg
Langue: en
Version: version 4.2.2 (debian - 07/07/09)
Section: 3 (Bibliothèques de fonctions)
NAME
install_int - Installs a user timer handler. Allegro game programming library.SYNOPSIS
#include <allegro.h>int install_int(void (*proc)(), int speed);
DESCRIPTION
Installs a user timer handler, with the speed given as the number of milliseconds between ticks. This is the same thing as install_int_ex(proc, MSEC_TO_TIMER(speed)). If you call this routine without having first installed the timer module, install_timer() will be called automatically. Calling again this routine with the same timer handler as parameter allows you to adjust its speed.RETURN VALUE
Returns zero on success, or a negative number if there is no room to add a new user timer.SEE ALSO
install_timer(3alleg), remove_int(3alleg), install_int_ex(3alleg), install_param_int(3alleg), exscn3d(3alleg), exswitch(3alleg), extimer(3alleg), exzbuf(3alleg)Contenus ©2006-2024 Benjamin Poulain
Design ©2006-2024 Maxime Vantorre