Match AddressEdit state helpers #41

Merged
coah80 merged 2 commits from codex/address-edit-focus-20260921 into main 2026-09-21 22:40:47 +00:00
coah80 commented 2026-09-21 22:40:40 +00:00 (Migrated from github.com)

Summary

  • match seven remaining AddressEdit state and rendering helpers
  • keep the changes isolated to iplAddressEdit.cpp

Validation

  • exact code: 3,300/27,112 bytes
  • exact functions: 29/94
  • seven new functions have zero instruction diffs
  • no data section exists in the candidate object; no pool divergence
  • full 43U build passed after integrating PR #40
  • DOL SHA1: 26116613f624061ba99c8d1a299aaa6efa85670d

Note

Add AddressEdit state helpers for fadeout, draw, and input states

  • Implements calcFadeout to update the text balloon and return a boolean from system state and layout frame-controller values
  • Implements draw to set orthographic mode and render three layout objects plus the text balloon when system state is one
  • Adds stt_wait_btn_fadein, stt_wait_del_msg_fadeout_to_rlt, stt_msg_del_rlt, stt_ipt_wait_fadein, and stt_ipt_normal state handlers that drive state transitions and layout/dialog updates
  • Risk: new assembly in iplAddressEdit.cpp introduces hardcoded state values (0x0d, 0x30, 0x51, 0x2e) and frame-controller indices that must match the layout and dialog definitions

Macroscope summarized 99054dd.

## Summary - match seven remaining AddressEdit state and rendering helpers - keep the changes isolated to iplAddressEdit.cpp ## Validation - exact code: 3,300/27,112 bytes - exact functions: 29/94 - seven new functions have zero instruction diffs - no data section exists in the candidate object; no pool divergence - full 43U build passed after integrating PR #40 - DOL SHA1: 26116613f624061ba99c8d1a299aaa6efa85670d <!-- Macroscope's pull request summary starts here --> <!-- Macroscope will only edit the content between these invisible markers, and the markers themselves will not be visible in the GitHub rendered markdown. --> <!-- If you delete either of the start / end markers from your PR's description, Macroscope will append its summary at the bottom of the description. --> > [!NOTE] > ### Add `AddressEdit` state helpers for fadeout, draw, and input states > - Implements `calcFadeout` to update the text balloon and return a boolean from system state and layout frame-controller values > - Implements `draw` to set orthographic mode and render three layout objects plus the text balloon when system state is one > - Adds `stt_wait_btn_fadein`, `stt_wait_del_msg_fadeout_to_rlt`, `stt_msg_del_rlt`, `stt_ipt_wait_fadein`, and `stt_ipt_normal` state handlers that drive state transitions and layout/dialog updates > - Risk: new assembly in [iplAddressEdit.cpp](https://github.com/coah80/wii-ipl/pull/41/files#diff-66a27b13bda271223ec7294c9e6377128492e75203c03479e31956da5d204bd1) introduces hardcoded state values (0x0d, 0x30, 0x51, 0x2e) and frame-controller indices that must match the layout and dialog definitions > > <!-- Macroscope's review summary starts here --> > > <sup><a href="https://app.macroscope.com">Macroscope</a> summarized 99054dd.</sup> > <!-- Macroscope's review summary ends here --> > <!-- Macroscope's pull request summary ends here -->
Sign in to join this conversation.