src/Application.hh
branchnew_graphics
changeset 411 106aaf6eadfe
parent 409 1a03ff151abc
child 417 c503e0c6a740
equal deleted inserted replaced
410:41fd46cffc52 411:106aaf6eadfe
    26         bool graphics_enabled;
    26         bool graphics_enabled;
    27 
    27 
    28         /**
    28         /**
    29          * --fullscreen and --resolution
    29          * --fullscreen and --resolution
    30          */
    30          */
    31         GraphicsConfig graphics;
    31         graphics::DisplayConfig display;
    32 
    32 
    33         /**
    33         /**
    34          * --terrain-seed and --terrain-size
    34          * --terrain-seed and --terrain-size
    35          */
    35          */
    36         TerrainConfig terrain;
    36         TerrainConfig terrain;
    64         int parse_arg_int (const std::string &arg_val, const char *arg_name);
    64         int parse_arg_int (const std::string &arg_val, const char *arg_name);
    65 
    65 
    66         /**
    66         /**
    67          * Parse unsigned WIDTHxHEIGHT argument
    67          * Parse unsigned WIDTHxHEIGHT argument
    68          */
    68          */
    69         PixelCoordinate parse_arg_dimensions (const std::string &arg_val, const char *arg_name);
    69         PixelDimensions parse_arg_dimensions (const std::string &arg_val, const char *arg_name);
    70         
    70         
    71         /**
    71         /**
    72          * Print out a list of display modes
    72          * Print out a list of display modes
    73          */
    73          */
    74         void dump_display_modes (void);
    74         void dump_display_modes (void);