On this page
Terrific Health Tonic: the feature checklist
Terrific Health Tonic 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: 15 of 181 lines checked.
Situations: 1 of 19 checked for what the game does, 0 of 19 for what a player sees. The original's code: 14 of 143 checked (33 functions and 110 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#
heals 50; wait 20 s; not in a vehicle; in water too; the wait is kept through a death
That is this wiki's own line about it, taken at build time from the page that tells it.
| the name a player knows | Terrific Health Tonic |
| kind | widget |
| in the game's data | InstantHeal (2153) |
| its row in the sweeps | notes/bfheroes/widget_sweep.md, the row Terrific Health Tonic; notes/bfheroes/abilities_table.md row W01 |
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 |
|---|---|---|
0x00738487 | the instant heal item's attach: on the server the user alone gets the heal | whole |
0x00738d09 | the item's vslot4 | whole |
0x0052c3ed | the game logic's heal, a shared step of every heal | as a part: its calls are not followed |
0x00828174 | the armor's heal | 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: has a scenario, no recorded pass (scenario bfh_r0105_tonic (no recorded result)) | open: has a scenario, no recorded pass (scenario bfh_r0105_tonic (no recorded result)) | played by state: no screenshot is read |
| used at the wheel of a vehicle | open: not checked | open: not checked | |
| used from a passenger's or a gunner's seat | open: has a scenario, no recorded pass (scenario bfh_r0105_seat_keys_commando (no recorded result)) | open: has a scenario, no recorded pass (scenario bfh_r0105_seat_keys_commando (no recorded result)) | played by state: no screenshot is read |
| the user dies while it runs | open: has a scenario, no recorded pass (scenario bfh_r0105_tonic_wait_suicide (no recorded result)) | open: has a scenario, no recorded pass (scenario bfh_r0105_tonic_wait_suicide (no recorded result)) | the wait is kept through a death: played by state: no screenshot is read |
| 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) | checked: play with a recorded pass, state asserts (scenario bfh_swim_instant_heal_key (PASS in run 20261118_043738_r19_h10_swim_heal_key on b006961)) | open: play with a recorded pass, state asserts (scenario bfh_swim_instant_heal_key (PASS in run 20261118_043738_r19_h10_swim_heal_key on b006961)) | played by state: no screenshot is read |
| 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#
5 more scenarios the ledger names have no row in the records file: bfh_r0105_tonic_wait_water, bfh_swim_instant_heal_key, bfh_r0105_tonic, bfh_r0105_seat_keys_commando, bfh_r0105_tonic_wait_suicide.
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#
88 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 |
|---|---|---|---|---|---|---|
0x00738487 FUN_00738487 | W | entry, depth 0 | crates/bf2-server/src/abilities_heroes.rs:1832 (fn instant_heal) | scenario bfh_consumable_use_count (PASS in run 20261119_064502_harden4i1 on 67a6e69) (+1 more) | play with a recorded pass, state asserts | yes |
0x00738d09 world::InstantHealStatusItem::vslot4 | W | entry, depth 0 | crates/bf2-server/src/abilities_heroes.rs:1831 (fn instant_heal) | bfh_ability_overload, bfh_client_heal_area | the counter's weaker proof | open |
0x0052c3ed ServerGameLogic::heal | W | entry, depth 0 | crates/bf2-server/src/cone_heroes.rs:324 (fn give_heal) | scenario bfh_eats_grenades (PASS in run 20261111_020023_t1_bfh_eats_grenades) (+2 more) | play with a recorded pass, state asserts | yes: PART: entered without its calls (expand = false) |
0x00828174 world::ArmorGLComp::vslot19 | S | entry, depth 0 | crates/bf2-client/src/game.rs:9533 (fn chat_event) | scenario bfh_ability_bandage (PASS in run 20261128_211013_h25_r35b_bfh_ability_bandage on c2aa16b) (+4 more) | play with a recorded pass, state asserts | open |
0x0041b7fd FUN_0041b7fd | W | 0x00828174, depth 1 | engine utility (>= 100 call sites) | not a line | ||
0x004edc76 FUN_004edc76 | W | 0x00828174, depth 1 | crates/bf2-net/src/join.rs:248 (fn post_remote) | crates/bf2-net/tests/net_record_bfh126.rs:1875 (fn post_remote_event_run_flag_senders_write_the_delay_zero_bfh126) | not a line: hub (77 callers): not expanded | |
0x0069b277 FUN_0069b277 | W | 0x00828174, 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 | 0x00828174, 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 | |
0x00757518 FUN_00757518 | W | 0x00828174, depth 1 | 1.89 twin 0x006fdf20 is library code (coverage_bfh boilerplate) | not a line | ||
0x00827c17 FUN_00827c17 | S | 0x00828174, 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 |
0x009f0895 __EH_prolog3 | W | 0x00828174, depth 1 | CRT / compiler name (scope_rules.LIBNAME) | not a line | ||
0x009f096d __EH_epilog3 | W | 0x00828174, depth 1 | CRT / compiler name (scope_rules.LIBNAME) | not a line | ||
0x009f1206 FUN_009f1206 | W | 0x00828174, depth 1 | 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 | |
0x0082a9af world::ArmorGLComp::vslot16 | W | 0x00828174 vt+0x40, depth 1 | tiny stub (<= 5 bytes) | not a line | ||
0x00825410 world::ArmorGLComp::vslot45 | S | 0x00828174 vt+0xb4, depth 1 | crates/bf2-client/src/game.rs:10467 (fn hud_inputs) | crates/bf2-client/tests/heroes_hp_bonus_store_bfh126.rs:7 (fn files) | test from the original's code | yes |
0x00825448 world::ArmorGLComp::vslot82 | W | 0x00828174 vt+0x148, depth 1 | crates/bfh-game/src/extra_health.rs:65 (fn set_cap) | bfh_alt_fire_ammo_pool, bfh_client_alt_ammo_bar | the counter's weaker proof | open |
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 | ||
0x009bd22c FUN_009bd22c | W | 0x0069b277, depth 2 | engine utility (>= 100 call sites) | not a line | ||
0x0041ade0 FUN_0041ade0 | W | 0x00827c17, depth 2 | engine utility (>= 100 call sites) | not a line |
Show all 88 functions (the other 68)
| The original's function | Kind | Reached | Ours | Proof | Its kind | Checked |
|---|---|---|---|---|---|---|
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 | ||
0x004a575f FUN_004a575f | 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 |
0x0082542e world::ArmorGLComp::vslot46 | W | 0x00825410 vt+0xb8, depth 2 | trivial leaf (<= 40 bytes, no calls: a field accessor / vector op / clamp) | not a line | ||
0x0041ad9b FUN_0041ad9b | S | 0x00825448, 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 | |
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 | ||
0x004073a5 FUN_004073a5 | W | 0x008266ba, depth 3 | not a line: engine utility (653 call sites, the counter's rule of 100); the counter has no row for it | |||
0x00533b17 FUN_00533b17 | W | 0x008266ba, depth 3 | 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 | |
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 | ||
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 | ||
0x004821ae FUN_004821ae | 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 |
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 | |
0x009f08fe __EH_prolog3_GS | W | 0x008265eb, depth 4 | CRT / compiler name (scope_rules.LIBNAME) | not a line | ||
0x009f0981 FUN_009f0981 | W | 0x008265eb, depth 4 | engine utility (>= 100 call sites) | not a line | ||
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 |
0x0045d160 FUN_0045d160 | S | 0x0082505b, depth 4 | 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 | |
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 | ||
0x009f11d0 FUN_009f11d0 | W | 0x00826ce0, depth 4 | 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 | |
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 |
0x00428d62 FUN_00428d62 | W | 0x006fea05, depth 5 | engine utility (>= 100 call sites) | not a line | ||
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 | ||
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 | ||
0x009c0bc8 world::ObjectFlagPredicator::ObjectFlagPredicator | W | 0x009619fc, depth 6 | trivial leaf (<= 40 bytes, no calls: a field accessor / vector op / clamp) | 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 |
0x004fa9a7 FUN_004fa9a7 | W | 0x00701c83, depth 7 | thin wrapper (<= 80 bytes, calls only library code) | 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: 115 here, 110 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): has a scenario, no recorded pass
- used on foot (what you see): has a scenario, no recorded pass
- used at the wheel of a vehicle (what it does): not checked
- used at the wheel of a vehicle (what you see): not checked
- used from a passenger's or a gunner's seat (what it does): has a scenario, no recorded pass
- used from a passenger's or a gunner's seat (what you see): has a scenario, no recorded pass
- the user dies while it runs (what it does): has a scenario, no recorded pass
- the user dies while it runs (what you see): has a scenario, no recorded pass
- 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 you see): played and passed, but no assert read the screen and nobody wrote that they looked
- 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 129 lines about the original's code (the first 25):
- a step of the original (world::InstantHealStatusItem::vslot4): in ours, but no test written from the original's code holds it
- a step of the original (world::ArmorGLComp::vslot19): played and passed, but no test written from the original and nothing read the screen
- a step of the original (world::ArmorGLComp::vslot82): 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_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_006fea05): in ours, but no test written from the original's code holds it
- a step of the original (FUN_00511039): this part of the original is in no count of ours: nobody has placed it
- a step of the original (FUN_008250e4): in ours, but no test written from the original's code holds it
- a step of the original (FUN_008262d9): in ours, but no test written from the original's code holds it
- a step of the original (FUN_00890bfd): in ours, but no test written from the original's code holds it
- a step of the original (FUN_00701ec7): this part of the original is in no count of ours: nobody has placed it
- a step of the original (FUN_009619fc): in ours; a scenario names it, with no recorded pass; no test written from the original
- a step of the original (FUN_00893fea): in ours, but no test written from the original's code holds it
- an inner call of the original (in 0x00738487, slot 0xb4) is not followed yet: nobody has named what it calls
- an inner call of the original (in 0x00738487, slot 0xcc) is not followed yet: nobody has named what it calls
- an inner call of the original (in 0x00738487, slot 0x178) is not followed yet: nobody has named what it calls
- an inner call of the original (in 0x00738487, slot 0x1b4) is not followed yet: nobody has named what it calls
- a large shared step of the original (0x0052c3ed) is on the list by itself: what it calls for this feature is not followed yet
- an inner call of the original (in 0x00828174, slot 0xc) is not followed yet: nobody has named what it calls
The other 104 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/health_tonic.toml (its ticks: the folder notes/bfheroes/features/widget/health_tonic.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.