Search profile engine: closing rule, "Vorschlag" and matching shared with the market news
New game/search_profile.* holds the 18-byte search profile of a human manager (manager record +0x1f6): the dialog's closing rule, the suggestion generated from the squad (original sub_18F06), the position strengths (sub_19A38) and the listing match (sub_190B5). search_profile_news in month.cpp now uses the same matching rule. Compared with the Diamond 3.7 routines in the emulator harness on 10 savegames (306 runs, 406 matched listings, no difference; a deliberately changed profile is detected). Part of #79 (the dialog in the graphical client and the console commands follow) Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
e9ba514a65
commit
ff4ad035a7
6 files changed
+346
-39
No files matched your search
@@ -240,6 +240,7 @@ add_library(bmhcore STATIC
|
||||
src/game/matchday_setup.cpp
|
||||
src/game/prediction.cpp
|
||||
src/game/month.cpp
|
||||
src/game/search_profile.cpp
|
||||
src/game/desk.cpp
|
||||
src/game/cup.cpp
|
||||
src/game/club_info.cpp
|
||||
@@ -1192,6 +1193,9 @@ add_test(NAME daily_interest_unit_tests COMMAND daily_interest_unit_tests)
|
||||
add_executable(transfer_seller_actions_tests tests/transfer_seller_actions_tests.cpp)
|
||||
target_link_libraries(transfer_seller_actions_tests PRIVATE bmhcore)
|
||||
add_test(NAME transfer_seller_actions_tests COMMAND transfer_seller_actions_tests)
|
||||
add_executable(search_profile_tests tests/search_profile_tests.cpp)
|
||||
target_link_libraries(search_profile_tests PRIVATE bmhcore)
|
||||
add_test(NAME search_profile_tests COMMAND search_profile_tests)
|
||||
|
||||
add_executable(transfer_seller_app_tests tests/transfer_seller_app_tests.cpp ${BMH_APP_SESSION_SDL_SOURCE})
|
||||
target_link_libraries(transfer_seller_app_tests PRIVATE bmhui openbmh_audio ${BMH_SDL_TARGET})
|
||||
|
||||
Reference in new issue
Block a user