1
0
Fork 0
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:
Dragorn421 2022-07-15 01:02:07 +02:00 committed by GitHub
parent 79cb1f8d5c
commit 9647f50451
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 337 additions and 277 deletions

View file

@ -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) {