From 4fdd52d694a35ad9ef2db630739df15e1752a475 Mon Sep 17 00:00:00 2001 From: "B. Watson" Date: Thu, 7 Jan 2016 05:59:10 -0500 Subject: some sounds in game now --- sounds.h | 68 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 68 insertions(+) (limited to 'sounds.h') diff --git a/sounds.h b/sounds.h index 06f67ec..7b72734 100644 --- a/sounds.h +++ b/sounds.h @@ -1,5 +1,73 @@ +/* set volume 10, distortion 10 on audio channel 0 */ void init_sound(void); + +/* silence audio channel 0 */ void stop_sound(void); + +/* played when something bad happens */ void bad_joss_sound(void); + +/* played when something good happens */ void good_joss_sound(void); + +/* played before & during combat */ void under_attack_sound(void); + +/* rest of this file is a list of all the instances of each sound, + gathered by playing the Apple II version in an emulator, and by + reading the Applesoft source (the goggles, they do nothing!). It + may be incomplete. + +bad_joss_sound: CALL 2521 +li yuen has sent a lieutenant... * +li yuen's pirates! (attacking) * +killed a bad guy (?) * +sunk X of 'em * +X ran away * +storm taipan! * +we made it! (after a storm) * + +call 2521: +wu_bailout (very well, good joss) * +trying to enter an empty firm name +we got 'em all! * +let's hope we lose 'em! * +X ran away * +sunk X of the buggers * +they let us be * + +good_joss_sound: CALL 2518 +captured some booty * +we made it! (after combat) * +got away in combat * +you're already here! * +price has risen (dropped) * + +call 2518: +there's nothing there (throwing cargo) +ship overloaded * +you have only (trying to put too much in warehouse) +you have only X in cash (paying Wu back, depositing in bank) +you have only X in the bank +warehouse will only hold an additional +warehouse is full +won't loan you so much +you have no cargo (trying to put in warehouse) + + +under_attack_sound: CALL 2512 +X hostile ships approaching * +hit in combat + +call 2512: +beaten & robbed +bodyguards killed +very well, the game is over (wu_bailout) * +buggers hit a gun +we've been hit +what shall we do? +we're going down (storm) +X ships of li yuen's pirate fleet * +X hostile ships approaching * + +*/ -- cgit v1.2.3