Provided by: allegro4-doc_4.4.2-10_all
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(3alleg4), END_OF_MAIN(3alleg4), RGB(3alleg4), SCREEN_H(3alleg4), SCREEN_W(3alleg4), allegro_init(3alleg4), allegro_message(3alleg4), blit(3alleg4), clear_bitmap(3alleg4), destroy_bitmap(3alleg4), font(3alleg4), get_config_argv(3alleg4), get_config_int(3alleg4), get_config_string(3alleg4), install_keyboard(3alleg4), line(3alleg4), load_bitmap(3alleg4), makecol(3alleg4), pop_config_state(3alleg4), push_config_state(3alleg4), readkey(3alleg4), screen(3alleg4), set_color_depth(3alleg4), set_config_file(3alleg4), set_gfx_mode(3alleg4), set_palette(3alleg4), stretch_blit(3alleg4), textout_centre_ex(3alleg4), textprintf_centre_ex(3alleg4), ustrdup(3alleg4), ustricmp(3alleg4)