diff --git a/notes/systems/menus.md b/notes/systems/menus.md index 47b5df8..0e9d896 100644 --- a/notes/systems/menus.md +++ b/notes/systems/menus.md @@ -13,7 +13,11 @@ Port: isaac-classic `src/game/menu/rebirth_menu.{hpp,cpp}` (logic), `src/app/reb MenuOverlay.png stretched over the screen, MenuShadow at (0, H-148), the overlay again at the vignette's alpha (eases 0.025 toward 0.5 on Hard/Greedier). - Menu_Challenge::Update 0x945e50 overwrites set[7].y each update: cursor<5 -216; <43 -216-(c-4)*22; else -1074 - (0xbaae84/0xbaaea8). With Position.y = 405 that puts the first rows ~260 pt down: transcribed as is, looks low. + (0xbaae84/0xbaaea8). The challenge menu's Position is NOT -(480,-405): Init calls Menu_SpecialSeeds::Reset 0x8f19f0 + ("Menu SpecialSeed Init") before "Menu Challenge Init", and that Reset writes set[7].y = -216 ([g_menuManager+0xf740], + asm 0x8f1a5c), so Init reads (480,-216) and the challenges' Position is (-480, 216): -216 is the list's top. + (Reading Position as -405 put the first rows ~260 pt low.) set[i] lives at MenuManager+0xf704+8i; 0xf6fc/0xf700 + (constructor: 0, -1350) are the special seeds' base view, copied into set[6] by Init and Menu_SpecialSeeds::Update. ## Menu_Game 0x981140 Items 0 New Run (push 5), 1 Continue (skipped without a save; Item2 layer frame 0 saved / 1 greyed / 2 rerun),