Ejemplo n.º 1
0
Options::Options( int argc, char* argv[] )
  : m_class_name("Options")
{

    // Load Default Settings
    Load_Default_Settings();


    // Parse Command-Line Options
    Parse_Command_Line( argc, argv );
    
    
    // Check configuration files
    Check_Configuration_Directory();

    
    // Load Configuration File
    FilePath config_path = FilePath(m_gui_config_settings["MSC_HOME"]) / FilePath("options.cfg");
    Load_Configuration_File(config_path);


    // Print the MSC Home


    // Load Services
    Load_Map_Services();

}
Ejemplo n.º 2
0
Options::Options( int argc, char* argv[] )
 : m_class_name("Options"),
   m_overlay_path(false),
   m_image_scale(1),
   m_image_rotation(0),
   m_image_center_x(0.5),
   m_image_center_y(0.5),
   m_fps(2)
{
    // Parse the Command-Line
    Parse_Command_Line( argc, argv );

    // Validate
    Validate();

}
Ejemplo n.º 3
0
Options::Options( int argc, char* argv[] )
 : m_class_name("Options")
{
    // Parse the Command-Line
    Parse_Command_Line(argc, argv);
}