ref: 4b2dc259269602670c436a25e335608f269ad866
parent: 0229ae9cfd2e90f587c08280e17833fd7cb72303
author: Simon Howard <fraggle@soulsphere.org>
date: Wed Jul 15 20:04:42 EDT 2015
setup: Update to add new defaults. A couple more 'alternate default' settings that I think are worth adding.
--- a/src/setup/display.h
+++ b/src/setup/display.h
@@ -21,5 +21,6 @@
extern int show_endoom;
extern int graphical_startup;
+extern int png_screenshots;
#endif /* #ifndef SETUP_DISPLAY_H */
--- a/src/setup/mainmenu.c
+++ b/src/setup/mainmenu.c
@@ -91,6 +91,8 @@
show_endoom = 0;
dclick_use = 0;
novert = 1;
+ snd_dmxoption = "-opl3";
+ png_screenshots = 1;
}
static int MainMenuKeyPress(txt_window_t *window, int key, void *user_data)
--- a/src/setup/sound.c
+++ b/src/setup/sound.c
@@ -86,6 +86,7 @@
int snd_maxslicetime_ms = 28;
char *snd_musiccmd = "";
int snd_pitchshift = 0;
+char *snd_dmxoption = "";
static int numChannels = 8;
static int sfxVolume = 8;
@@ -95,7 +96,6 @@
static int use_libsamplerate = 0;
static float libsamplerate_scale = 0.65;
-static char *snd_dmxoption = "";
static char *timidity_cfg_path = NULL;
static char *gus_patch_path = NULL;
static int gus_ram_kb = 1024;
--- a/src/setup/sound.h
+++ b/src/setup/sound.h
@@ -20,4 +20,6 @@
void ConfigSound(void);
void BindSoundVariables(void);
+extern char *snd_dmxoption;
+
#endif /* #ifndef SETUP_SOUND_H */