Skip to content

Commit

Permalink
fix typo src (#654)
Browse files Browse the repository at this point in the history
* fix typo src

* fix non matcing

* Update code_80091750.c

---------

Co-authored-by: MegaMech <[email protected]>
  • Loading branch information
coco875 and MegaMech authored Aug 16, 2024
1 parent eae28fa commit 81fe450
Show file tree
Hide file tree
Showing 46 changed files with 505 additions and 501 deletions.
2 changes: 2 additions & 0 deletions include/defines.h
Original file line number Diff line number Diff line change
Expand Up @@ -76,8 +76,10 @@

#ifdef VERSION_EU
#define COURSE_TIMER_ITER 0.020041665999999999 // 1 / 50
#define COURSE_TIMER_ITER_f 0.020041665999999999f // 1 / 50
#else
#define COURSE_TIMER_ITER 0.01666666 // 1 / 60
#define COURSE_TIMER_ITER_f 0.01666666f // 1 / 60
#endif

#define V_BlANK_TIMER_ITER 0.01666666
Expand Down
2 changes: 1 addition & 1 deletion src/camera.h
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#ifndef CAMERA_H
#define CAMERA_H

#include "common_structs.h"
#include <common_structs.h>

/**
* @todo put this define in types.h or similar.
Expand Down
4 changes: 2 additions & 2 deletions src/code_80004740.c
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ void func_80004A1C(animation_type_1 *arg0, s16 *arg1, animation_type_3_triplet a
}
sp8C[someIndex] = arg1[arg2[someIndex].some_offset + some_offset];
}

mtxf_translate_rotate2(sp4C, sp94, sp8C);
func_80004740(&gGfxPool->mtxHud[gMatrixHudCount], sp4C);
D_80162D7A += 1;
Expand Down Expand Up @@ -172,6 +172,6 @@ s16 func_80004DFC(animation_type_1 *arg0, animation_type_2 **arg1, s16 arg2, s16
s16 func_80004EAC(void *addr, s16 offset) {
uintptr_t *item = segmented_to_virtual(addr);
struct stru_80004EAC *temp = (struct stru_80004EAC *) segmented_to_virtual((void *) item[offset]);

return temp->unk8 - 1;
}
2 changes: 1 addition & 1 deletion src/code_80004740.h
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#ifndef CODE_80004740_H
#define CODE_80004740_H

#include "common_structs.h"
#include <common_structs.h>

/*
What I know about animation stuff so far
Expand Down
Loading

0 comments on commit 81fe450

Please sign in to comment.