scroll.server/crates/logic/src/battle
WiseDev 58d137ccd2 teach the snapshot verifier about decks
verify_snapshot still carried the stub from when both decks were always
absent, so the first battle that actually carried one was refused before
it reached the client. it reads them now: eight presence bits, then a
data reference, five vints and two booleans per filled slot.

while in there, the six battle booleans were all being discarded, which
hid the fact that the two score-change vints are only present when the
first of them is set. the verifier tracks it now, same as the encoder.
2026-08-23 11:31:50 +03:00
..
logic_battle.rs battle model: LogicBattle, the object manager and BattleResultMessage 2026-08-23 10:00:16 +03:00
logic_character.rs fix the LogicGameObject field mapping 2026-08-23 11:17:10 +03:00
logic_component.rs build and send the battle sector state 2026-08-23 10:24:20 +03:00
logic_game_mode.rs build and send the battle sector state 2026-08-23 10:24:20 +03:00
logic_game_object.rs fix the LogicGameObject field mapping 2026-08-23 11:17:10 +03:00
logic_game_object_manager.rs build and send the battle sector state 2026-08-23 10:24:20 +03:00
logic_game_object_ref.rs battle model: LogicBattle, the object manager and BattleResultMessage 2026-08-23 10:00:16 +03:00
logic_tilemap.rs build and send the battle sector state 2026-08-23 10:24:20 +03:00
logic_time.rs battle model: LogicBattle, the object manager and BattleResultMessage 2026-08-23 10:00:16 +03:00
logic_tutorial_manager.rs battle model: LogicBattle, the object manager and BattleResultMessage 2026-08-23 10:00:16 +03:00
mod.rs verify the snapshot before sending it, and add two bisect switches 2026-08-23 10:50:03 +03:00
verify.rs teach the snapshot verifier about decks 2026-08-23 11:31:50 +03:00