Transfer market: the search dialog behind Suchen and Vorschlag; asking fee display follows Diamond 3.7
TransferMarketScreen gets the dialog of the original (KB/69.VGA panel at 184,20, seven bar rows from the EXE table, click rules of sub_19409, confirm button, price estimate). Suchen opens it with the stored profile, Vorschlag with the suggestion the squad asks for (computed in the projection). Closing posts a store_search_profile request; the controller stores it and announces the matching listings through the notice presenter, like the original's message boxes. Right button or Esc leaves with the search switched off. Controller test drives the whole route. The market list showed the asking fee scaled by 0x30d4 (older Diamond); 3.7 rounds to 10000 (sub_3C940), now also in the projection. Four tests computed the old base and follow. Fixes #79 Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
933567232e
commit
0a95dbcba6
12 files changed
+255
-17
No files matched your search
@@ -1916,6 +1916,10 @@ inline constexpr auto TransferMarket_Rect_TextPointer2 = 0xa0045;
|
||||
inline constexpr auto TransferMarket_Rect_TextPointer3 = 0xae148;
|
||||
inline constexpr auto TransferMarket_Rect_TextPointer4 = 0xae14c;
|
||||
inline constexpr auto TransferMarket_Rect_TextPointer5 = 0xae150;
|
||||
// Search dialog (buttons Suchen / Vorschlag): seven 5-byte rows (y, step in px, cells, slider flag, profile offset)
|
||||
// and the text pointer of its confirm button.
|
||||
inline constexpr auto TransferMarket_SearchRows_RuntimeField = 0xa20fb;
|
||||
inline constexpr auto TransferMarket_SearchButton_TextPointer = 0xae144;
|
||||
inline constexpr auto TransferMarket_Rect_TextPointer6 = 0xaecac;
|
||||
inline constexpr auto TransferMarket_Rect_TextPointer7 = 0xaf250;
|
||||
inline constexpr auto TransferMarket_Render_TextPointer = 0xaf264;
|
||||
|
||||
Reference in new issue
Block a user