You've already forked HackerSM64
mirror of
https://github.com/HackerN64/HackerSM64.git
synced 2026-01-21 10:35:32 -08:00
Compare commits
4 Commits
develop/2.
...
develop/2.
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
32035cfb7f | ||
|
|
e100979877 | ||
|
|
64225b7a19 | ||
|
|
735c0ba438 |
@@ -44,6 +44,16 @@
|
||||
*/
|
||||
#define PARALLEL_LAKITU_CAM
|
||||
|
||||
/**
|
||||
* These defines decide whether the turning, error and zoom out/zoom in out sounds are enabled, and which sounds to play if enabled.
|
||||
* The turning, zooming out and zooming in sounds have been replaced with less annoying ones.
|
||||
* If you want the vanilla ones back, set them to SOUND_MENU_CAMERA_TURN, SOUND_MENU_CAMERA_ZOOM_OUT and SOUND_MENU_CAMERA_ZOOM_IN respectively.
|
||||
*/
|
||||
#define CAMERA_TURN_SOUND SOUND_MENU_MESSAGE_NEXT_PAGE
|
||||
#define CAMERA_ZOOM_OUT_SOUND SOUND_MENU_MESSAGE_DISAPPEAR
|
||||
#define CAMERA_ZOOM_IN_SOUND SOUND_MENU_MESSAGE_APPEAR
|
||||
// #define CAMERA_ERROR_SOUND SOUND_MENU_CAMERA_BUZZ
|
||||
|
||||
/**
|
||||
* Enables Puppy Camera 2, a rewritten camera that can be freely configured and modified.
|
||||
*/
|
||||
|
||||
@@ -4543,19 +4543,27 @@ void play_camera_buzz_if_c_sideways(void) {
|
||||
}
|
||||
|
||||
void play_sound_cbutton_up(void) {
|
||||
play_sound(SOUND_MENU_CAMERA_ZOOM_IN, gGlobalSoundSource);
|
||||
#ifdef CAMERA_ZOOM_IN_SOUND
|
||||
play_sound(CAMERA_ZOOM_IN_SOUND, gGlobalSoundSource);
|
||||
#endif
|
||||
}
|
||||
|
||||
void play_sound_cbutton_down(void) {
|
||||
play_sound(SOUND_MENU_CAMERA_ZOOM_OUT, gGlobalSoundSource);
|
||||
#ifdef CAMERA_ZOOM_OUT_SOUND
|
||||
play_sound(CAMERA_ZOOM_OUT_SOUND, gGlobalSoundSource);
|
||||
#endif
|
||||
}
|
||||
|
||||
void play_sound_cbutton_side(void) {
|
||||
play_sound(SOUND_MENU_CAMERA_TURN, gGlobalSoundSource);
|
||||
#ifdef CAMERA_TURN_SOUND
|
||||
play_sound(CAMERA_TURN_SOUND, gGlobalSoundSource);
|
||||
#endif
|
||||
}
|
||||
|
||||
void play_sound_button_change_blocked(void) {
|
||||
play_sound(SOUND_MENU_CAMERA_BUZZ, gGlobalSoundSource);
|
||||
#ifdef CAMERA_ERROR_SOUND
|
||||
play_sound(CAMERA_ERROR_SOUND, gGlobalSoundSource);
|
||||
#endif
|
||||
}
|
||||
|
||||
void play_sound_rbutton_changed(void) {
|
||||
|
||||
Reference in New Issue
Block a user