Entry 555
Bosses as defs: Corbenik made of systems, each form its own with its parts lent, the first's hand-over its system's; seeds, roots, eyes and killer eyes each a system
32mbattle
Documented in Bosses - Corbenik, Bosses - ccBoss and Skeith.
Files20 in 8 directories
corbenik.rscorbenik_b.rscorbenik_c.rscrates/piney-battle/src/boss.rscrates/piney-battle/src/boss/class.rscorbenik.rsdefs.rspart.rscrates/piney-battle/src/boss/corbenik/eye.rsfirst.rssecond.rsseed.rstests.rsthird.rscrates/piney-battle/src/boss/systems/mod.rscrates/piney-game/src/session/tests/corbenik.rssurvey.rsdocs/engine/boss-corbenik.mdboss.mdplans/rust-cleanup.mdMentioned inplans/rust-cleanup.md:453
Section 2's "Bosses as defs and systems": Quarantine's Corbenik
(ccBoss08, ccBoss08_b, ccBoss08_c) and its parts on the runner
(worklog 540), after Innis (554). The last boss.
The forms
Each form is its def with one system, its own:
CORBENIK:corbenik::first::First(ccBoss08).LendandReturnits eight seeds out of their characters,Passthe effect manager's pass,Think,PreDraw(ccBoss08::PreDrawAnm, the clip forward),ActionitsSlave(each seed not exited, itsMain),Affect. ItsAffectruns with the seeds lent too (its def'saffect). Its hand-over is the system's: once it exits, the second form on the same character (ccThBoss08past the first form, QUA gcmn 0x003acaf8).CORBENIK_SECOND:second::Second, its five roots lent; itsThinkthe barrier message's wait, thenThink;PreDrawits own (the press, the barrier's flash);ActionitsSlave(each root'sMain, its quake).CORBENIK_THIRD:third::Third, its sixteen eyes and three killer eyes lent (for itsAffecttoo); its ownPreDrawAnmand its ownDraw(Hook::Draw, new:ccBoss::Drawwith the body's world matrix read from it);ActionitsSlave(the eyes', then the killer eyes').
CORBENIK order: First.Lend, First.Pass, Live[Prologue, TickStop,
First.Think, LockParty, Move, First.PreDraw, Draw,
First.Action], First.Return, ClearHold
affect: First.Lend, First.Affect, First.Return
hand_over: First.HandOver
CORBENIK_SECOND order: Second.Lend, Second.Pass, Live[Prologue, TickStop,
Second.Think, LockParty, Move, Second.PreDraw, Draw,
Second.Action, ClearHold], Second.Return
CORBENIK_THIRD order: Third.Lend, Third.Pass, Live[Prologue, TickStop,
Third.Think, LockParty, Move, Third.PreDraw,
Third.Draw, Third.Action, ClearHold], Third.Return
affect: Third.Lend, Third.Affect, Third.Return
The parts
SEED, ROOT, EYE and KILLER_EYE are each a def of one system, its
own (seed::Seed, second::Root, eye::Eye, eye::Killer), lent with
Part<T> off their boss's list; the seed's and the killer eye's
Affect their own, the root's and the eye's ccBoss's. Their draws
(the seed at 3x 50 up and again, the root at 1.5x, the eye turned XYZ)
are their systems'. A root's Main is written out from ccBoss::Main's
blocks around its Think (root_think): the base_main closure it ran
through is gone from Corbenik, as from Innis's images (554).
Class::Corbenik, CorbenikB, CorbenikC, CorbenikSeed,
CorbenikRoot, CorbenikEye, CorbenikKiller and CorbenikData are
gone: the tables are views of the volume's tables::combat (the
patterns by form, the killer eyes' by slot, the clips, the rings'
radii and heights read as bits). That leaves BossData with nothing
and the class enum with only its bare ccBoss; worklog 556 takes them
out. The probes and the tests read the forms and the parts by kind,
the form a fight is in by its def.
Checks
- The pins: 290 recorded
battle_probecalls replayed against the new release probe, none differ (Corbenik's 22 among them). - 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, withcorbenik_under_godandcorbenik_third_under_god): 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; the class machinery and BossData are left to take out (worklog 556).