On this page
Stealth: the feature checklist
Stealth is a Battlefield Heroes ability, Commando. 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 189 lines checked.
Situations: 3 of 16 checked for what the game does, 3 of 16 for what a player sees. The original's code: 22 of 157 checked (42 functions and 115 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 11:55.
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#
invisible beyond 15 / 13 / 11 / 9 / 6 m, 40 % solid nearer; until he fires (Commando)
That is this wiki's own line about it, taken at build time from the page that tells it.
| the name a player knows | Stealth |
| kind | ability, Commando |
| in the game's data | Stealth_BRI / Stealth_GER, levels 1 to 5 (2136 to 2145); CamouflageAmmoComp |
| what it acts on (the ledger's tags) | seen-by-enemies, client-effect |
| its row in the sweeps | notes/bfheroes/ability_sweep.md, the row Stealth; notes/bfheroes/abilities_table.md rows C2-L1 to C2-L5 |
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 |
|---|---|---|
0x007744aa | the fire request: a revealed one cloaks again behind a delay; a list-0 weapon with an unstealth time reveals, any other fire ends the stealth; not while sky diving or swimming | whole |
0x00773a66 | the update on each client for its local player: 40 % solid inside the always radius, the rank radius by level, the HUD's detect event, the shadow flag; ends while the player is marked | whole |
0x0077405b | the enable | whole |
0x007741b8 | the disable | whole |
0x00774416 | the fire stop: reveals only without continous | whole |
0x00774328 | the reveal step (the squad radar event) | 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 | checked: play with a recorded pass, pixels read (scenario bfh_r0105_stealth_scope (PASS in run 20261126_174836_sc13 on 4994794)) | checked: play with a recorded pass, pixels read (scenario bfh_r0105_stealth_scope (PASS in run 20261126_174836_sc13 on 4994794)) | |
| used at the wheel of a vehicle | checked: play with a recorded pass, pixels read (scenario bfh_r0105_stealth_seat_driver (PASS in run 20261126_113917_sd6 on 8de57fa)) | checked: play with a recorded pass, pixels read (scenario bfh_r0105_stealth_seat_driver (PASS in run 20261126_113917_sd6 on 8de57fa)) | |
| used from a passenger's or a gunner's seat | checked: play with a recorded pass, pixels read (scenario bfh_r0105_stealth_seat_passenger (PASS in run 20261126_114217_sp5 on 8de57fa)) | checked: play with a recorded pass, pixels read (scenario bfh_r0105_stealth_seat_passenger (PASS in run 20261126_114217_sp5 on 8de57fa)) | |
| enemy sitting in a vehicle | open: has a scenario, no recorded pass (scenario bfh_r0105_stealth_seated (no recorded result)) | open: has a scenario, no recorded pass (scenario bfh_r0105_stealth_seated (no recorded result)) | the enemy who looks at the stealthed hero sits in a jeep's passenger seat |
| 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: has a scenario, no recorded pass (scenario bfh_r0105_stealth_swim (no recorded result)) | open: has a scenario, no recorded pass (scenario bfh_r0105_stealth_swim (no recorded result)) | played on the user's own page 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 |
Recorded plays#
8 more scenarios the ledger names have no row in the records file: bfh_r0105_stealth_swim, bfh_r0105_stealth_scope, bfh_r0105_stealth_altfire, bfh_r0105_stealth, bfh_r0105_stealth_seat_driver, bfh_r0105_stealth_tank, bfh_r0105_stealth_seat_passenger, bfh_r0105_stealth_seated.
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#
99 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 |
|---|---|---|---|---|---|---|
0x007744aa world::CamouflageAmmoComp::requestFire | S | entry, depth 0 | crates/bf2-client/src/weapons.rs:5462 (fn soldier_start_transform) | crates/bf2-client/src/weapons.rs:10185 (fn heroes_stealth_context_reads_sky_diving_swimming_and_the_mark), crates/bfh-game/src/abilities/stealth.rs:383 (fn the_fire_request_whole_with_its_ammo_tests_and_answer) | test from the original's code | yes |
0x00773a66 FUN_00773a66 | S | entry, depth 0 | crates/bf2-client/app/src/client.rs:8318 (fn actors_pass) | crates/bf2-client/src/seat_anim.rs:738 (fn a_control_object_without_a_world_object_or_a_vehicle_body_has_no_place), crates/bf2-client/src/shake.rs:926 (fn heroes_stealth_starts_no_tinnitus) | test from the original's code | yes |
0x0077405b world::CamouflageAmmoComp::enable | W | entry, depth 0 | crates/bf2-server/src/abilities_heroes.rs:1734 (fn activate) | crates/bf2-client/src/weapons.rs:10036 (fn heroes_stealth_fades_at_the_enable_and_ends_on_the_press) | test from the original's code | yes |
0x007741b8 world::CamouflageAmmoComp::disable | S | entry, depth 0 | crates/bf2-client/src/weapons.rs:7320 (fn call) | crates/bf2-server/src/abilities_heroes_camouflage_wait_tests.rs:6 (fn a_camouflage_items_disable_starts_its_wait) | test from the original's code | yes |
0x00774416 world::CamouflageAmmoComp::fireStop | W | entry, depth 0 | crates/bf2-server/src/players_weapons.rs:3414 (fn heroes_stealth_call) | scenario bfh_client_browser_seated_widget_sound (no recorded result) (+1 more) | has a scenario, no recorded pass | open |
0x00774328 FUN_00774328 | W | entry, depth 0 | crates/bf2-server/src/squad_radar.rs:298 (fn camo_reveal) | crates/bf2-server/tests/stay_active_return_heroes.rs:188 (fn heroes_stealth_reveal_goes_to_the_leaders_of_the_enemy_teams_ten_squads) | test from the original's code | yes |
0x0041ade0 FUN_0041ade0 | W | 0x007744aa, depth 1 | engine utility (>= 100 call sites) | not a line | ||
0x00709358 FUN_00709358 | W | 0x007744aa, depth 1 | trivial leaf (<= 40 bytes, no calls: a field accessor / vector op / clamp) | not a line | ||
0x00772184 world::AbilityAmmoComp::requestFire | S | 0x007744aa, depth 1 | crates/bf2-client/src/weapons.rs:4330 (fn ammo_call) | crates/bf2-client/src/weapons.rs:10104 (fn heroes_ability_fire_request_gates_on_the_ability), crates/bfh-client/src/hud.rs:755 (fn ability_ammo_fire_gate) | test from the original's code | yes |
0x0077396a FUN_0077396a | W | 0x007744aa, depth 1 | thin wrapper (<= 80 bytes, calls only library code) | not a line | ||
0x009bd171 FUN_009bd171 | W | 0x007744aa, depth 1 | trivial leaf (<= 40 bytes, no calls: a field accessor / vector op / clamp) | not a line | ||
0x009bd22c FUN_009bd22c | W | 0x007744aa, depth 1 | engine utility (>= 100 call sites) | not a line | ||
0x009f1206 FUN_009f1206 | W | 0x007744aa, 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 | |
0x004984f5 FUN_004984f5 | W | 0x00773a66, depth 1 | crates/bf2-physics/src/culler.rs:945 (fn sub_bfh126) | bfh_ability_overload, bfh_alt_fire_ammo_pool | not a line: hub (144 callers): not expanded | |
0x0049d641 FUN_0049d641 | S | 0x00773a66, depth 1 | crates/bf2-client/src/fx/collision.rs:121 (fn ground_hit_distance) | crates/bf2-client/src/fx/mod.rs:4541 (fn heroes_speed_inherit_order) | not a line: hub (301 callers): not expanded | |
0x0070814b FUN_0070814b | W | 0x00773a66, depth 1 | trivial leaf (<= 40 bytes, no calls: a field accessor / vector op / clamp) | not a line | ||
0x00709186 FUN_00709186 | W | 0x00773a66, depth 1 | trivial leaf (<= 40 bytes, no calls: a field accessor / vector op / clamp) | not a line | ||
0x0070919e FUN_0070919e | W | 0x00773a66, depth 1 | trivial leaf (<= 40 bytes, no calls: a field accessor / vector op / clamp) | not a line | ||
0x009bd4bc FUN_009bd4bc | S | 0x00773a66, depth 1 | crates/bf2-client/app/src/client/visible.rs:119 (fn camouflage_frame) | scenario bfh_client_stealth_seen (PASS in run 20261119_123814_verify_d77ca9f_lane2 on d77ca9f) | play with a recorded pass, state asserts | open |
0x009bd4fd FUN_009bd4fd | W | 0x00773a66, depth 1 | trivial leaf (<= 40 bytes, no calls: a field accessor / vector op / clamp) | not a line |
Show all 99 functions (the other 79)
| The original's function | Kind | Reached | Ours | Proof | Its kind | Checked |
|---|---|---|---|---|---|---|
0x009f127c MSVCR90.DLL::_CIsqrt | S | 0x00773a66, depth 1 | crates/bf2-anim/src/x87.rs:413 (fn crt_sqrt) | bfh_ability_overload, bfh_apparel_ingame | not a line: hub (253 callers): not expanded | |
0x00527c6f world::PlayerManager::getLocalHumanPlayer | W | 0x00773a66 vt+0x30, depth 1 | tiny stub (<= 5 bytes) | not a line | ||
0x0045c8f1 FUN_0045c8f1 | W | 0x0077405b, depth 1 | 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 | |
0x007728de world::AbilityAmmoComp::enable | S | 0x0077405b, depth 1 | crates/bf2-client/app/src/client/heroes_hud.rs:3092 (fn heroes_weapon_bar) | crates/bf2-client/src/weapons.rs:11219 (fn ability_charge_starts_at_the_selection), crates/bfh-client/src/hud.rs:992 (fn ability_reenable_gives_the_full_charge_without_a_drain) | test from the original's code | yes |
0x0077228a world::AbilityAmmoComp::disable | S | 0x007741b8, depth 1 | crates/bf2-client/app/src/client/heroes_hud.rs:3120 (fn heroes_weapon_bar) | crates/bf2-client/src/weapons.rs:11220 (fn ability_charge_starts_at_the_selection), crates/bf2-client/src/weapons.rs:11400 (fn heroes_remote_ability_ends_by_the_watchers_count_or_the_servers_state) | test from the original's code | yes |
0x00464106 FUN_00464106 | W | 0x00774328, depth 1 | STL container code, UNREAD: it calls a body that holds a Dinkumware error string and no one has read it (a row of parity_stl_unread.tsv, H7762) | not a line | ||
0x00464319 FUN_00464319 | W | 0x00774328, depth 1 | thin wrapper (<= 80 bytes, calls only library code) | not a line | ||
0x00468701 FUN_00468701 | W | 0x00774328, depth 1 | 1.89 twin 0x00456e91 is library code (coverage_bfh boilerplate) | not a line | ||
0x0048b369 FUN_0048b369 | W | 0x00774328, depth 1 | 1.89 twin 0x00480136 is library code (coverage_bfh boilerplate) | not a line | ||
0x009f0895 __EH_prolog3 | W | 0x00774328, depth 1 | CRT / compiler name (scope_rules.LIBNAME) | not a line | ||
0x009f096d __EH_epilog3 | W | 0x00774328, depth 1 | CRT / compiler name (scope_rules.LIBNAME) | not a line | ||
0x00799a39 world::AmmoComp::requestFire | W | 0x00772184, depth 2 | crates/bfh-game/src/abilities/stealth.rs:229 (fn request_fire_whole) | crates/bfh-game/src/abilities/stealth.rs:384 (fn the_fire_request_whole_with_its_ammo_tests_and_answer) | test from the original's code | yes |
0x0071c6ca FUN_0071c6ca | W | 0x009bd4bc, depth 2 | trivial leaf (<= 40 bytes, no calls: a field accessor / vector op / clamp) | not a line | ||
0x004073a5 FUN_004073a5 | W | 0x007728de, depth 2 | not a line: engine utility (653 call sites, the counter's rule of 100); the counter has no row for it | |||
0x0041ad9b FUN_0041ad9b | S | 0x007728de, depth 2 | crates/bf2-client/src/heroes_teleport.rs:152 (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: hub (152 callers): not expanded | |
0x0041b7fd FUN_0041b7fd | W | 0x007728de, depth 2 | engine utility (>= 100 call sites) | not a line | ||
0x0048eeba FUN_0048eeba | W | 0x007728de, depth 2 | engine utility (>= 100 call sites) | not a line | ||
0x0049d8df FUN_0049d8df | W | 0x007728de, depth 2 | trivial leaf (<= 40 bytes, no calls: a field accessor / vector op / clamp) | not a line | ||
0x0049e84f FUN_0049e84f | W | 0x007728de, depth 2 | 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 | |
0x0050e4ff FUN_0050e4ff | W | 0x007728de, depth 2 | trivial leaf (<= 40 bytes, no calls: a field accessor / vector op / clamp) | not a line | ||
0x00533d27 FUN_00533d27 | W | 0x007728de, depth 2 | out of scope: 1.89 twin 0x00505795 (coverage_bfh out_of_scope) | not a line | ||
0x006fa1d0 FUN_006fa1d0 | W | 0x007728de, depth 2 | not ported | none | open: hub (50 callers): not expanded | |
0x006fa336 FUN_006fa336 | W | 0x007728de, depth 2 | not ported | none | open | |
0x00707d97 FUN_00707d97 | W | 0x007728de, 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 |
0x00736d55 FUN_00736d55 | W | 0x007728de, depth 2 | crates/bfh-game/src/abilities/user_effect.rs:55 (fn admits) | crates/bfh-game/tests/small_helpers_bfh126.rs:16 (fn heroes) | test from the original's code | yes |
0x00737afe world::EffectStatusItem::EffectStatusItem | W | 0x007728de, depth 2 | crates/bf2-server/src/abilities_heroes.rs:741 (fn add_status_effect) | scenario bfh_client_prestige_hud (PASS in run 20261128_113209_verify_b82b444_lane4 on b82b444) | has a scenario; its recorded pass is on a branch not landed | open |
0x00737b69 world::MovementStatusItem::MovementStatusItem | W | 0x007728de, depth 2 | crates/bfh-game/src/abilities/mod.rs:569 (fn item_kinds) | scenario bfh_elixir (PASS in run 20261119_123814_verify_d77ca9f_lane1 on d77ca9f) (+8 more) | play with a recorded pass, state asserts | yes |
0x00738165 FUN_00738165 | W | 0x007728de, depth 2 | crates/bfh-game/src/abilities/mod.rs:556 (fn item_kinds) | scenario bfh_client_browser_seated_widget_sound (no recorded result) | has a scenario, no recorded pass | open |
0x00738278 world::RepairVehicleStatusItem::RepairVehicleStatusItem | W | 0x007728de, depth 2 | by design: world::RepairVehicleStatusItem constructor (base 0x00738165, the vftable); bfh-game's status items are plain values | not a line | ||
0x00738369 world::ShieldStatusItem::ShieldStatusItem | W | 0x007728de, depth 2 | 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 |
0x007383c3 world::EatsGrenadesStatusItem::EatsGrenadesStatusItem | W | 0x007728de, depth 2 | crates/bfh-game/src/abilities/eats_grenades.rs:1 | scenario bfh_eats_grenades (PASS in run 20261111_020023_t1_bfh_eats_grenades) (+2 more) | play with a recorded pass, state asserts | yes |
0x00738410 FUN_00738410 | W | 0x007728de, depth 2 | crates/bfh-game/src/abilities/mod.rs:219 (fn factor) | bfh_ability_overload, bfh_client_heal_area | the counter's weaker proof | open |
0x00738534 FUN_00738534 | W | 0x007728de, depth 2 | crates/bfh-game/src/abilities/heal_area.rs:1 | scenario bfh_client_browser_seated_widget_sound (no recorded result) (+1 more) | has a scenario, no recorded pass | open |
0x007385c7 world::OverloadItem::OverloadItem | W | 0x007728de, depth 2 | crates/bfh-game/src/abilities/mod.rs:1715 (fn overload) | crates/bfh-game/src/abilities/tests.rs:1113 (fn overload_item_runs_its_duration) | test from the original's code | yes |
0x007386b4 world::VehicleJumpItem::VehicleJumpItem | W | 0x007728de, depth 2 | crates/bf2-server/src/ramming_heroes.rs:112 (const JUMP_AT_SPEED_FIELD) | scenario bfh_ability_jeep_jump (no recorded result) | has a scenario, no recorded pass | open |
0x007386f6 world::VehicleRammingItem::VehicleRammingItem | W | 0x007728de, depth 2 | crates/bfh-game/src/abilities/mod.rs:603 (fn item_kinds) | scenario bfh_ability_jeep_ramming (PASS in run 20261110_024941_h3425_heroes_before) | play with a recorded pass, state asserts | yes |
0x0073875b FUN_0073875b | W | 0x007728de, depth 2 | crates/bfh-game/src/abilities/pocket.rs:10 | scenario bfh_client_browser_seated_widget_sound (no recorded result) | has a scenario, no recorded pass | open |
0x0073882b world::jumpModItem::jumpModItem | W | 0x007728de, depth 2 | by design: world::jumpModItem constructor (StatusItem base 0x00737a77, two fields +0x18 / +0x1c); bfh-game's status items are plain values | not a line | ||
0x0073886f FUN_0073886f | W | 0x007728de, depth 2 | crates/bfh-game/src/abilities/mod.rs:599 (fn item_kinds) | bfh_ability_overload, bfh_client_heal_area | the counter's weaker proof | open |
0x007389a1 world::MarkTargetStatusItem::MarkTargetStatusItem | W | 0x007728de, depth 2 | by design: world::MarkTargetStatusItem constructor (StatusItem base 0x00737a77, nine fields +0x18..+0x38); bfh-game's status items are plain values (abilities/mark.rs) | not a line | ||
0x00738b00 world::SoldierBlinkStatusItem::SoldierBlinkStatusItem | W | 0x007728de, depth 2 | crates/bfh-game/src/abilities/dot.rs:152 (struct Flash) | scenario bfh_client_browser_seated_widget_sound (no recorded result) | has a scenario, no recorded pass | open |
0x00738b97 world::WeaponBlinkStatusItem::WeaponBlinkStatusItem | S | 0x007728de, depth 2 | crates/bfh-client/src/weapon_blink.rs:81 (fn new) | scenario bfh_client_bleed_blink (no recorded result) (+1 more) | has a scenario, no recorded pass | open |
0x0077254d FUN_0077254d | W | 0x007728de, depth 2 | crates/bf2-server/src/abilities_heroes.rs:897 (fn on_enable) | scenario bfh_r0105_bandage_hit_passenger (PASS in run 20261119_122222_h16_r0105_pass_gdesk on b13bdfb) | play with a recorded pass, state asserts | yes |
0x0077283e FUN_0077283e | S | 0x007728de, depth 2 | crates/bfh-client/src/hud.rs:649 (fn enable) | bfh_client_alt_ammo_bar, bfh_client_cdm_lives | the counter's weaker proof | open |
0x0079b5b6 world::AmmoComp::enable | W | 0x007728de, depth 2 | crates/bf2-gameplay/src/weapon/ammo.rs:1224 (fn activate_in) | crates/bf2-gameplay/tests/weapons_record_bfh126.rs:1070 (fn heroes_enable_inserts_for_the_full_magazine_template_and_holds_an_ability_back) | test from the original's code | yes |
0x009f08fe __EH_prolog3_GS | W | 0x007728de, depth 2 | CRT / compiler name (scope_rules.LIBNAME) | not a line | ||
0x009f0981 FUN_009f0981 | W | 0x007728de, depth 2 | engine utility (>= 100 call sites) | not a line | ||
0x00799e7e world::AmmoComp::disable | W | 0x0077228a, depth 2 | crates/bf2-gameplay/src/weapon/ammo.rs:349 (fn heroes_held_on_foot) | scenario bfh_client_throw_hand (PASS in run 20261022_162726_bfheroes) | play with a recorded pass, state asserts | yes |
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 | |
0x00737a77 FUN_00737a77 | W | 0x00737afe, depth 3 | 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 |
0x0041b829 FUN_0041b829 | W | 0x00738165, depth 3 | engine utility (>= 100 call sites) | not a line | ||
0x004b3cf5 FUN_004b3cf5 | W | 0x00738165, depth 3 | engine utility (>= 100 call sites) | not a line | ||
0x00737dbd world::DamageStatusItem::DamageStatusItem | W | 0x00738165, depth 3 | crates/bf2-server/src/abilities_heroes.rs:3258 (fn on_soldier_damage) | scenario bfh_burn (PASS in run 20261111_020119_t1_bfh_burn) (+1 more) | play with a recorded pass, state asserts | yes |
0x00738a01 world::ObjectBlinkStatusItem::ObjectBlinkStatusItem | S | 0x00738b00, depth 3 | crates/bfh-client/src/weapon_blink.rs:81 (fn new) | bfh_client_alt_ammo_bar, bfh_client_boomer_trail | the counter's weaker proof | open |
0x004f34e9 FUN_004f34e9 | W | 0x0077254d, depth 3 | forwarder (<= 40 bytes, one call: default arguments, argument order, a constructor's fill, a deleting destructor) | not a line | ||
0x0050e40f FUN_0050e40f | W | 0x0077254d, depth 3 | crates/bfh-game/src/seat_keys.rs:156 (fn gate_asks_the_seats_soldier) | crates/bfh-game/tests/seat_keys_bfh126.rs:155 (fn the_gate_is_asked_of_the_seats_soldier_only_in_a_seat_that_uses_its_soldier) | test from the original's code | yes |
0x00708076 FUN_00708076 | W | 0x0079b5b6, depth 3 | trivial leaf (<= 40 bytes, no calls: a field accessor / vector op / clamp) | not a line | ||
0x0070aeac FUN_0070aeac | W | 0x0079b5b6, depth 3 | trivial leaf (<= 40 bytes, no calls: a field accessor / vector op / clamp) | not a line | ||
0x0079b215 FUN_0079b215 | W | 0x0079b5b6, depth 3 | crates/bf2-gameplay/src/weapon/ammo.rs:1358 (fn do_reload_heroes) | crates/bf2-gameplay/tests/reload_start_bfh126.rs:1 (fn heroes) | test from the original's code | yes |
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 | ||
0x004f34d6 FUN_004f34d6 | W | 0x004f34e9, depth 4 | trivial leaf (<= 40 bytes, no calls: a field accessor / vector op / clamp) | not a line | ||
0x00428d62 FUN_00428d62 | W | 0x0079b215, depth 4 | engine utility (>= 100 call sites) | not a line | ||
0x004fac36 FUN_004fac36 | W | 0x0079b215, depth 4 | thin wrapper (<= 80 bytes, calls only library code) | not a line | ||
0x006fa237 FUN_006fa237 | W | 0x0079b215, depth 4 | crates/bfh-game/src/abilities/dot.rs:79 (struct DamageRecord) | scenario bfh_client_browser_seated_widget_sound (no recorded result) | has a scenario, no recorded pass | open |
0x009be28e FUN_009be28e | W | 0x0079b215, depth 4 | 1.89 twin 0x00944465 pairs with a 2142 / BF2 function bf2-rs ports (coverage_bfh 'via') | crates/bf2-server/src/rules_assets.rs:2182, crates/bf2-world/src/spawn_manager.rs:2054 | the counter's weaker proof | open |
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 | ||
0x00414b22 FUN_00414b22 | W | 0x006fa237, depth 5 | STL container code, UNREAD: it calls a body that holds a Dinkumware error string and no one has read it (a row of parity_stl_unread.tsv, H7762) | not a line | ||
0x004faa7e FUN_004faa7e | W | 0x009be28e, depth 5 | 1.89 twin 0x0050f813 is library code (coverage_bfh boilerplate) | not a line | ||
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 | ||
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: 117 here, 115 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:
- enemy sitting in a vehicle (what it does): has a scenario, no recorded pass
- enemy sitting in a vehicle (what you see): has a scenario, no recorded pass
- 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): has a scenario, no recorded pass
- in water (swimming) (what you see): has a scenario, no recorded pass
- 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
And 135 lines about the original's code (the first 25):
- a step of the original (world::CamouflageAmmoComp::fireStop): in ours; a scenario names it, with no recorded pass; no test written from the original
- a step of the original (FUN_009bd4bc): played and passed, but no test written from the original and nothing read the screen
- 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::EffectStatusItem): in ours; a scenario names it, with no recorded pass; no test written from the original
- a step of the original (FUN_00738165): in ours; a scenario names it, with no recorded pass; no test written from the original
- a step of the original (FUN_00738410): in ours, but no test written from the original's code holds it
- a step of the original (FUN_00738534): in ours; a scenario names it, with no recorded pass; no test written from the original
- a step of the original (world::VehicleJumpItem::VehicleJumpItem): in ours; a scenario names it, with no recorded pass; no test written from the original
- a step of the original (FUN_0073875b): in ours; a scenario names it, with no recorded pass; no test written from the original
- a step of the original (FUN_0073886f): in ours, but no test written from the original's code holds it
- a step of the original (world::SoldierBlinkStatusItem::SoldierBlinkStatusItem): in ours; a scenario names it, with no recorded pass; no test written from the original
- a step of the original (world::WeaponBlinkStatusItem::WeaponBlinkStatusItem): in ours; a scenario names it, with no recorded pass; no test written from the original
- a step of the original (FUN_0077283e): 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 (FUN_00737a77): in ours; a scenario names it, with no recorded pass; no test written from the original
- a step of the original (world::ObjectBlinkStatusItem::ObjectBlinkStatusItem): in ours, but no test written from the original's code holds it
- a step of the original (FUN_006fa237): in ours; a scenario names it, with no recorded pass; no test written from the original
- a step of the original (FUN_009be28e): in ours, but no test written from the original's code holds it
- an inner call of the original (in 0x007744aa, slot 0xc) is not followed yet: nobody has named what it calls
- an inner call of the original (in 0x007744aa, slot 0x10) is not followed yet: nobody has named what it calls
- an inner call of the original (in 0x007744aa, slot 0x10) is not followed yet: nobody has named what it calls
- an inner call of the original (in 0x007744aa, slot 0x18) is not followed yet: nobody has named what it calls
- an inner call of the original (in 0x007744aa, slot 0x88) is not followed yet: nobody has named what it calls
The other 110 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/ability/stealth.toml (its ticks: the folder notes/bfheroes/features/ability/stealth.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 e7ed773 2026-11-28T11:50:06 |
| 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.