Table of Contents


APP_CFG

Definition

struct APP_CFG
{
    int _i_screen_w;
    int _i_screen_h;
    int _i_screen_bpp;
    int _i_splash_w;
    int _i_splash_h;
    int _i_splash_bpp;
    int _i_window_type;
    int _i_splash_time;
    int _i_framerate; 
    int _i_sound_mixrate;
    int _i_sound_channels;
    int _i_splash_r; 
    int _i_splash_g; 
    int _i_splash_b; 
    bool _b_log; 
    bool _b_splash;
    bool _b_engine;
    string _str_app_caption; 
    string _str_icon; 
    string _str_splash_timer; 
    string _str_splash_img; 
    string _str_log_config; 
    string _str_data_button;
    string _str_data_music;
    string _str_data_sfx;
    string _str_data_image;
    string _str_data_text; 
    string _str_data_sprite; 
    string _str_data_cursor; 
    string _str_data_font; 
    string _str_data_engine; 
    string _str_data_scene;
};

Properties

_i_screen_w width of the video screen
_i_screen_h height of the video screen
_i_screen_bpp pixel-depth of the video screen
_i_splash_w width of the splash screen
_i_splash_h height of the splash screen
_i_splash_bpp pixel-depth of the splash screen
_i_window_type type of game window
_i_splash_time num milliseconds to display splash screen
_i_framerate framerate to lock app at
_i_sound_mixrate hertz to set sound engine mixrate at
_i_sound_channels number of software channels for sound engine
_i_splash_r splash image red transparency
_i_splash_g splash image green transparency
_i_splash_b splash image blue transparency
_b_log whether there is to be error logging
_b_splash whether there is a splash screen
_b_engine whether the tile engine will be used
_str_app_caption caption for app and App name for error log (windowed apps only)
_str_icon path of the app icon (windowed apps only)
_str_splash_timer timer for the splash window
_str_splash_img path to the splash image
_str_log_config path to the error log configuration file
_str_data_buttons path to buttons data file
_str_data_music path to music data file
_str_data_sfx path to sound data file
_str_data_image path to image data file
_str_data_text path to text data file
_str_data_sprite path to sprite data file
_str_data_cursor path to cursor data file
_str_data_font path to font data file
_str_data_engine path to engine data file
_str_data_scene path to scene data file