Archive incari-client (client, 26.3, clean)

This commit is contained in:
2026-11-28 00:54:38 -06:00
parent 7a6174687f
commit 12838e838c
2383 changed files with 280266 additions and 0 deletions
@@ -0,0 +1,16 @@
// Once a tick: the block-hit swings the arm while the attack key's held on a block with an item
// in use. Drawn only: nothing is sent.
fn incari_oldanimations_tick(game: &mut crate::game::Game<'_>) {
use crate::game::{incari_client as c, incari_oldanimations as m};
if !game.native_window() {
return;
}
let on = c::settings(m::ID, |s| s.bool("block-hit")).unwrap_or(false);
let playing = game.native_playing();
let attack = on
&& playing
&& game
.native_mapping("key.attack")
.is_some_and(|(down, _)| down);
m::with(|b| b.tick(on, playing, attack));
}