Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
6cccbb01d3 | ||
|
|
8780d7b5a5 | ||
|
|
a279bfb6df | ||
|
|
0535764834 |
No files matched your search
@@ -62,4 +62,4 @@ jobs:
|
|||||||
GH_TOKEN: ${{ github.token }}
|
GH_TOKEN: ${{ github.token }}
|
||||||
RELEASE_TAG: ${{ github.ref_name }}
|
RELEASE_TAG: ${{ github.ref_name }}
|
||||||
run: |
|
run: |
|
||||||
gh release create "$RELEASE_TAG" dist/*.zip dist/SHA256SUMS dist/QA-REPORT.json --draft --verify-tag --title "OpenBMH $RELEASE_TAG" --notes-file docs/release/1.0.6/RELEASE_NOTES.md
|
gh release create "$RELEASE_TAG" dist/*.zip dist/SHA256SUMS dist/QA-REPORT.json --draft --verify-tag --title "OpenBMH $RELEASE_TAG" --notes-file docs/release/1.0.7/RELEASE_NOTES.md
|
||||||
+1
-1
@@ -1,6 +1,6 @@
|
|||||||
# SPDX-License-Identifier: GPL-3.0-only
|
# SPDX-License-Identifier: GPL-3.0-only
|
||||||
cmake_minimum_required(VERSION 3.24)
|
cmake_minimum_required(VERSION 3.24)
|
||||||
project(OpenBMH VERSION 1.0.6 LANGUAGES CXX C)
|
project(OpenBMH VERSION 1.0.7 LANGUAGES CXX C)
|
||||||
if(APPLE)
|
if(APPLE)
|
||||||
# Enable native languages before dependencies/subdirectories inherit rules.
|
# Enable native languages before dependencies/subdirectories inherit rules.
|
||||||
enable_language(OBJC OBJCXX)
|
enable_language(OBJC OBJCXX)
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
# OpenBMH
|
# OpenBMH
|
||||||
|
|
||||||
**Classic-Version: 1.0.6.** Die originalgetreue Linie bleibt in diesem Repository.
|
**Classic-Version: 1.0.7.** Die originalgetreue Linie bleibt in diesem Repository.
|
||||||
Erweiterte Ligen, die gemeinsame deutsche/englische Karriere und der Dateneditor
|
Erweiterte Ligen, die gemeinsame deutsche/englische Karriere und der Dateneditor
|
||||||
werden separat als **[OpenBMH-Extended 1.0 Beta](https://github.com/Weyoune/OpenBMH-extended)** entwickelt.
|
werden separat als **[OpenBMH-Extended 1.0 Beta](https://github.com/Weyoune/OpenBMH-extended)** entwickelt.
|
||||||
|
|
||||||
@@ -30,7 +30,7 @@ In Windows PowerShell, use `.\OpenBMH.exe` and `.\openbmh_cli.exe` instead.
|
|||||||
|
|
||||||
To report a problem, start the game with `-debug`. It then writes `openbmh-debug.log` (timestamped events, errors and refused actions) and `openbmh-stderr.log` into the `debug` sub folder of the save directory, and saves the game there after every match day (`DBG00001.FBM`, `DBG00002.FBM`, ...). Attach the log and the last save to the report.
|
To report a problem, start the game with `-debug`. It then writes `openbmh-debug.log` (timestamped events, errors and refused actions) and `openbmh-stderr.log` into the `debug` sub folder of the save directory, and saves the game there after every match day (`DBG00001.FBM`, `DBG00002.FBM`, ...). Attach the log and the last save to the report.
|
||||||
|
|
||||||
Use a writable save directory and keep backups of existing games. German editions are the primary compatibility target. **Football Limited / English data support is experimental**; original V2.20 save import and some edition-specific behaviour remain limited. See the [release notes](docs/release/1.0.6/RELEASE_NOTES.md).
|
Use a writable save directory and keep backups of existing games. German editions are the primary compatibility target. **Football Limited / English data support is experimental**; original V2.20 save import and some edition-specific behaviour remain limited. See the [release notes](docs/release/1.0.7/RELEASE_NOTES.md).
|
||||||
|
|
||||||
## Features and direction
|
## Features and direction
|
||||||
|
|
||||||
|
|||||||
@@ -35,6 +35,7 @@ describe deliberate changes; they are not a list of every known compatibility li
|
|||||||
- [src/game/weekly.hpp](../src/game/weekly.hpp): uses the supported weekly processing and transfer rule profile.
|
- [src/game/weekly.hpp](../src/game/weekly.hpp): uses the supported weekly processing and transfer rule profile.
|
||||||
- [src/ui/bank.cpp](../src/ui/bank.cpp): read-only totals use wide arithmetic; individual saved account, price, holding and paid fields are unchanged.
|
- [src/ui/bank.cpp](../src/ui/bank.cpp): read-only totals use wide arithmetic; individual saved account, price, holding and paid fields are unchanged.
|
||||||
- [src/ui/desk_state.cpp](../src/ui/desk_state.cpp): the desk shows the opponent's badge whenever the data has one.
|
- [src/ui/desk_state.cpp](../src/ui/desk_state.cpp): the desk shows the opponent's badge whenever the data has one.
|
||||||
|
- [src/ui/league_pairings.cpp](../src/ui/league_pairings.cpp): the computer tip is ignored silently once a visible result is known, instead of raising an engine error.
|
||||||
- [src/ui/league_table.hpp](../src/ui/league_table.hpp): uses three points for a win in the supported rule profile.
|
- [src/ui/league_table.hpp](../src/ui/league_table.hpp): uses three points for a win in the supported rule profile.
|
||||||
- [src/ui/pitch.cpp](../src/ui/pitch.cpp): supports owner-bound designated set-piece selection in the extended manager record.
|
- [src/ui/pitch.cpp](../src/ui/pitch.cpp): supports owner-bound designated set-piece selection in the extended manager record.
|
||||||
- [src/ui/save_load.cpp](../src/ui/save_load.cpp): focuses the host save filename on entry and selects an existing name for replacement.
|
- [src/ui/save_load.cpp](../src/ui/save_load.cpp): focuses the host save filename on entry and selects an existing name for replacement.
|
||||||
|
|||||||
@@ -0,0 +1,35 @@
|
|||||||
|
# OpenBMH Classic 1.0.7
|
||||||
|
|
||||||
|
This patch fixes national-team desk screens and two small interface details
|
||||||
|
reported by testers. It requires the player's own game installation. Extended
|
||||||
|
development remains separate in
|
||||||
|
[OpenBMH-Extended](https://github.com/Weyoune/OpenBMH-extended).
|
||||||
|
|
||||||
|
## Changes since 1.0.6
|
||||||
|
|
||||||
|
- **National-team desk.** Other Games and Top Scorers open again; both screens
|
||||||
|
are identified by the home club, so the desk is no longer rejected as stale
|
||||||
|
or as a mismatched acknowledgement.
|
||||||
|
- **Computer tip.** After the results of a round are known the button is only
|
||||||
|
pressed and released, as in the original, instead of raising an engine error.
|
||||||
|
- **Manager selection.** JA of the confirmation question is shown pushed in
|
||||||
|
briefly after it is clicked.
|
||||||
|
|
||||||
|
## Validation and human QA
|
||||||
|
|
||||||
|
Release publication requires successful Windows x64, macOS ARM64 and Linux x64
|
||||||
|
builds, configured tests, product-version checks and package/source verification
|
||||||
|
for the exact tagged revision. Downloads include checksums, a platform test
|
||||||
|
report and corresponding source with pinned open-source dependencies.
|
||||||
|
|
||||||
|
The fixes were checked with the desktop, controller and manager tests; native
|
||||||
|
Windows/macOS gameplay acceptance is not established by CI builds. Open points
|
||||||
|
from 1.0.6 remain: the "player card: original atlas bounds" error (#77),
|
||||||
|
sporadic double clicks (#58) and the macOS match scene speed (#70).
|
||||||
|
|
||||||
|
## Known limits
|
||||||
|
|
||||||
|
The compatibility and long-career limits documented for
|
||||||
|
[1.0.3](../1.0.3/RELEASE_NOTES.md) remain. Football Limited is experimental;
|
||||||
|
its original V2.20 save layout remains unsupported. Keep backups of saves.
|
||||||
|
macOS packages are unsigned terminal executables, not notarised app bundles.
|
||||||
@@ -3869,6 +3869,12 @@ int main(int argc, char** argv) {
|
|||||||
const auto released = held ? flow.hold(e.button.x, e.button.y, 2000)
|
const auto released = held ? flow.hold(e.button.x, e.button.y, 2000)
|
||||||
: flow.click(e.button.x, e.button.y, e.button.button == SDL_BUTTON_RIGHT, e.button.clicks >= 2);
|
: flow.click(e.button.x, e.button.y, e.button.button == SDL_BUTTON_RIGHT, e.button.clicks >= 2);
|
||||||
present_formation_save_feedback();
|
present_formation_save_feedback();
|
||||||
|
// JA of the manager confirmation is shown pushed in briefly before the
|
||||||
|
// (possibly slow) next step starts, as in the original.
|
||||||
|
if (flow.screen_name() == "manager_accepted") {
|
||||||
|
present_season(flow.render(), "OpenBMH - manager_accepted");
|
||||||
|
SDL_Delay(150);
|
||||||
|
}
|
||||||
handle(released);
|
handle(released);
|
||||||
present_desk_record_points();
|
present_desk_record_points();
|
||||||
press.reset();
|
press.reset();
|
||||||
|
|||||||
@@ -368,6 +368,9 @@ bool LeaguePairingsScreen::release(int x,int y) {
|
|||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
if(button==5)return true; // Source ellipsis has no action.
|
if(button==5)return true; // Source ellipsis has no action.
|
||||||
|
// OpenBMH deviates from the original: the computer tip is ignored silently once a visible result is known, instead of raising an engine error.
|
||||||
|
if(button==4&&std::any_of(state_.source.rows.begin(),state_.source.rows.end(),
|
||||||
|
[](const auto& row){return row.raw_result!=0xcc;}))return true;
|
||||||
post({button==0?LeaguePairingsAction::reset:button==1?LeaguePairingsAction::search:
|
post({button==0?LeaguePairingsAction::reset:button==1?LeaguePairingsAction::search:
|
||||||
button==2?LeaguePairingsAction::filter_by_club:button==3?LeaguePairingsAction::postponed_list:
|
button==2?LeaguePairingsAction::filter_by_club:button==3?LeaguePairingsAction::postponed_list:
|
||||||
button==4?LeaguePairingsAction::computer_tip:LeaguePairingsAction::unsupported,button});return true;
|
button==4?LeaguePairingsAction::computer_tip:LeaguePairingsAction::unsupported,button});return true;
|
||||||
|
|||||||
+3
-1
@@ -392,7 +392,9 @@ Image ManagerScreen::render() const {
|
|||||||
badge(out, 54, 89, choice_.master_club); portrait(out, 221, 89, choice_.portrait);
|
badge(out, 54, 89, choice_.master_club); portrait(out, 221, 89, choice_.portrait);
|
||||||
const auto& prompt = texts_[(::bmh::layout::Manager_SmallText_TextPointer - ::bmh::layout::TextPointerTable) / 4];
|
const auto& prompt = texts_[(::bmh::layout::Manager_SmallText_TextPointer - ::bmh::layout::TextPointerTable) / 4];
|
||||||
small_text(out, 73 + 170 / 2 - small_.text_width(prompt) / 2, 140, prompt);
|
small_text(out, 73 + 170 / 2 - small_.text_width(prompt) / 2, 140, prompt);
|
||||||
button(out, 62, 166, 75, texts_[(::bmh::layout::GameEnd_Copy_TextPointer - ::bmh::layout::TextPointerTable) / 4], false);
|
// The original shows JA pushed in for a moment after it is clicked.
|
||||||
|
button(out, 62, 166, 75, texts_[(::bmh::layout::GameEnd_Copy_TextPointer - ::bmh::layout::TextPointerTable) / 4],
|
||||||
|
view_ == ManagerView::accepted);
|
||||||
button(out, 175, 166, 75, texts_[(::bmh::layout::GameEnd_Copy_TextPointer2 - ::bmh::layout::TextPointerTable) / 4], false);
|
button(out, 175, 166, 75, texts_[(::bmh::layout::GameEnd_Copy_TextPointer2 - ::bmh::layout::TextPointerTable) / 4], false);
|
||||||
}
|
}
|
||||||
return out;
|
return out;
|
||||||
|
|||||||
@@ -110,7 +110,7 @@ void validate_other_games_preparation(const OtherGamesIdentity& id, const DeskSt
|
|||||||
id.manager_slot != before.manager_slot || id.runtime_team != before.runtime_club ||
|
id.manager_slot != before.manager_slot || id.runtime_team != before.runtime_club ||
|
||||||
id.day_counter != before.day_counter || id.manager_slot < 0 ||
|
id.day_counter != before.day_counter || id.manager_slot < 0 ||
|
||||||
size_t(id.manager_slot) >= before.managers.size() ||
|
size_t(id.manager_slot) >= before.managers.size() ||
|
||||||
id.club_identity != int(before.session_identity_key(size_t(id.manager_slot))))
|
id.club_identity != int(before.managers[size_t(id.manager_slot)].club_identity_key))
|
||||||
throw FormatError("other games: mismatched desk acknowledgement");
|
throw FormatError("other games: mismatched desk acknowledgement");
|
||||||
auto expected = before;
|
auto expected = before;
|
||||||
expected.revision = id.revision;
|
expected.revision = id.revision;
|
||||||
@@ -175,7 +175,7 @@ void StartupFlow::show_top_scorers(TopScorersState page,PreparationState prepara
|
|||||||
page.identity.runtime_team!=desktop_->state().runtime_club||
|
page.identity.runtime_team!=desktop_->state().runtime_club||
|
||||||
page.identity.day_counter!=desktop_->state().day_counter||
|
page.identity.day_counter!=desktop_->state().day_counter||
|
||||||
page.identity.revision!=desktop_->state().revision+1||page.identity.sequence!=0||!page.identity.scope||
|
page.identity.revision!=desktop_->state().revision+1||page.identity.sequence!=0||!page.identity.scope||
|
||||||
page.identity.club_identity!=int(desktop_->state().session_identity_key(size_t(owner.manager_slot))))
|
page.identity.club_identity!=int(desktop_->state().managers[size_t(owner.manager_slot)].club_identity_key))
|
||||||
throw FormatError("top scorers: mismatched opening acknowledgement");
|
throw FormatError("top scorers: mismatched opening acknowledgement");
|
||||||
if(preparation.desktop.revision!=page.identity.revision||preparation.desktop.manager_slot!=owner.manager_slot||
|
if(preparation.desktop.revision!=page.identity.revision||preparation.desktop.manager_slot!=owner.manager_slot||
|
||||||
preparation.desktop.runtime_club!=desktop_->state().runtime_club||
|
preparation.desktop.runtime_club!=desktop_->state().runtime_club||
|
||||||
|
|||||||
Reference in new issue
Block a user