Finalize Classic 1.0.3 release notes and integrated stadium QA expectations (by Codex)

This commit is contained in:
Codex committed 2026-11-01 18:33:08 +01:00
1 parent feb6ca2717
commit 0e8cfe5cd9
5 files changed
+48 -8

No files matched your search

+1 -6
View File
@@ -589,12 +589,7 @@ void test_yes_level_zero_and_funds_refusal(const std::filesystem::path& data) {
resolve_stand_block_offer(accepted,true,expected_random);
GameState expected=session->state();
auto exe=load_le(ui::asset_path(data,"BMH.exe"));
StadiumBlockExpansionConstants constants;
for(unsigned i=0;i<8;++i) {
constants.price_per_1000[i]=exe.u32(::bmh::layout::CareerSession_DispatchStadium_RuntimeField+(i+8)*4);
constants.weeks[i]=exe.u8(::bmh::layout::CareerSession_DispatchStadium_RuntimeField2+(i+22)*5);
constants.max_places[i]=uint32_t(exe.u8(::bmh::layout::CareerSession_Invalid_RuntimeField+i))*1000;
}
const auto constants=stadium_block_expansion_constants(exe);
check(build_stadium_block_expansion(expected,manager,StadiumBlockSlot::B,constants,
quote,accepted,expected_random),"independent Source Engine simulation accepts YES at level 0");
const auto game_before=session->game();
+1 -1
View File
@@ -9,7 +9,7 @@ void check(bool value,const char* message){if(!value)throw std::runtime_error(me
}
int main()try{
using namespace bmh;
auto image=LeImage::from_bytes(0xa3600,Bytes(0x1000));
auto image=LeImage::from_bytes(layout::GermanDataSegmentBegin,Bytes(0x3000));
const uint8_t original_max[]={8,18,8,14,8,18,8,14},original_weeks[]={30,37,30,25,30,37,30,25};
for(uint32_t i=0;i<8;++i){image.patch(layout::CareerSession_Invalid_RuntimeField+i,original_max+i,1);image.patch(layout::CareerSession_DispatchStadium_RuntimeField2+(i+22)*5,original_weeks+i,1);const uint8_t price[]={0xe0,0x93,0x04,0};image.patch(layout::CareerSession_DispatchStadium_RuntimeField+(i+8)*4,price,4);}
const auto constants=stadium_block_expansion_constants(image);