Entry 554
Bosses as defs: Innis made of systems, its wave, its missiles' pass, its images and its own; the images' Main written out
29mbattle
Documented in Bosses - Innis, Bosses - ccBoss and Skeith.
Files11 in 7 directories
innis.rscrates/piney-battle/src/boss.rscrates/piney-battle/src/boss/class.rsdefs.rsinnis.rscrates/piney-battle/src/boss/systems/mod.rscrates/piney-game/src/session/tests/boss_fx.rsskeith.rsdocs/engine/boss-innis.mdboss.mdplans/rust-cleanup.mdMentioned inplans/rust-cleanup.md:449
Section 2's "Bosses as defs and systems": Mutation's ccBoss02 and its
three ccBoss02Slaves on the runner (worklog 540), after Kyvia (553).
The def
INNIS names four systems:
systems::wave::Wave: itsanmw(ANM_xx11wave), the shared wave, set and run by the spin's fall (AllAttack) and drawn where posed.innis::Missiles: the effect manager's pass before the task, whose lives of their own are its missiles' (theirDrawcalls itsMagicDamage).innis::Images: the three images (slaveCtrl[0]). ItsActionisSlave(): each image'sccBoss::Mainwith its ownThink, written out fromccBoss::Main's blocks (Slave::main); thebase_mainclosure the image ran through is gone from Innis. Its draw is the images as figures and their mirrors' shards.innis::Innis: the rest, asccBoss02::ccBoss02starts it.Think,Action(the wave and the images reached throughOthers), its ownMove(held atHipos),Lock(ccBoss::Main's lock with the menu's forbid as act 5 wrote it that frame),PreDraw(the clip forward and both transparencies its alpha),Affect; its draw is the body.
order: Missiles.Pass, Live[Prologue, TickStop, Innis.Think, Innis.Action,
Innis.Move, Innis.Lock, Innis.PreDraw, Draw, Images.Action, ClearHold]
affect: Innis.Affect
Class::Innis, InnisData and BossData's field are gone: the tables
are views of the volume's tables::combat (innis_pattern,
innis_epitaph, innis_anims, the skills, innis_monster_anims,
innis_ring_models). The probe and the tests read Innis, its images and
its wave by kind.
The magic square
The plan named a magic-square system. ccBoss02::MagicSquare is one of
Innis's acts, run from SwitchActionPattern (word 19) like the others,
and all it keeps is what every act keeps: the step count (Cou), the
EnyFlg/EnyInt/EnyFloat words the missiles' MagicDamage and the
other patterns read too, and the acts' camera (ZoomVec, CamMat,
CamPos, CamView, which SkillAttack and the images' act use; only
CamDist is its alone). The square itself is a ccBossEffBrightMagicSquare
on the effect manager with no rules of its own. As a system it would
hold one float and reach into Innis for the rest, so it stays one of
Innis's acts.
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 shots, all 21 tests of
s552(worklog 553): 2,255 PNGs, every one byte for byte. - 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.
nothing this step opened; Corbenik remains to convert, then Class, each_class! and BossData out.