table of contents
exfixed(3alleg4) | Allegro manual | exfixed(3alleg4) |
NAME¶
exfixed - Using fixed point maths. Allegro game programming library.
SYNOPSIS¶
#include <allegro.h>
Example exfixed
DESCRIPTION¶
This program demonstrates how to use fixed point numbers, which are signed 32-bit integers storing the integer part in the upper 16 bits and the decimal part in the 16 lower bits. This example also uses the unusual approach of communicating with the user exclusively via the allegro_message() function.
SEE ALSO¶
END_OF_MAIN(3alleg4), allegro_init(3alleg4), allegro_message(3alleg4), fixdiv(3alleg4), fixed(3alleg4), fixmul(3alleg4), fixsqrt(3alleg4), fixtof(3alleg4), ftofix(3alleg4), itofix(3alleg4)
version 4.4.3 | Allegro |