boolean network_playing = FALSE;
int key_joystick_mapping = 0;
-int global_joystick_status = JOYSTICK_STATUS;
boolean redraw[MAX_BUF_XSIZE][MAX_BUF_YSIZE];
int redraw_x1 = 0, redraw_y1 = 0;
"gate.wav"
};
-/* background music */
-int background_loop[] =
+/* sound effects: setup file identifiers and corresponding default filenames */
+struct
{
-#if 0
- SND_ALCHEMY,
- SND_CHASE,
- SND_NETWORK,
- SND_CZARDASZ,
- SND_TYGER,
- SND_VOYAGER,
- SND_TWILIGHT
-#endif
+ char *identifier;
+ char *default_filename;
+}
+sound_effect[NUM_SOUND_EFFECTS] =
+{
+ { "collecting_infotron", "infotron.wav" },
+ { "falling_zonk", "zonkdown.wav" },
+ { "pushing_zonk", "zonkpush.wav" }
};
-int num_bg_loops = sizeof(background_loop)/sizeof(int);
char *element_info[] =
{