mirror of
https://github.com/zeldaret/oot.git
synced 2025-07-14 11:54:39 +00:00
Cleanup z_debug (reg editor) (#1290)
* Cleanup z_debug * misc * pad reg names column to """allow""" 40 characters because why not * safety parentheses in regs.h * More safety parentheses, in named regs defines * sort named regs in order, except for message system regs (?) * put all regs in order (message system ones too)
This commit is contained in:
parent
79cb1f8d5c
commit
9647f50451
5 changed files with 337 additions and 277 deletions
|
@ -1700,7 +1700,7 @@ s32 DbCamera_ClearCallback(char* c) {
|
|||
return Mempak_DeleteFile(2, *c);
|
||||
}
|
||||
|
||||
void DbCamera_DrawSlotLetters(char* str, s16 y, s16 x, s32 colorId) {
|
||||
void DbCamera_DrawSlotLetters(char* str, s16 y, s16 x, s32 colorIndex) {
|
||||
s32 i;
|
||||
|
||||
for (i = 0; i < ARRAY_COUNT(sDbCameraCuts) - 1; i++) {
|
||||
|
@ -1709,9 +1709,9 @@ void DbCamera_DrawSlotLetters(char* str, s16 y, s16 x, s32 colorId) {
|
|||
}
|
||||
|
||||
str[0x14] = str[i * 2 + 1] = '\0';
|
||||
func_8006376C(x, y, colorId, str);
|
||||
func_8006376C(x, y, colorIndex, str);
|
||||
str[0x14] = str[i * 2 + 0] = '-';
|
||||
func_8006376C(x + 0x14, y, colorId, str + 0x14);
|
||||
func_8006376C(x + 0x14, y, colorIndex, str + 0x14);
|
||||
}
|
||||
|
||||
void DbCamera_PrintAllCuts(Camera* cam) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue