exconfig(3) - Linux man page

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 config (ini file) routines. A first look at the example shows nothing more than a static graphic and the wait for a keypress. 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), 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)