exconfig(3)

NAME
exconfig - Using the configuration routines. Allegro game programming library.

SYNOPSIS
#include <allegro.h>

Example exconfig

DESCRIPTION
This is a very simple program showing how to use the Allegro configuration (ini file) routines. A first look at the example shows nothing more than a static graphic and the wait for a key press. However, the way this graphic is displayed is configured through a custom exconfig.ini file which is loaded manually. From this file the example obtains parameters like fullscreen/windowed mode, a specific graphic resolution to set up, which graphic to show, how to blit it on the screen, etc.

SEE ALSO
BITMAP(3), END_OF_MAIN(3), RGB(3), SCREEN_H(3), SCREEN_W(3), allegro_init(3), allegro_message(3), blit(3), clear_bitmap(3), destroy_bitmap(3), font(3), get_config_argv(3), get_config_int(3), get_config_string(3), install_keyboard(3), line(3), load_bitmap(3), makecol(3), pop_config_state(3), push_config_state(3), readkey(3), screen(3), set_color_depth(3), set_config_file(3), set_gfx_mode(3), set_palette(3), stretch_blit(3), textout_centre_ex(3), textprintf_centre_ex(3), ustrdup(3), ustricmp(3)