Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
MorsGames
GitHub Repository: MorsGames/sm64plus
Path: blob/master/src/goddard/sfx.h
7858 views
1
#ifndef GD_SFX_H
2
#define GD_SFX_H
3
4
#include <PR/ultratypes.h>
5
6
// Sfx for Mario Head Screen
7
enum GdSfx {
8
GD_SFX_NONE = 0x00,
9
GD_SFX_HAND_APPEAR = 0x01,
10
GD_SFX_HAND_DISAPPEAR = 0x02,
11
GD_SFX_UNUSED_COIN = 0x04,
12
GD_SFX_PINCH_FACE = 0x08,
13
GD_SFX_PINCH_FACE_2 = 0x10,
14
GD_SFX_LET_GO_FACE = 0x20,
15
GD_SFX_CAM_ZOOM_IN = 0x40,
16
GD_SFX_CAM_ZOOM_OUT = 0x80
17
};
18
19
// functions
20
void gd_reset_sfx(void);
21
u32 gd_new_sfx_to_play(void);
22
void gd_sfx_update(void);
23
void gd_play_sfx(enum GdSfx sfx);
24
25
#endif // GD_SFX_H
26
27