On this page
Tank Shield Prototype: the feature checklist
Tank Shield Prototype is a Battlefield Heroes widget. This page is its checklist from the project's feature ledger: every step of the original's code behind it and every situation it must work in, each with the proof that stands for it, or none. The ledger's status today: 28 of 293 lines checked.
Situations: 1 of 19 checked for what the game does, 0 of 19 for what a player sees. The original's code: 27 of 255 checked (62 functions and 193 inner calls). By the ledger's rule this feature is not called done, fixed or the same as the original. The ledger was written on 2026-11-28 22:37.
Every line has a kind: W, what the game does with nothing to see (a number, a speed, a refusal), or S, what a player sees or hears. A W line is checked by a test written from the original's code or by a play with a recorded pass; an S line only by a recorded play whose pixels an assert reads, or that a person looked at and wrote so. A scenario that merely exists, a test that merely calls the Rust function and a read of the listing are not checks. All feature checklists explains the rule.
What it is for a player#
a shield of 60 for 15 s; wait 8 s; a tank only
That is this wiki's own line about it, taken at build time from the page that tells it.
| the name a player knows | Tank Shield Prototype |
| kind | widget |
| in the game's data | TankShield (2187) |
| its row in the sweeps | notes/bfheroes/widget_sweep.md, the row Tank Shield Prototype; notes/bfheroes/abilities_table.md row W20 |
The original's entry functions#
Where the original starts doing it (BFHeroes.exe 1.126). The code behind the feature is everything these reach.
| Address | What it is, in the ledger's words | Followed |
|---|---|---|
0x00738369 | the shield item's constructor | whole |
0x00739567 | the shield item's attach | whole |
0x0073992a | the shield item's update | whole |
0x0082898a | the armor's damage with a shield | whole |
The situations#
Every situation the ledger's matrix names for a feature of this kind, with its two lines side by side. "Has a scenario, no recorded pass" and "passed on a branch not landed" are the ledger's words for a play that is not a check yet.
| Situation | What the game does (W) | What a player sees (S) | Note |
|---|---|---|---|
| used on foot | open: not checked | open: not checked | |
| used at the wheel of a vehicle | checked: play with a recorded pass, state asserts (scenario bfh_tank_shield_hit (PASS in run 20261128_205547_h25_r35_bfh_tank_shield_hit on c2aa16b)) | open: play with a recorded pass, state asserts (scenario bfh_tank_shield_hit (PASS in run 20261128_205547_h25_r35_bfh_tank_shield_hit on c2aa16b)) | |
| used from a passenger's or a gunner's seat | open: not checked | open: not checked | |
| the user dies while it runs | open: not checked | open: not checked | |
| after the user respawns | open: not checked | open: not checked | |
| the round ends while it runs, and the next round starts clean | open: not checked | open: not checked | |
| the map changes while it runs | open: not checked | open: not checked | |
| a player who joins while it runs sees it | open: not checked | open: not checked | |
| watching a team mate who uses it (after dying, or as a spectator) | open: not checked | open: not checked | |
| team mates against enemies (who gets it and who does not) | open: not checked | open: not checked | |
| in water (swimming) | open: not checked | open: not checked | |
| on a ladder | open: not checked | open: not checked | |
| while another effect runs on the same hero | open: not checked | open: not checked | |
| the effect on a target or user in a vehicle seat is drawn on the vehicle | open: not checked | open: not checked | |
| triggered in a round's last seconds, the next round | open: not checked | open: not checked | |
| bought for valor points at the store | open: not checked | open: not checked | |
| ready again only after its wait | open: not checked | open: not checked | |
| held at the account service, put in a widget slot and carried into a game | open: not checked | open: not checked | |
| a pack's uses count down and the key is refused at none (a kept widget takes none) | open: not checked | open: not checked |
Recorded plays#
| Scenario | Last result | Run | Mode | Date | Commit | Last pass |
|---|---|---|---|---|---|---|
bfh_tank_shield_hit | PASS | 20261128_205547_h25_r35_bfh_tank_shield_hit | headless | 2026-11-28 20:55 | c2aa16b | 2026-11-28 20:55 at c2aa16b |
2 more scenarios the ledger names have no row in the records file: bfh_r0105_tank_shield_whole, bfh_r0105_tank_shield.
A recorded pass on a commit that is not in the tree's history counts, in the ledger's words, as "passed on a branch not landed", and is not a check. A run is named by its folder's name; the runs themselves are not published, so a row links to nothing. The ledger also reads run folders that this file does not hold; the tables above carry its verdicts.
The code behind it#
156 functions of the original reachable from the entries, as the ledger's tool walked them: each with its kind, the port's place, the proof that stands for it and that proof's kind. "Checked" is the ledger's tick; a row that is no line of the checklist (library code, shared engine code that is tested in its own game) says so.
| The original's function | Kind | Reached | Ours | Proof | Its kind | Checked |
|---|---|---|---|---|---|---|
0x00738369 world::ShieldStatusItem::ShieldStatusItem | W | entry, depth 0 | crates/bfh-game/src/abilities/shield.rs:3 | scenario bfh_elixir (PASS in run 20261119_123814_verify_d77ca9f_lane1 on d77ca9f) (+2 more) | play with a recorded pass, state asserts | yes |
0x00739567 FUN_00739567 | W | entry, depth 0 | crates/bf2-server/src/field_heroes.rs:1053 (fn give_shields) | crates/bf2-server/tests/shield_end_tick_heroes.rs:98 (fn the_tank_shield_is_the_driven_tanks_armors_and_takes_the_hits_first), crates/bf2-server/tests/shield_seated_mate_heroes.rs:2 (fn a_seated_team_mate_gets_no_hero_shield) | test from the original's code | yes |
0x0073992a world::ShieldStatusItem::vslot2 | S | entry, depth 0 | crates/bf2-client/src/weapons.rs:8407 (fn heroes_count_charges_down) | crates/bf2-client/tests/heroes_shield_used_up.rs:143 (fn an_arm_that_has_asked_already_keeps_its_request) | test from the original's code | yes |
0x0082898a world::ArmorGLComp::vslot18 | W | entry, depth 0 | crates/bf2-server/src/abilities_heroes.rs:2657 (fn armor_damaged) | crates/bf2-server/src/field_heroes.rs:1924 (fn a_used_up_shield_gives_the_shield_ability_a_tenth_of_a_second), crates/bf2-server/tests/shield_end_tick_heroes.rs:101 (fn the_tank_shield_is_the_driven_tanks_armors_and_takes_the_hits_first) | test from the original's code | yes |
0x00737a77 FUN_00737a77 | W | 0x00738369, depth 1 | crates/bfh-game/src/abilities/mod.rs:709 (fn is_set) | scenario bfh_client_browser_seated_widget_sound (no recorded result) | has a scenario, no recorded pass | open |
0x0041b7fd FUN_0041b7fd | W | 0x00739567, depth 1 | engine utility (>= 100 call sites) | not a line | ||
0x00428d62 FUN_00428d62 | W | 0x00739567, depth 1 | engine utility (>= 100 call sites) | not a line | ||
0x0048eeba FUN_0048eeba | W | 0x00739567, depth 1 | engine utility (>= 100 call sites) | not a line | ||
0x0049d8df FUN_0049d8df | W | 0x00739567, depth 1 | trivial leaf (<= 40 bytes, no calls: a field accessor / vector op / clamp) | not a line | ||
0x0049e84f FUN_0049e84f | W | 0x00739567, depth 1 | crates/bf2-python/src/host_state.rs:606 (fn dispatch_event) | crates/bfh-server/src/tests_script_events.rs:7 (fn BFHeroes) | not a line: hub (57 callers): not expanded | |
0x0050e4cb FUN_0050e4cb | W | 0x00739567, depth 1 | trivial leaf (<= 40 bytes, no calls: a field accessor / vector op / clamp) | not a line | ||
0x0050e4ff FUN_0050e4ff | W | 0x00739567, depth 1 | trivial leaf (<= 40 bytes, no calls: a field accessor / vector op / clamp) | not a line | ||
0x00533dab FUN_00533dab | W | 0x00739567, depth 1 | crates/bf2-server/src/damage.rs:9301 (fn server_resurrect) | crates/bf2-server/tests/two_player_event_heroes.rs:45 (fn heroes_two_player_event_gives_a_handler_the_first_player_and_then_the_second) | test from the original's code | yes |
0x00737afe world::EffectStatusItem::EffectStatusItem | W | 0x00739567, depth 1 | crates/bf2-server/src/abilities_heroes.rs:741 (fn add_status_effect) | scenario bfh_client_prestige_hud (PASS in run 20261128_215122_verify_6a56fe5_lane1 on 6a56fe5) | has a scenario; its recorded pass is on a branch not landed | open |
0x0073a631 FUN_0073a631 | W | 0x00739567, depth 1 | crates/bf2-server/src/field_heroes.rs:1095 (fn give_shields) | bfh_client_itembar_vehicle, bfh_client_victim_slow_escape | the counter's weaker proof | open |
0x009bd22c FUN_009bd22c | W | 0x00739567, depth 1 | engine utility (>= 100 call sites) | not a line | ||
0x009c0bc8 world::ObjectFlagPredicator::ObjectFlagPredicator | W | 0x00739567, depth 1 | trivial leaf (<= 40 bytes, no calls: a field accessor / vector op / clamp) | not a line | ||
0x009f0895 __EH_prolog3 | W | 0x00739567, depth 1 | CRT / compiler name (scope_rules.LIBNAME) | not a line | ||
0x009f096d __EH_epilog3 | W | 0x00739567, depth 1 | CRT / compiler name (scope_rules.LIBNAME) | not a line | ||
0x00736cdb world::StatusItem::vslot2 | W | 0x0073992a, depth 1 | crates/bfh-game/src/abilities/eats_grenades.rs:11 | scenario bfh_r0105_bandage_levels (PASS in run 20261119_111020_h16_r0105_blevels_p2 on 40a0a89) (+6 more) | play with a recorded pass, state asserts | yes |
Show all 156 functions (the other 136)
| The original's function | Kind | Reached | Ours | Proof | Its kind | Checked |
|---|---|---|---|---|---|---|
0x004073a5 FUN_004073a5 | W | 0x0082898a, depth 1 | not a line: engine utility (653 call sites, the counter's rule of 100); the counter has no row for it | |||
0x004821ae FUN_004821ae | W | 0x0082898a, depth 1 | engine utility (>= 100 call sites) | not a line | ||
0x0052a329 FUN_0052a329 | W | 0x0082898a, depth 1 | crates/bf2-physics/src/geom.rs:389 (fn rotate_row_vector_p) | crates/bf2-physics/tests/vehicle_nodes_bfh.rs:1491 (fn heroes_vector_turn_sums_x_and_y_then_z_bit_for_bit), crates/bf2-server/src/vehicles_armor.rs:4829 (fn hit_place_local_adds_the_z_product_first_and_heroes_adds_it_last) | not a line: hub (43 callers): not expanded | |
0x00533b17 FUN_00533b17 | W | 0x0082898a, depth 1 | crates/bf2-game/src/game_logic_uncalled_bf2.rs:369 (fn float_min_client) | crates/bfh-game/tests/uncalled_rounds_bfh126.rs:550 (fn the_float_min_answers_the_first_only_when_it_is_below) | not a line: hub (74 callers): not expanded | |
0x00533b39 FUN_00533b39 | W | 0x0082898a, depth 1 | crates/bf2-server/src/abilities_heroes.rs:319 (fn damage_points) | scenario bfh_client_browser_seated_widget_sound (no recorded result) | has a scenario, no recorded pass | open |
0x0069b277 FUN_0069b277 | W | 0x0082898a, depth 1 | crates/bf2-net/src/netstate.rs:1193 (fn read_ghost_state_in) | crates/bfh-game/tests/uncalled_client_bfh126.rs:515 (fn the_heroes_value_is_one_of_two_only_when_the_first_or_the_second_has_it) | test from the original's code | yes |
0x0069bd79 FUN_0069bd79 | S | 0x0082898a, depth 1 | crates/bf2-client/app/src/client.rs:5632 (fn event_manager_ticks) | crates/bf2-world/tests/capture_ghosts.rs:142, crates/bf2-world/tests/demo_ghosts.rs:158 | not a line: hub (54 callers): not expanded | |
0x00825ba1 FUN_00825ba1 | W | 0x0082898a, depth 1 | 1.89 twin 0x007d3196 pairs with a 2142 / BF2 function bf2-rs ports (coverage_bfh 'via') | crates/bf2-gameplay/src/damage/armor.rs:666, crates/bf2-gameplay/src/damage/armor_2142.rs:323 | the counter's weaker proof | open |
0x00827c17 FUN_00827c17 | S | 0x0082898a, depth 1 | crates/bf2-client/src/armor_effects.rs:391 (enum RadioObjectMessage) | crates/bf2-gameplay/src/damage/armor.rs:687 (fn heroes_never_passes_below_zero_in_one_step), crates/bf2-server/tests/thrown_armor_heroes.rs:40 (fn a_bullet_meets_a_thrown_mesh_projectile_where_it_is_in_heroes) | test from the original's code | yes |
0x00827f69 FUN_00827f69 | W | 0x0082898a, depth 1 | 1.89 twin 0x007d5381 pairs with a 2142 / BF2 function bf2-rs ports (coverage_bfh 'via') | crates/bf2-gameplay/src/damage/armor.rs:667, crates/bf2-gameplay/src/damage/armor_2142.rs:323 | the counter's weaker proof | open |
0x008287ed ~world::ArmorGLComp::vslot25::helper_008287ed | S | 0x0082898a, depth 1 | crates/bf2-client/src/weapons.rs:8564 (fn heroes_shield_used_up) | crates/bf2-client/tests/heroes_shield_used_up.rs:3 (fn read), crates/bf2-server/tests/shield_end_tick_heroes.rs:104 (fn the_tank_shield_is_the_driven_tanks_armors_and_takes_the_hits_first) | test from the original's code | yes |
0x008294bc FUN_008294bc | W | 0x0082898a, depth 1 | forwarder (<= 40 bytes, one call: default arguments, argument order, a constructor's fill, a deleting destructor) | not a line | ||
0x0082565f world::ArmorGLComp::vslot94 | W | 0x0082898a vt+0x178, depth 1 | thin wrapper (<= 80 bytes, calls only library code) | not a line | ||
0x0041b829 FUN_0041b829 | W | 0x00737a77, depth 2 | engine utility (>= 100 call sites) | not a line | ||
0x004b3cf5 FUN_004b3cf5 | W | 0x00737a77, depth 2 | engine utility (>= 100 call sites) | not a line | ||
0x0049da3a FUN_0049da3a | W | 0x00533dab, depth 2 | trivial leaf (<= 40 bytes, no calls: a field accessor / vector op / clamp) | not a line | ||
0x0049db1d FUN_0049db1d | W | 0x00533dab, depth 2 | NOT PORTED | Not retail (crates/bf2-server/src/pyhost.rs:724) | none | open |
0x0052a594 FUN_0052a594 | W | 0x0073a631, depth 2 | trivial leaf (<= 40 bytes, no calls: a field accessor / vector op / clamp) | not a line | ||
0x00736d9d world::EffectStatusItem::vslot3 | W | 0x00736cdb vt+0xc, depth 2 | crates/bf2-server/src/abilities_heroes.rs:744 (fn add_status_effect) | scenario bfh_client_browser_seated_widget_sound (no recorded result) | has a scenario, no recorded pass | open |
0x00736e59 world::DamageStatusItem::vslot3 | W | 0x00736cdb vt+0xc, depth 2 | tiny stub (<= 5 bytes) | not a line | ||
0x00736e5a world::DamageVehicleStatusItem::vslot3 | W | 0x00736cdb vt+0xc, depth 2 | tiny stub (<= 5 bytes) | not a line | ||
0x00737021 world::VehicleSpawnItem::vslot3 | W | 0x00736cdb vt+0xc, depth 2 | tiny stub (<= 5 bytes) | not a line | ||
0x0073706e world::ObjectBlinkStatusItem::vslot3 | W | 0x00736cdb vt+0xc, depth 2 | trivial leaf (<= 40 bytes, no calls: a field accessor / vector op / clamp) | not a line | ||
0x007370c7 world::ParentBlinkStatusItem::vslot3 | W | 0x00736cdb vt+0xc, depth 2 | thin wrapper (<= 80 bytes, calls only library code) | not a line | ||
0x007370f2 world::SoldierBlinkStatusItem::vslot3 | W | 0x00736cdb vt+0xc, depth 2 | thin wrapper (<= 80 bytes, calls only library code) | not a line | ||
0x00737133 world::WeaponBlinkStatusItem::vslot3 | S | 0x00736cdb vt+0xc, depth 2 | crates/bfh-client/src/weapon_blink.rs:105 (fn toggle) | bfh_client_alt_ammo_bar, bfh_client_boomer_trail | the counter's weaker proof | open |
0x0073745d world::VehicleRammingItem::vslot3 | W | 0x00736cdb vt+0xc, depth 2 | crates/bf2-server/src/ramming_heroes.rs:2 | scenario bfh_ability_jeep_ramming (PASS in run 20261128_205356_h25_r35_bfh_ability_jeep_ramming on c2aa16b) | play with a recorded pass, state asserts | yes |
0x007381e8 world::HealSoldierStatusItem::vslot3 | W | 0x00736cdb vt+0xc, depth 2 | crates/bf2-server/src/abilities_heroes.rs:3036 (fn update_soldier_items) | scenario bfh_ability_bandage (PASS in run 20261128_211013_h25_r35b_bfh_ability_bandage on c2aa16b) (+5 more) | play with a recorded pass, state asserts | yes |
0x007382b0 world::RepairVehicleStatusItem::vslot3 | W | 0x00736cdb vt+0xc, depth 2 | crates/bf2-server/src/repair_item_heroes.rs:2 | crates/bf2-server/src/repair_item_heroes.rs:219 (fn the_wrenchs_step_every_arm) | test from the original's code | yes |
0x00738936 world::rocketPackItem::vslot3 | W | 0x00736cdb vt+0xc, depth 2 | crates/bf2-server/src/rocket_heroes.rs:90 (fn drawn_push) | scenario bfh_ability_rocket_jump (PASS in run 20261128_205132_h25_r35_bfh_ability_rocket_jump on c2aa16b) | play with a recorded pass, state asserts | yes |
0x0073aac0 world::StatusItem::vslot3 | W | 0x00736cdb vt+0xc, depth 2 | crates/bfh-game/src/abilities/eats_grenades.rs:11 | scenario bfh_r0105_leg_it_hit (PASS in run 20261119_132712_h7g5 on bfc1cc4) (+3 more) | play with a recorded pass, state asserts | yes |
0x006a264e FUN_006a264e | W | 0x00533b39, depth 2 | forwarder (<= 40 bytes, one call: default arguments, argument order, a constructor's fill, a deleting destructor) | not a line | ||
0x0069b25a FUN_0069b25a | W | 0x0069b277, depth 2 | forwarder (<= 40 bytes, one call: default arguments, argument order, a constructor's fill, a deleting destructor) | not a line | ||
0x006fe319 FUN_006fe319 | W | 0x0069b277, depth 2 | trivial leaf (<= 40 bytes, no calls: a field accessor / vector op / clamp) | not a line | ||
0x0045c8ae FUN_0045c8ae | S | 0x00825ba1, depth 2 | crates/bf2-client/src/predict.rs:2361 (fn dist) | crates/bf2-client/tests/client_events_bfh126.rs:1119 (fn heroes_shared_generators_unit_draw_is_k_over_two_to_the_24) | test from the original's code | yes |
0x004a575f FUN_004a575f | W | 0x00825ba1, depth 2 | trivial leaf (<= 40 bytes, no calls: a field accessor / vector op / clamp) | not a line | ||
0x009f11d0 FUN_009f11d0 | W | 0x00825ba1, depth 2 | crates/bf2-gameplay/src/tools/replenish.rs:588 (fn max_nr_of_mags) | bfh_client_cdm_late_events, bfh_client_chat_eor | not a line: hub (180 callers): not expanded | |
0x0041ade0 FUN_0041ade0 | W | 0x00827c17, depth 2 | engine utility (>= 100 call sites) | not a line | ||
0x0045c8f1 FUN_0045c8f1 | W | 0x00827c17, depth 2 | crates/bf2-server/src/abilities_heroes.rs:1564 (fn attacker_active_ability) | bfh_ability_overload, bfh_alt_fire_ammo_pool | not a line: hub (241 callers): not expanded | |
0x00462ab5 ~std::_Tree::op_00462ab5 | W | 0x00827c17, depth 2 | small helper: STL tree walk (MSVC std::_Tree: tests or sets the node's _Isnil byte; find / erase / iterate / buy a node) (< 64 bytes) | not a line | ||
0x00496df4 FUN_00496df4 | W | 0x00827c17, depth 2 | trivial leaf (<= 40 bytes, no calls: a field accessor / vector op / clamp) | not a line | ||
0x008266ba FUN_008266ba | W | 0x00827c17, depth 2 | crates/bf2-server/src/damage.rs:127 (fn invulnerable_after_wreck) | crates/bf2-server/tests/seated_kill_heroes.rs:10 (fn a_seated_heros_kill_ends_at_zero_hit_points), crates/bf2-server/tests/thrown_armor_heroes.rs:3 (fn run) | test from the original's code | yes |
0x00826eef FUN_00826eef | W | 0x00827c17, depth 2 | 1.89 twin 0x007d44e4 pairs with a 2142 / BF2 function bf2-rs ports (coverage_bfh 'via') | crates/bf2-client/tests/titan_white_out.rs:20 | the counter's weaker proof | open |
0x0041ad9b FUN_0041ad9b | S | 0x00827f69, depth 2 | crates/bf2-client/src/heroes_teleport.rs:175 (fn heroes_teleport_clock) | crates/bf2-client/tests/client_events_bfh126.rs:1146 (fn heroes_game_time_getter_hands_back_the_stored_double) | not a line: tested in every game: bf2142 0x00666070, bf2 0x004c4400 | |
0x00707c13 FUN_00707c13 | W | 0x00827f69, depth 2 | STL container code, READ: a container's own member by its listing; it calls a body that holds a Dinkumware error string (a stl-read: row of parity_denominator.yaml, H7762) | not a line | ||
0x00757518 FUN_00757518 | W | 0x00827f69, depth 2 | 1.89 twin 0x006fdf20 is library code (coverage_bfh boilerplate) | not a line | ||
0x00825f3e FUN_00825f3e | W | 0x00827f69, depth 2 | trivial leaf (<= 40 bytes, no calls: a field accessor / vector op / clamp) | not a line | ||
0x00829e32 FUN_00829e32 | W | 0x00827f69, depth 2 | STL container code, READ: a container's own member by its listing; it calls a body that holds a Dinkumware error string (a stl-read: row of parity_denominator.yaml, H7762) | not a line | ||
0x006fa1d0 FUN_006fa1d0 | W | 0x008287ed, depth 2 | not ported | none | open: hub (50 callers): not expanded | |
0x006fa336 FUN_006fa336 | W | 0x008287ed, depth 2 | not ported | none | open | |
0x00707d97 FUN_00707d97 | W | 0x008287ed, depth 2 | crates/bfh-game/src/abilities/victim.rs:330 (fn kit_class) | crates/bfh-game/tests/small_helpers_bfh126.rs:4 (fn heroes) | test from the original's code | yes |
0x007085f1 FUN_007085f1 | W | 0x008287ed, depth 2 | trivial leaf (<= 40 bytes, no calls: a field accessor / vector op / clamp) | not a line | ||
0x009f08fe __EH_prolog3_GS | W | 0x008287ed, depth 2 | CRT / compiler name (scope_rules.LIBNAME) | not a line | ||
0x009f0981 FUN_009f0981 | W | 0x008287ed, depth 2 | engine utility (>= 100 call sites) | not a line | ||
0x0088f4f5 FUN_0088f4f5 | W | 0x008294bc, depth 2 | by design: math leaf, the 4x4 matrix transpose (sixteen moves, no branch); bf2-rs matrix code | not a line | ||
0x0045d160 FUN_0045d160 | S | 0x00736d9d, depth 3 | crates/bfh-client/src/sound_comp.rs:88 (fn init) | bfh_client_ctf_sounds, bfh_client_footsteps | not a line: tested in every game: bf2142 0x0042b800, bf2 0x00440510 | |
0x00736dda world::EffectStatusItem::vslot7 | S | 0x00736d9d vt+0x1c, depth 3 | crates/bf2-client/src/fx/client.rs:996 (fn owner) | scenario bfh_client_ability_chain (no recorded result) (+1 more) | has a scenario, no recorded pass | open |
0x0045c8d4 FUN_0045c8d4 | W | 0x00738936, depth 3 | crates/bf2-server/src/bots.rs:2007 (const GLOBAL_RANDOM_STATIC) | bfh_client_itembar_vehicle, bfh_client_jeep_gunner_moving | the counter's weaker proof | open |
0x007377c6 FUN_007377c6 | W | 0x00738936, depth 3 | crates/bf2-server/src/global_random_runs.rs:106 (fn run_heroes_draws) | crates/bf2-server/tests/global_random_heroes.rs:4 (fn the_heroes_sites_draw_from_the_global_generator) | test from the original's code | yes |
0x006a2285 FUN_006a2285 | W | 0x006a264e, depth 3 | 1.89 twin 0x0066ed3a pairs with a 2142 / BF2 function bf2-rs ports (coverage_bfh 'via') | bfh_ability_overload, bfh_alt_fire_ammo_pool | the counter's weaker proof | open |
0x0069b0bc FUN_0069b0bc | W | 0x0069b25a, depth 3 | forwarder (<= 40 bytes, one call: default arguments, argument order, a constructor's fill, a deleting destructor) | not a line | ||
0x0045c829 FUN_0045c829 | W | 0x0045c8ae, depth 3 | crates/bfh-game/src/crit.rs:25 (struct FireRng) | crates/bfh-game/tests/small_helpers_bfh126.rs:8 (fn heroes) | test from the original's code | yes |
0x0071c6ca FUN_0071c6ca | W | 0x008266ba, depth 3 | trivial leaf (<= 40 bytes, no calls: a field accessor / vector op / clamp) | not a line | ||
0x008265eb FUN_008265eb | W | 0x008266ba, depth 3 | 1.89 twin 0x007d3be8 pairs with a 2142 / BF2 function bf2-rs ports (coverage_bfh 'via') | crates/bf2-world/src/strategic_object.rs:378 | the counter's weaker proof | open |
0x00829f11 FUN_00829f11 | S | 0x008266ba, depth 3 | crates/bf2-client/src/game.rs:17695 (fn titan_part_wrecks_update) | scenario bfh_client_browser_seated_widget_sound (no recorded result) | has a scenario, no recorded pass | open |
0x0088f213 FUN_0088f213 | W | 0x008266ba, depth 3 | engine utility (>= 100 call sites) | not a line | ||
0x009f1206 FUN_009f1206 | W | 0x008266ba, depth 3 | crates/bf2-net/src/bitstream.rs:522 (fn write_unit_float) | crates/bfh-game/tests/ftol2_bfh126.rs:1 (fn heroes) | not a line: tested in every game: bf2142 0x008c9694, bf2 0x0083d84c | |
0x004073ce ~animationSystem::setCameraSpring.amplitude | W | 0x00826eef, depth 3 | engine utility (>= 100 call sites) | not a line | ||
0x00460d7b FUN_00460d7b | W | 0x00826eef, depth 3 | engine utility (>= 100 call sites) | not a line | ||
0x00497864 FUN_00497864 | W | 0x00826eef, depth 3 | crates/bf2-physics/src/soldier.rs:866 (fn add_acceleration_in) | crates/bf2-physics/tests/heroes_movement_matrix.rs:94 (fn heroes_vec3_add_assign_adds_each_component_into_the_nodes_acceleration) | not a line: hub (74 callers): not expanded | |
0x0050403a FUN_0050403a | W | 0x00826eef, depth 3 | crates/bf2-core/src/euler.rs:155 (fn from_ypr) | crates/bfh-game/tests/engine_uncalled_bfh126.rs:312 (fn heroes_the_matrix_of_three_angles_is_the_euler_setters_of_their_negatives_last_first) | test from the original's code | yes |
0x0051371e FUN_0051371e | W | 0x00826eef, depth 3 | crates/bf2-net/src/netrecord.rs:1601 (fn initial) | bfh_ability_overload, bfh_alt_fire_ammo_pool | the counter's weaker proof | open |
0x0069ea7f FUN_0069ea7f | W | 0x00826eef, depth 3 | crates/bfh-game/src/abilities/stomp.rs:297 (fn soldier_push) | bfh_stomp, bfh_stomp_grenade | the counter's weaker proof | open |
0x0082505b FUN_0082505b | W | 0x00826eef, depth 3 | 1.89 twin 0x007d27d3 pairs with a 2142 / BF2 function bf2-rs ports (coverage_bfh 'via') | crates/bf2-client/tests/titan_white_out.rs:20 | the counter's weaker proof | open |
0x00826ce0 FUN_00826ce0 | W | 0x00826eef, depth 3 | 1.89 twin 0x007d42d7 pairs with a 2142 / BF2 function bf2-rs ports (coverage_bfh 'via') | crates/bf2-client/src/armor_effects.rs:1175, crates/bf2-client/src/armor_effects.rs:1244 | the counter's weaker proof | open |
0x008294dc FUN_008294dc | W | 0x00826eef, depth 3 | trivial leaf (<= 40 bytes, no calls: a field accessor / vector op / clamp) | not a line | ||
0x008294f4 FUN_008294f4 | W | 0x00826eef, depth 3 | trivial leaf (<= 40 bytes, no calls: a field accessor / vector op / clamp) | not a line | ||
0x0082950d FUN_0082950d | W | 0x00826eef, depth 3 | trivial leaf (<= 40 bytes, no calls: a field accessor / vector op / clamp) | not a line | ||
0x0088f16a FUN_0088f16a | W | 0x00826eef, depth 3 | crates/bf2-gameplay/src/camera/heroes_math.rs:53 (fn axis_frame) | crates/bfh-client/tests/turn_helpers_bfh126.rs:8 (fn rows) | test from the original's code | yes |
0x00890993 FUN_00890993 | W | 0x00826eef, depth 3 | crates/bf2-world/src/vehicle_ray.rs:526 (fn vehicle_exit_ray_start) | bfh_client_itembar_vehicle, bfh_client_kubel_seat | the counter's weaker proof | open |
0x004bd920 FUN_004bd920 | W | 0x006fa336, depth 3 | 1.89 twin 0x004b1968 is library code (coverage_bfh boilerplate) | not a line | ||
0x006f934e FUN_006f934e | W | 0x006fa336, depth 3 | not ported | none | open | |
0x006f93af FUN_006f93af | W | 0x006fa336, depth 3 | not ported | none | open | |
0x009f127c MSVCR90.DLL::_CIsqrt | S | 0x007377c6, depth 4 | crates/bf2-anim/src/x87.rs:413 (fn crt_sqrt) | bfh_ability_overload, bfh_apparel_ingame | not a line: hub (253 callers): not expanded | |
0x009f1544 MSVCR90.DLL::_CIcos | S | 0x007377c6, depth 4 | crates/bf2-anim/src/x87.rs:397 (fn crt90_op) | bfh_ability_overload, bfh_apparel_ingame | the counter's weaker proof | open |
0x009f154a MSVCR90.DLL::_CIsin | S | 0x007377c6, depth 4 | crates/bf2-anim/src/x87.rs:397 (fn crt90_op) | bfh_ability_overload, bfh_apparel_ingame | not a line: hub (40 callers): not expanded | |
0x0049d8e5 FUN_0049d8e5 | W | 0x006a2285, depth 4 | trivial leaf (<= 40 bytes, no calls: a field accessor / vector op / clamp) | not a line | ||
0x006a150a FUN_006a150a | W | 0x006a2285, depth 4 | trivial leaf (<= 40 bytes, no calls: a field accessor / vector op / clamp) | not a line | ||
0x006a15c9 FUN_006a15c9 | W | 0x006a2285, depth 4 | crates/bf2-server/src/objects.rs:79 (fn bind_methods_heroes) | bfh_ability_overload, bfh_alt_fire_ammo_pool | the counter's weaker proof | open |
0x006a2f1c FUN_006a2f1c | W | 0x006a2285, depth 4 | thin wrapper (<= 80 bytes, calls only library code) | not a line | ||
0x007f58ca python::PythonComp::PythonComp | W | 0x006a2285, depth 4 | trivial leaf (<= 40 bytes, no calls: a field accessor / vector op / clamp) | not a line | ||
0x006fea05 FUN_006fea05 | W | 0x0069b0bc, depth 4 | 1.89 twin 0x006f1d51 pairs with a 2142 / BF2 function bf2-rs ports (coverage_bfh 'via') | bfh_ability_overload, bfh_alt_fire_ammo_pool | the counter's weaker proof | open |
0x00511039 FUN_00511039 | W | 0x008265eb, depth 4 | not ported | none | open | |
0x00527c6f world::PlayerManager::getLocalHumanPlayer | W | 0x008265eb vt+0x30, depth 4 | tiny stub (<= 5 bytes) | not a line | ||
0x008250e4 FUN_008250e4 | W | 0x00829f11, depth 4 | 1.89 twin 0x007d285c pairs with a 2142 / BF2 function bf2-rs ports (coverage_bfh 'via') | crates/bf2-client/tests/wreck_wake.rs:15 | the counter's weaker proof | open |
0x008262d9 FUN_008262d9 | W | 0x00829f11, depth 4 | 1.89 twin 0x007d38d9 pairs with a 2142 / BF2 function bf2-rs ports (coverage_bfh 'via') | crates/bf2-world/src/vehicle_armor.rs:866, crates/bf2-world/src/vehicle_armor.rs:879 | the counter's weaker proof | open |
0x00890216 FUN_00890216 | W | 0x0050403a, depth 4 | crates/bf2-core/src/euler.rs:49 (fn set_euler) | bfh_set_euler, gen_bfh_set_euler | test from the original's code | yes |
0x0088f817 FUN_0088f817 | S | 0x0069ea7f, depth 4 | crates/bf2-anim/src/pose.rs:189 (fn mat_mul) | crates/bf2-anim/tests/quat_normalize_bfh126.rs:90 (fn bfh126_affine_product_of_the_pose_sums_x_and_y_then_z_bit_for_bit), crates/bf2-gameplay/tests/fire_comps_bfh126.rs:895 (fn heroes_affine_product_sums_x_and_y_then_z_and_adds_the_translation_last_bit_for_bit) | test from the original's code | yes |
0x007d8ac0 ~std::_Tree::op_007d8ac0 | W | 0x00826ce0, depth 4 | small helper: STL tree walk (MSVC std::_Tree: tests or sets the node's _Isnil byte; find / erase / iterate / buy a node) (< 64 bytes) | not a line | ||
0x00826010 FUN_00826010 | S | 0x00826ce0, depth 4 | crates/bf2-client/src/armor_effects.rs:1115 (fn apply) | crates/bf2-client/tests/armor_effects.rs:389 (fn heroes_clearing_a_vehicles_attached_damage_effects_destroys_them_and_no_other_vehicles) | test from the original's code | yes |
0x00829d21 FUN_00829d21 | W | 0x00826ce0, depth 4 | forwarder (<= 40 bytes, one call: default arguments, argument order, a constructor's fill, a deleting destructor) | not a line | ||
0x004a580f FUN_004a580f | W | 0x0088f16a, depth 4 | crates/bf2-core/src/fmath.rs:63 (fn normalize3_heroes) | crates/bf2-core/tests/normalize_bfh126.rs:1 (fn hold) | not a line: hub (132 callers): not expanded | |
0x00702bd1 FUN_00702bd1 | W | 0x0088f16a, depth 4 | crates/bfh-game/src/abilities/stomp.rs:246 (fn cross) | bfh_stomp_cross, gen_bfh_stomp_cross | test from the original's code | yes |
0x0072b76b FUN_0072b76b | W | 0x0088f16a, depth 4 | crates/bf2-physics/src/vecmath.rs:34 (fn zero_tiny) | crates/bf2-physics/tests/zero_tiny_bfh126.rs:1 (fn heroes) | not a line: hub (40 callers): not expanded | |
0x00890bfd FUN_00890bfd | W | 0x00890993, depth 4 | 1.89 twin 0x00877477 pairs with a 2142 / BF2 function bf2-rs ports (coverage_bfh 'via') | bfh_ability_overload, bfh_alt_fire_ammo_pool | the counter's weaker proof | open |
0x006f7633 FUN_006f7633 | W | 0x006f934e, depth 4 | STL container code, READ: a container's own member by its listing; it calls a body that holds a Dinkumware error string (a stl-read: row of parity_denominator.yaml, H7762) | not a line | ||
0x006f8ae8 FUN_006f8ae8 | W | 0x006f934e, depth 4 | forwarder (<= 40 bytes, one call: default arguments, argument order, a constructor's fill, a deleting destructor) | not a line | ||
0x009f08c8 __EH_prolog3_catch | W | 0x006f934e, depth 4 | CRT / compiler name (scope_rules.LIBNAME) | not a line | ||
0x006f767a FUN_006f767a | W | 0x006f93af, depth 4 | STL container code, READ: a container's own member by its listing; it calls a body that holds a Dinkumware error string (a stl-read: row of parity_denominator.yaml, H7762) | not a line | ||
0x006f8b01 FUN_006f8b01 | W | 0x006f93af, depth 4 | forwarder (<= 40 bytes, one call: default arguments, argument order, a constructor's fill, a deleting destructor) | not a line | ||
0x006a1532 FUN_006a1532 | W | 0x006a15c9, depth 5 | crates/bf2-python/src/interp.rs:454 (fn bind_method) | bfh_ability_overload, bfh_alt_fire_ammo_pool | the counter's weaker proof | open |
0x004fa975 FUN_004fa975 | W | 0x006fea05, depth 5 | STL container code, READ: a container's own member by its listing; it calls a body that holds a Dinkumware error string (a stl-read: row of parity_denominator.yaml, H7762) | not a line | ||
0x006a6f6e FUN_006a6f6e | W | 0x006fea05, depth 5 | thin wrapper (<= 80 bytes, calls only library code) | not a line | ||
0x00701ec7 FUN_00701ec7 | W | 0x006fea05, depth 5 | not ported | none | open | |
0x0050f9d2 ~std::_Tree::_Lbound_0050f9d2 | W | 0x00511039, depth 5 | small helper: STL tree walk (MSVC std::_Tree: tests or sets the node's _Isnil byte; find / erase / iterate / buy a node) (< 64 bytes) | not a line | ||
0x008909ff FUN_008909ff | W | 0x008250e4, depth 5 | crates/bf2-effects/src/math.rs:113 (const ZERO) | crates/bf2-effects/src/math.rs:241 (fn heroes_zero_matrix_is_sixteen_floats_of_bit_pattern_zero) | test from the original's code | yes |
0x009619fc FUN_009619fc | S | 0x008250e4, depth 5 | crates/bf2-client/src/armor_effects.rs:1046 (fn destroyed_geom) | scenario bfh_client_browser_seated_widget_sound (no recorded result) | has a scenario, no recorded pass | open |
0x009c0cbd world::ObjectInterfacePredicator::ObjectInterfacePredicator | W | 0x008262d9, depth 5 | trivial leaf (<= 40 bytes, no calls: a field accessor / vector op / clamp) | not a line | ||
0x0088f40a FUN_0088f40a | W | 0x00890216, depth 5 | trivial leaf (<= 40 bytes, no calls: a field accessor / vector op / clamp) | not a line | ||
0x00890ae1 FUN_00890ae1 | W | 0x00890216, depth 5 | trivial leaf (<= 40 bytes, no calls: a field accessor / vector op / clamp) | not a line | ||
0x00890b06 FUN_00890b06 | W | 0x00890216, depth 5 | thin wrapper (<= 80 bytes, calls only library code) | not a line | ||
0x00890b36 FUN_00890b36 | W | 0x00890216, depth 5 | thin wrapper (<= 80 bytes, calls only library code) | not a line | ||
0x00893eeb FUN_00893eeb | W | 0x00890216, depth 5 | crates/bf2-core/src/euler.rs:23 (fn mul3) | bfh_mul3, gen_bfh_mul3 | test from the original's code | yes |
0x00825008 FUN_00825008 | W | 0x00826010, depth 5 | trivial leaf (<= 40 bytes, no calls: a field accessor / vector op / clamp) | not a line | ||
0x00890b99 FUN_00890b99 | W | 0x00890bfd, depth 5 | by design: constructor copying four vectors (0x0040742d each), a matrix by rows; Rust array copy | not a line | ||
0x006f81cf FUN_006f81cf | W | 0x006f8ae8, depth 5 | forwarder (<= 40 bytes, one call: default arguments, argument order, a constructor's fill, a deleting destructor) | not a line | ||
0x006f821f FUN_006f821f | W | 0x006f8b01, depth 5 | forwarder (<= 40 bytes, one call: default arguments, argument order, a constructor's fill, a deleting destructor) | not a line | ||
0x00701c83 FUN_00701c83 | W | 0x00701ec7, depth 6 | forwarder (<= 40 bytes, one call: default arguments, argument order, a constructor's fill, a deleting destructor) | not a line | ||
0x00701c98 FUN_00701c98 | W | 0x00701ec7, depth 6 | thin wrapper (<= 80 bytes, calls only library code) | not a line | ||
0x00535f88 FUN_00535f88 | W | 0x009619fc, depth 6 | by design: a static pool of scratch std::vector<16-byte> (the next one cleared, grown by one when used up) for query results; Rust uses locals | not a line | ||
0x00893fea FUN_00893fea | W | 0x00893eeb, depth 6 | crates/bf2-core/src/euler.rs:25 (fn mul3) | crates/bf2-anim/src/ik.rs:1384, crates/bf2-core/src/euler.rs:221 | link line only | open |
0x006f729f FUN_006f729f | W | 0x006f81cf, depth 6 | forwarder (<= 40 bytes, one call: default arguments, argument order, a constructor's fill, a deleting destructor) | not a line | ||
0x006f72ec FUN_006f72ec | W | 0x006f821f, depth 6 | forwarder (<= 40 bytes, one call: default arguments, argument order, a constructor's fill, a deleting destructor) | not a line | ||
0x004fa9a7 FUN_004fa9a7 | W | 0x00701c83, depth 7 | thin wrapper (<= 80 bytes, calls only library code) | not a line | ||
0x006f6485 FUN_006f6485 | W | 0x006f729f, depth 7 | trivial leaf (<= 40 bytes, no calls: a field accessor / vector op / clamp) | not a line | ||
0x006f649f FUN_006f649f | W | 0x006f72ec, depth 7 | trivial leaf (<= 40 bytes, no calls: a field accessor / vector op / clamp) | not a line |
Inner calls#
A call through a virtual table has no line in the call graph; the ledger lists every one it met: 197 here, 193 of them open lines (nobody has named what they call, or what they call is not checked).
What is open#
In a player's words, as the ledger writes them:
- used on foot (what it does): not checked
- used on foot (what you see): not checked
- used at the wheel of a vehicle (what you see): played and passed, but no assert read the screen and nobody wrote that they looked
- used from a passenger's or a gunner's seat (what it does): not checked
- used from a passenger's or a gunner's seat (what you see): not checked
- the user dies while it runs (what it does): not checked
- the user dies while it runs (what you see): not checked
- after the user respawns (what it does): not checked
- after the user respawns (what you see): not checked
- the round ends while it runs, and the next round starts clean (what it does): not checked
- the round ends while it runs, and the next round starts clean (what you see): not checked
- the map changes while it runs (what it does): not checked
- the map changes while it runs (what you see): not checked
- a player who joins while it runs sees it (what it does): not checked
- a player who joins while it runs sees it (what you see): not checked
- watching a team mate who uses it (after dying, or as a spectator) (what it does): not checked
- watching a team mate who uses it (after dying, or as a spectator) (what you see): not checked
- team mates against enemies (who gets it and who does not) (what it does): not checked
- team mates against enemies (who gets it and who does not) (what you see): not checked
- in water (swimming) (what it does): not checked
- in water (swimming) (what you see): not checked
- on a ladder (what it does): not checked
- on a ladder (what you see): not checked
- while another effect runs on the same hero (what it does): not checked
- while another effect runs on the same hero (what you see): not checked
- the effect on a target or user in a vehicle seat is drawn on the vehicle (what it does): not checked
- the effect on a target or user in a vehicle seat is drawn on the vehicle (what you see): not checked
- triggered in a round's last seconds, the next round (what it does): not checked
- triggered in a round's last seconds, the next round (what you see): not checked
- bought for valor points at the store (what it does): not checked
- bought for valor points at the store (what you see): not checked
- ready again only after its wait (what it does): not checked
- ready again only after its wait (what you see): not checked
- held at the account service, put in a widget slot and carried into a game (what it does): not checked
- held at the account service, put in a widget slot and carried into a game (what you see): not checked
- a pack's uses count down and the key is refused at none (a kept widget takes none) (what it does): not checked
- a pack's uses count down and the key is refused at none (a kept widget takes none) (what you see): not checked
And 228 lines about the original's code (the first 25):
- a step of the original (FUN_00737a77): in ours; a scenario names it, with no recorded pass; no test written from the original
- a step of the original (world::EffectStatusItem::EffectStatusItem): in ours; a scenario names it, with no recorded pass; no test written from the original
- a step of the original (FUN_0073a631): in ours, but no test written from the original's code holds it
- a step of the original (FUN_00533b39): in ours; a scenario names it, with no recorded pass; no test written from the original
- a step of the original (FUN_00825ba1): in ours, but no test written from the original's code holds it
- a step of the original (FUN_00827f69): in ours, but no test written from the original's code holds it
- a step of the original (FUN_0049db1d): this part of the original is not in ours
- a step of the original (world::EffectStatusItem::vslot3): in ours; a scenario names it, with no recorded pass; no test written from the original
- a step of the original (world::WeaponBlinkStatusItem::vslot3): in ours, but no test written from the original's code holds it
- a step of the original (FUN_00826eef): in ours, but no test written from the original's code holds it
- a step of the original (FUN_006fa1d0): this part of the original is in no count of ours: nobody has placed it
- a step of the original (FUN_006fa336): this part of the original is in no count of ours: nobody has placed it
- a step of the original (world::EffectStatusItem::vslot7): in ours; a scenario names it, with no recorded pass; no test written from the original
- a step of the original (FUN_0045c8d4): in ours, but no test written from the original's code holds it
- a step of the original (FUN_006a2285): in ours, but no test written from the original's code holds it
- a step of the original (FUN_008265eb): in ours, but no test written from the original's code holds it
- a step of the original (FUN_00829f11): in ours; a scenario names it, with no recorded pass; no test written from the original
- a step of the original (FUN_0051371e): in ours, but no test written from the original's code holds it
- a step of the original (FUN_0069ea7f): in ours, but no test written from the original's code holds it
- a step of the original (FUN_0082505b): in ours, but no test written from the original's code holds it
- a step of the original (FUN_00826ce0): in ours, but no test written from the original's code holds it
- a step of the original (FUN_00890993): in ours, but no test written from the original's code holds it
- a step of the original (FUN_006f934e): this part of the original is in no count of ours: nobody has placed it
- a step of the original (FUN_006f93af): this part of the original is in no count of ours: nobody has placed it
- a step of the original (MSVCR90.DLL::_CIcos): in ours, but no test written from the original's code holds it
The other 203 stand in the ledger's file.
How it is tested#
This page is the answer: the tables above name each test and each played scenario that stands for a line, with its kind. The ledger's own tool refuses a status that disagrees with its rows, a tick the rule does not give, and a proof that is not in the tree (feature_ledger.py --check). The wiki's test checks that this page says done only where the ledger does.
In the code#
| What | Where |
|---|---|
| this feature's ledger | notes/bfheroes/features/widget/tank_shield.toml (its ticks: the folder notes/bfheroes/features/widget/tank_shield.ticks) |
| the ledger's rule | notes/bfheroes/features/README.md |
| the recorded results | notes/bfheroes/features/records/<run>.tsv |
| the tool that walks the original's call graph and computes the status | tools/bfheroes/feature_ledger.py |
| the counter the ledger was made with | bfheroes 83706c0 2026-11-28T22:37:11 |
| this page's maker | tools/devwiki/features.py |
tools/devwiki/features.py · built from bf2-rs e3b4f05 · part of the Battlefield 2 / 2142 / Heroes reimplementation. Not affiliated with EA or DICE.