1exstars(3)                      Allegro manual                      exstars(3)
2
3
4

NAME

6       exstars  -  3d  starfield and lightsourced spaceship. Allegro game pro‐
7       gramming library.
8

SYNOPSIS

10       #include <allegro.h>
11
12
13       Example exstars
14

DESCRIPTION

16       This program draws a 3D star field (depth-cued) and a polygon  starship
17       (controllable  with  the  keyboard cursor keys), using the Allegro math
18       functions.
19
20

SEE ALSO

22       BITMAP(3),   END_OF_MAIN(3),   MATRIX(3),   PALETTE(3),    SCREEN_H(3),
23       SCREEN_W(3),   allegro_error(3),  allegro_init(3),  allegro_message(3),
24       apply_matrix(3),    blit(3),     clear_bitmap(3),     create_bitmap(3),
25       cross_product(3),  destroy_bitmap(3),  dot_product(3),  fixed(3),  fix‐
26       mul(3),   fixtof(3),   fixtoi(3),   font(3),    get_rotation_matrix(3),
27       get_transformation_matrix(3),  get_translation_matrix(3),  install_key‐
28       board(3),  install_timer(3),  itofix(3),  key(3),  normalize_vector(3),
29       palette_color(3),   persp_project(3),   poll_keyboard(3),  putpixel(3),
30       rectfill(3), screen(3),  set_gfx_mode(3),  set_palette(3),  set_projec‐
31       tion_viewport(3), textout_centre_ex(3), textprintf_centre_ex(3), trian‐
32       gle(3), vsync(3)
33
34
35
36Allegro                          version 4.4.2                      exstars(3)
Impressum