mirror of
https://github.com/zeldaret/oot.git
synced 2025-07-13 19:35:28 +00:00
[iQue] Create/update macros for printing debug strings (#2398)
This commit is contained in:
parent
a3c3c38fea
commit
f329507f97
65 changed files with 328 additions and 303 deletions
|
@ -87,9 +87,9 @@ void Object_InitContext(PlayState* play, ObjectContext* objectCtx) {
|
|||
objectCtx->slots[i].id = OBJECT_INVALID;
|
||||
}
|
||||
|
||||
PRINTF(VT_FGCOL(GREEN));
|
||||
PRINTF_COLOR_GREEN();
|
||||
PRINTF(T("オブジェクト入れ替えバンク情報 %8.3fKB\n", "Object exchange bank data %8.3fKB\n"), spaceSize / 1024.0f);
|
||||
PRINTF(VT_RST);
|
||||
PRINTF_RST();
|
||||
|
||||
objectCtx->spaceStart = objectCtx->slots[0].segment =
|
||||
GAME_STATE_ALLOC(&play->state, spaceSize, "../z_scene.c", 219);
|
||||
|
@ -195,9 +195,9 @@ s32 Scene_ExecuteCommands(PlayState* play, SceneCmd* sceneCmd) {
|
|||
if (cmdCode < ARRAY_COUNT(sSceneCmdHandlers)) {
|
||||
sSceneCmdHandlers[cmdCode](play, sceneCmd);
|
||||
} else {
|
||||
PRINTF(VT_FGCOL(RED));
|
||||
PRINTF_COLOR_RED();
|
||||
PRINTF(T("code の値が異常です\n", "code variable is abnormal\n"));
|
||||
PRINTF(VT_RST);
|
||||
PRINTF_RST();
|
||||
}
|
||||
|
||||
sceneCmd++;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue