|
Systemal_install_system
Initialize the Allegro system. If atexit_ptr is non-NULL, and if hasn't been done already, al_uninstall_system() will be registered as an atexit function. Returns true if Allegro was successfully initialized by this function call (or already was initialized previously), false if Allegro cannot be used. See also: al_init al_init
Like al_install_system, but automatically uses the atexit function visible in the current compilation unit. See also: al_install_system al_uninstall_system
Closes down the Allegro system. Note: al_uninstall_system() can be called without a corresponding al_install_system call, e.g. from atexit(). al_get_allegro_version
Returns the (compiled) version of the Allegro library, packed into a single integer as groups of 8 bits in the form You can use code like this to extract them:
The al_get_standard_path
Gets a system path, depending on the
Returns NULL on failure. See also: al_set_appname, al_set_orgname al_set_appname
Sets the global application name. The Application name is used by al_get_standard_path to build the full path to an application's files. Should be called once at the start of a program, before al_init or al_install_system and never touched again. See also: al_get_appname, al_set_orgname al_set_orgname
Sets the global organization name. The Organization name is used by al_get_standard_path to build the full path to an application's files. Should be called once at the start of a program, before al_init or al_install_system and never touched again. See also: al_get_orgname, al_set_appname al_get_appname
Returns the global application name string. See also: al_set_appname al_get_orgname
Returns the global organization name string. See also: al_set_orgname al_get_system_driver
Returns the currently active system driver, or NULL. al_get_system_config
Returns the configuration for the installed system, if any, or NULL otherwise. This is mainly used for configuring Allegro and its addons. |
Last updated: 2009-09-13 09:23:32 UTC