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

NAME

6       exconfig  -  Using the configuration routines. Allegro game programming
7       library.
8

SYNOPSIS

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

DESCRIPTION

16       This is a very simple program showing how to use the Allegro configura‐
17       tion  (ini  file)  routines.  A first look at the example shows nothing
18       more than a static graphic and the wait for a key press.  However,  the
19       way  this  graphic  is  displayed is configured through a custom excon‐
20       fig.ini file which is loaded  manually.  From  this  file  the  example
21       obtains  parameters  like  fullscreen/windowed mode, a specific graphic
22       resolution to set up, which graphic to show, how  to  blit  it  on  the
23       screen, etc.
24
25

SEE ALSO

27       BITMAP(3),  END_OF_MAIN(3),  RGB(3),  SCREEN_H(3),  SCREEN_W(3),  alle‐
28       gro_init(3),  allegro_message(3),  blit(3),  clear_bitmap(3),  font(3),
29       get_config_argv(3),       get_config_int(3),      get_config_string(3),
30       install_keyboard(3),  line(3),  load_bitmap(3),  makecol(3),   pop_con‐
31       fig_state(3),      push_config_state(3),     readkey(3),     screen(3),
32       set_color_depth(3),   set_config_file(3),   set_gfx_mode(3),   set_pal‐
33       ette(3),    stretch_blit(3),    textout_centre_ex(3),   textprintf_cen‐
34       tre_ex(3), ustrdup(3), ustricmp(3)
35
36
37
38Allegro                          version 4.2.3                     exconfig(3)
Impressum