summaryrefslogtreecommitdiff
path: root/src/code/sys_matrix.c
diff options
context:
space:
mode:
authorAnghelo Carvajal <angheloalf95@gmail.com>2021-06-17 08:54:18 -0400
committerGitHub <noreply@github.com>2021-06-17 08:54:18 -0400
commit3098abd4f6f9249131b79a0213e440bfa243662d (patch)
tree135094a9376b5c65beb0d0e80e15e23fcb3ff8a3 /src/code/sys_matrix.c
parent52d36d7373f94ce5f4b14d9461b5fedc65601888 (diff)
Add current missing functions prototypes (#181)
* First bash * Another batch * Another bunch * Update actorfixer * run format * Apply suggestions from code review Co-authored-by: engineer124 <47598039+engineer124@users.noreply.github.com> * Suggestion * context renaming * Update include/functions.h Co-authored-by: engineer124 <47598039+engineer124@users.noreply.github.com> * Fix renamings * fix Co-authored-by: engineer124 <47598039+engineer124@users.noreply.github.com>
Diffstat (limited to 'src/code/sys_matrix.c')
-rw-r--r--src/code/sys_matrix.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/code/sys_matrix.c b/src/code/sys_matrix.c
index d626da455..20283638a 100644
--- a/src/code/sys_matrix.c
+++ b/src/code/sys_matrix.c
@@ -1,25 +1,25 @@
#include <ultra64.h>
#include <global.h>
-void Matrix_Init(GameState* state) {
- sMatrixStack = (MtxF*)THA_AllocEndAlign16(&state->heap, 0x500);
+void SysMatrix_StateAlloc(GameState* gamestate) {
+ sMatrixStack = (MtxF*)THA_AllocEndAlign16(&gamestate->heap, 0x500);
sCurrentMatrix = sMatrixStack;
}
-void Matrix_Push(void) {
+void SysMatrix_StatePush(void) {
MtxF* prev = sCurrentMatrix;
sCurrentMatrix++;
Matrix_MtxFCopy(sCurrentMatrix, prev);
}
-void Matrix_Pop(void) {
+void SysMatrix_StatePop(void) {
sCurrentMatrix--;
}
#pragma GLOBAL_ASM("./asm/non_matchings/code/sys_matrix/SysMatrix_CopyCurrentState.asm")
-#pragma GLOBAL_ASM("./asm/non_matchings/code/sys_matrix/Matrix_Put.asm")
+#pragma GLOBAL_ASM("./asm/non_matchings/code/sys_matrix/SysMatrix_SetCurrentState.asm")
#pragma GLOBAL_ASM("./asm/non_matchings/code/sys_matrix/SysMatrix_GetCurrentState.asm")