X-Git-Url: http://git.eversberg.eu/gitweb.cgi?p=mercenary-reloaded.git;a=blobdiff_plain;f=src%2Fmercenary%2Fmain.c;h=1ba1f440e7afe3c8cc53c61a1b8b55fb79adb02a;hp=f944dd0399dd87133faee6878c1a00dfc7cdfeec;hb=4a148b62da861f72c05a058fb14f7232f17e4cab;hpb=b4d06ff78ae4d481ee517f82b6008a17943c8bbe diff --git a/src/mercenary/main.c b/src/mercenary/main.c index f944dd0..1ba1f44 100644 --- a/src/mercenary/main.c +++ b/src/mercenary/main.c @@ -55,7 +55,7 @@ static int config_ctrl_c = 0; static int config_amiga_speed = 0; /* fast speed */ -static double config_fps = 16.0; +static double config_fps = 10.0; #if !defined(_WIN32) static const char *config_gamesave_dir = ".mercenary"; #endif @@ -64,6 +64,7 @@ static int config_audio_filter = 1; static int config_render = 1; /* opengl render */ static int config_skip_intro = 0; static int config_multisampling = 8; +static int config_joystick = -1, config_joystick_x = -1, config_joystick_y = -1, config_joystick_fire = -1; #ifdef HAVE_OVR static double config_benson_size = 0.7; static double config_fov = FOV_JOLLY; @@ -171,6 +172,12 @@ int parse_args(int argc, char *argv[]) print_info(" Set field-of-view. Default is %.0f.\n", FOV_NOVAGEN); print_info(" -i --skip-intro\n"); print_info(" Skip intro sequence approaching to Eris space port.\n"); + print_info(" -j --joystick | list\n"); + print_info(" Select given joystick number or show list. (default = 0, if available)\n"); + print_info(" --joystick-x \n"); + print_info(" --joystick-y \n"); + print_info(" --joystick-fire