Entry 544
BossDef identity: the defs statics, one address each, no copies
25mbattle
Files6 in 4 directories
BossDef's == compares addresses (one def is one boss), but the defs
were consts: every &TARVOS makes a promoted copy of its own, so a
reference taken in piney-game need not equal the one piney-battle's
tarvos::new stored. Worklog 542's first try at Tarvos's arena predicate
(b.def == &defs::TARVOS) matched nothing and its shot test failed on
"act 0 met"; it was worked around by comparing classes.
- Every def is a
static(..BASE_BOSSreads the static's fields), andBossDefis no longerCloneorCopy, so no def can be copied out and compared: a def is its address, from any crate. The two places that copied one (piney-world's Kyvia skill-name test) take a reference. defs::tests::each_def_one_address: every def inALLdistinct,BOSSESamong them,BossDef::of(6)theTARVOSstatic,BASE_PARTnotBASE_BOSS.- piney-game's arena predicates name their def: Tarvos's
b.def == &defs::TARVOS, Macha's&defs::MACHA, Corbenik's its three forms' defs (noClassmatch left in them).
Checks
- The pins: 290 recorded
battle_probecalls replayed against the new release probe, none differ. - Against the game: the eleven
test_battle_*_rson their volumes,test_boss_effect_rson all four,test_bosscam_rson Infection, Mutation and Quarantine. - The golden boss shots: every PNG byte for byte as at worklog 537;
tarvos_under_godpasses through the def predicate. New baselines for the conversions ahead taken at this tree (macha_shots,innis_shots,innis_unforced_shots, the fourgorre_*_shots). - piney-battle's, piney-world's, piney-effect's, piney-data's and piney-event's tests, piney-game's suite (release).
piney-gen gen --check, clippy with all features (too_many_arguments150, nodead_codeallows), fmt,cairns check,tools/docs.py check.
Still unknown
nothing this step opened.