{ LURKING_HORROR, 203, "870506" },
{ LURKING_HORROR, 219, "870912" },
{ LURKING_HORROR, 221, "870918" },
+ { BUREAUCRACY, 86, "870212" },
+ { BUREAUCRACY, 116, "870602" },
+ { BUREAUCRACY, 160, "880521" },
+ { TRINITY, 1, "851202" },
+ { TRINITY, 14, "860313" },
+ { TRINITY, 1, "860221" },
+ { TRINITY, 11, "860509" },
+ { TRINITY, 12, "860926" },
+ { TRINITY, 15, "870628" },
{ UNKNOWN, 0, "------" }
};
*/
void init_sound (void)
{
+
+ /* These games use sound effects numbers 1 and 2, which are defined
+ * as high and low "bleeps" respectively, yet they do not set SOUND_FLAG
+ * or OLD_SOUND_FLAG. Note that OLD_SOUND_FLAG uses the same bit as does
+ * UNDO_FLAG, but the former is only for V3 games and the latter for V5+.
+ *
+ * Currently os_beep() just rings the terminal, so f_setup.bleep isn't
+ * yet being used.
+ */
+ switch (story_id) {
+ case TRINITY:
+ case BUREAUCRACY:
+ case AMFV: f_setup.bleep = TRUE;
+ break;
+ default: break;
+ }
+
if ((h_flags & SOUND_FLAG) || (h_version == V3 && (h_flags & OLD_SOUND_FLAG))) {
f_setup.sound_flag = TRUE;
locked = FALSE;
f_setup.expand_abbreviations = 0;
f_setup.script_cols = 80;
f_setup.sound = 1;
+ f_setup.sound_flag = 0;
+ f_setup.bleep = 0;
f_setup.err_report_mode = ERR_DEFAULT_REPORT_MODE;
f_setup.restore_mode = 0;