|
|
Systemal_install_systemInitialize 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_initLike al_install_system, but automatically uses the atexit function visible in the current compilation unit. See also: al_install_system al_uninstall_systemCloses 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_versionReturns 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_pathGets a system path, depending on the
Returns NULL on failure. See also: al_set_appname, al_set_orgname al_set_appnameSets 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_orgnameSets 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_appnameReturns the global application name string. See also: al_set_appname al_get_orgnameReturns the global organization name string. See also: al_set_orgname al_get_system_driverReturns the currently active system driver, or NULL. al_get_system_configReturns 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