summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorAnghelo Carvajal <angheloalf95@gmail.com>2023-08-17 12:19:13 -0400
committerGitHub <noreply@github.com>2023-08-17 09:19:13 -0700
commitc65a8dbc3903af19fe0253ab8774accbc06b0cb7 (patch)
tree8c136e0ecea87503261cdd22fc5b81cf31044f50 /lib
parent1bebc761b638ad061778667e4bab4ec92fe81aa7 (diff)
Game renaming (#63)
* rename GameState to Game * Rename the structs * fix table * whoops * rename play parameter * format * undo what i messed in z64compress
Diffstat (limited to 'lib')
-rw-r--r--lib/ultralib/src/audio/event.c2
-rw-r--r--lib/ultralib/src/audio/sndp.h2
-rw-r--r--lib/ultralib/src/error/commonerror.c2
3 files changed, 3 insertions, 3 deletions
diff --git a/lib/ultralib/src/audio/event.c b/lib/ultralib/src/audio/event.c
index 3112c99..531e17c 100644
--- a/lib/ultralib/src/audio/event.c
+++ b/lib/ultralib/src/audio/event.c
@@ -59,7 +59,7 @@ ALMicroTime alEvtqNextEvent(ALEventQueue *evtq, ALEvent *evt)
{
/* sct 11/28/95 - If we get here, most like we overflowed the event queue */
/* with non-self-perpetuating events. Eg. if we filled the evtq with volume */
- /* events, then when the seqp is told to play it will handle all the events */
+ /* events, then when the seqp is told to game_play it will handle all the events */
/* at once completely emptying out the queue. At this point this problem */
/* must be treated as an out of resource error and the evtq should be increased. */
evt->type = -1;
diff --git a/lib/ultralib/src/audio/sndp.h b/lib/ultralib/src/audio/sndp.h
index 17d7015..e21739d 100644
--- a/lib/ultralib/src/audio/sndp.h
+++ b/lib/ultralib/src/audio/sndp.h
@@ -53,7 +53,7 @@ typedef struct {
ALSound *sound; /* sound referenced here */
s16 priority;
f32 pitch; /* current playback pitch */
- s32 state; /* play state for this sound */
+ s32 state; /* game_play state for this sound */
s16 vol; /* volume - combined with volume from bank */
ALPan pan; /* pan - 0 = left, 127 = right */
u8 fxMix; /* wet/dry mix - 0 = dry, 127 = wet */
diff --git a/lib/ultralib/src/error/commonerror.c b/lib/ultralib/src/error/commonerror.c
index 53cca55..7c60755 100644
--- a/lib/ultralib/src/error/commonerror.c
+++ b/lib/ultralib/src/error/commonerror.c
@@ -126,7 +126,7 @@ const char* __os_error_message[] = {
"Synthesizer: no free updates",
"alSndPDeallocate: attempt to deallocate a sound which is playing",
"alSndpDelete: attempt to delete player with playing sounds",
- "alSndpPlay: attempt to play a sound which is playing",
+ "alSndpPlay: attempt to game_play a sound which is playing",
"alSndpSetSound: sound id (%d) out of range (0 - %d)",
"alSndpSetPriority: sound id (%d) out of range (0 - %d)",
"alSndpSet Parameter: target (%d) out of range (0 - %d)",