On this page
Mark Target: the feature checklist
Mark Target 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: 20 of 143 lines checked.
Situations: 2 of 17 checked for what the game does, 2 of 17 for what a player sees. The original's code: 16 of 109 checked (34 functions and 75 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#
1 / 1 / 2 / 2 / 3 targets within 400 m, marked for 8 / 9 / 10 / 11 / 12 s (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 | Mark Target |
| kind | ability, Commando |
| in the game's data | MarkTarget_BRI / MarkTarget_GER, levels 1 to 5 (2116 to 2125); MarkTargetStatusItem |
| what it acts on (the ledger's tags) | targets-enemies, affects-mates, client-effect |
| its row in the sweeps | notes/bfheroes/ability_sweep.md, the row Mark Target; notes/bfheroes/abilities_table.md rows C3-L1 to C3-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 |
|---|---|---|
0x00739d40 | the mark item's attach, once at the activation, on the server: the enemies' soldiers and occupied vehicles within 400 m, nearest the view's centre, with a clear line; each marked for the time (Player vt+0x450) | whole |
0x00737048 | the mark item's update (the bare step) | whole |
0x006eacc1 | the client's half-second pass over the marked players of the other team (called by the local player's update 0x006ec374) | whole |
0x006ead61 | the client's outline of a marked player (called by 0x006ec374) | whole |
0x006e6579 | the mark's countdown on a player (called by 0x006ec374) | 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_mark_target (PASS in run 20261127_195603_f15b on a0ff3a5)) | checked: play with a recorded pass, pixels read (scenario bfh_r0105_mark_target (PASS in run 20261127_195603_f15b on a0ff3a5)) | |
| 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_mark_seated (no recorded result)) | open: has a scenario, no recorded pass (scenario bfh_mark_seated (no recorded result)) | a seated hero's mark looks along the seat's camera: played by state |
| enemy sitting in a vehicle | open: not checked | open: not checked | |
| team mate sitting in a vehicle | 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) | checked: play with a recorded pass, pixels read (scenario bfh_r0105_mark_line (PASS in run 20261128_064908_f20pm on e18804d)) | checked: play with a recorded pass, pixels read (scenario bfh_r0105_mark_line (PASS in run 20261128_064908_f20pm on e18804d)) | a team mate stands on the line and is not marked; the enemy behind him is |
| 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 |
Recorded plays#
3 more scenarios the ledger names have no row in the records file: bfh_r0105_mark_line, bfh_r0105_mark_target, bfh_mark_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#
89 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 |
|---|---|---|---|---|---|---|
0x00739d40 world::MarkTargetStatusItem::vslot4 | W | entry, depth 0 | crates/bf2-net/src/netrecord.rs:1729 (fn update) | crates/bf2-server/src/abilities_heroes_mark_view_tests.rs:6 (fn a_passengers_mark_looks_along_his_own_camera), crates/bf2-server/tests/mark_line_heroes.rs:2 (fn a_hero_on_the_line_does_not_stop_a_mark) | test from the original's code | yes |
0x00737048 world::MarkTargetStatusItem::vslot2 | W | entry, depth 0 | not ported | forwarder (<= 40 bytes, one call: default arguments, argument order, a constructor's fill, a deleting destructor) | none | open |
0x006eacc1 FUN_006eacc1 | S | entry, depth 0 | crates/bfh-client/src/outline.rs:80 (fn update) | scenario bfh_ability_sixth_sense (PASS in run 20261127_184124_f15c on 3d20a0a) (+4 more) | play with a recorded pass, pixels read | yes |
0x006ead61 FUN_006ead61 | S | entry, depth 0 | crates/bfh-client/src/outline.rs:81 (fn update) | scenario bfh_r0105_mark_line (PASS in run 20261128_064908_f20pm on e18804d) (+1 more) | play with a recorded pass, pixels read | yes |
0x006e6579 FUN_006e6579 | W | entry, depth 0 | crates/bf2-server/src/abilities_heroes.rs:2303 (fn count_marks_down) | scenario bfh_r0105_mark_target (PASS in run 20261127_195603_f15b on a0ff3a5) | play with a recorded pass, pixels read | yes |
0x004073a5 FUN_004073a5 | W | 0x00739d40, depth 1 | not a line: engine utility (653 call sites, the counter's rule of 100); the counter has no row for it | |||
0x0041b7fd FUN_0041b7fd | W | 0x00739d40, depth 1 | engine utility (>= 100 call sites) | not a line | ||
0x00428d62 FUN_00428d62 | W | 0x00739d40, depth 1 | engine utility (>= 100 call sites) | not a line | ||
0x004821ae FUN_004821ae | W | 0x00739d40, depth 1 | engine utility (>= 100 call sites) | not a line | ||
0x0048eeba FUN_0048eeba | W | 0x00739d40, depth 1 | engine utility (>= 100 call sites) | not a line | ||
0x0049d641 FUN_0049d641 | S | 0x00739d40, 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 | |
0x0049d8df FUN_0049d8df | W | 0x00739d40, depth 1 | trivial leaf (<= 40 bytes, no calls: a field accessor / vector op / clamp) | not a line | ||
0x0049e84f FUN_0049e84f | W | 0x00739d40, 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 | |
0x004a580f FUN_004a580f | W | 0x00739d40, depth 1 | crates/bf2-core/src/fmath.rs:36 (fn normalize3) | bfh_normalize3, gen_bfh_normalize3 | not a line: hub (132 callers): not expanded | |
0x004edc76 FUN_004edc76 | W | 0x00739d40, 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 | |
0x0050e4ff FUN_0050e4ff | W | 0x00739d40, depth 1 | trivial leaf (<= 40 bytes, no calls: a field accessor / vector op / clamp) | not a line | ||
0x0051dd1d FUN_0051dd1d | W | 0x00739d40, depth 1 | 1.89 twin 0x004ee96e pairs with a 2142 / BF2 function bf2-rs ports (coverage_bfh 'via') | crates/bf2-server/tests/rounds_record_bfh126.rs:314 (fn heroes_ten_tuple_builders_make_their_items_in_their_order) | test from the original's code | yes |
0x00736bc8 world::EnemyPredicator::EnemyPredicator | W | 0x00739d40, depth 1 | forwarder (<= 40 bytes, one call: default arguments, argument order, a constructor's fill, a deleting destructor) | not a line | ||
0x00737afe world::EffectStatusItem::EffectStatusItem | W | 0x00739d40, depth 1 | 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 |
0x0073a8f9 ~std::_Tree::op_0073a8f9 | W | 0x00739d40, depth 1 | 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 |
Show all 89 functions (the other 69)
| The original's function | Kind | Reached | Ours | Proof | Its kind | Checked |
|---|---|---|---|---|---|---|
0x0073b316 FUN_0073b316 | W | 0x00739d40, depth 1 | not ported | none | open | |
0x0073b38b FUN_0073b38b | W | 0x00739d40, depth 1 | forwarder (<= 40 bytes, one call: default arguments, argument order, a constructor's fill, a deleting destructor) | not a line | ||
0x0073b8b2 FUN_0073b8b2 | W | 0x00739d40, depth 1 | thin wrapper (<= 80 bytes, calls only library code) | not a line | ||
0x0073ba68 FUN_0073ba68 | W | 0x00739d40, depth 1 | not ported | none | open | |
0x0088f213 FUN_0088f213 | W | 0x00739d40, depth 1 | engine utility (>= 100 call sites) | not a line | ||
0x009bd22c FUN_009bd22c | W | 0x00739d40, depth 1 | engine utility (>= 100 call sites) | not a line | ||
0x009f0895 __EH_prolog3 | W | 0x00739d40, depth 1 | CRT / compiler name (scope_rules.LIBNAME) | not a line | ||
0x009f096d __EH_epilog3 | W | 0x00739d40, depth 1 | CRT / compiler name (scope_rules.LIBNAME) | not a line | ||
0x009f127c MSVCR90.DLL::_CIsqrt | S | 0x00739d40, 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 | |
0x00527c67 world::PlayerManager::vslot16 | W | 0x00739d40 vt+0x40, depth 1 | tiny stub (<= 5 bytes) | not a line | ||
0x00736cdb world::StatusItem::vslot2 | W | 0x00737048, 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 |
0x00528cdd world::PlayerManager::vslot15 | W | 0x006eacc1 vt+0x3c, depth 1 | crates/bf2-world/src/player_sort.rs:136 (fn of_team) | crates/bf2-world/src/player_sort.rs:361 | link line only | open |
0x006fbb5a Player::vslot275 | W | 0x006eacc1 vt+0x44c, depth 1 | trivial leaf (<= 40 bytes, no calls: a field accessor / vector op / clamp) | not a line | ||
0x0045d160 FUN_0045d160 | S | 0x006ead61, depth 1 | 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 | |
0x00527c6f world::PlayerManager::getLocalHumanPlayer | W | 0x006ead61 vt+0x30, depth 1 | tiny stub (<= 5 bytes) | not a line | ||
0x006fbb3c Player::vslot272 | W | 0x006ead61 vt+0x440, depth 1 | trivial leaf (<= 40 bytes, no calls: a field accessor / vector op / clamp) | not a line | ||
0x006fbb6a Player::vslot277 | W | 0x006ead61 vt+0x454, depth 1 | trivial leaf (<= 40 bytes, no calls: a field accessor / vector op / clamp) | not a line | ||
0x006eadfd Player::vslot276 | W | 0x006e6579 vt+0x450, depth 1 | crates/bf2-server/src/abilities_heroes.rs:2036 (fn mark_targets) | crates/bf2-server/tests/status_items_step_heroes.rs:24 (fn a_mark_stores_its_flag_its_marker_and_its_time_and_a_second_mark_replaces_all_three) | test from the original's code | yes |
0x0049da3a FUN_0049da3a | W | 0x0051dd1d, depth 2 | trivial leaf (<= 40 bytes, no calls: a field accessor / vector op / clamp) | not a line | ||
0x0049db1d FUN_0049db1d | W | 0x0051dd1d, depth 2 | NOT PORTED | Not retail (crates/bf2-server/src/pyhost.rs:724) | none | open |
0x006a264e FUN_006a264e | W | 0x0051dd1d, depth 2 | forwarder (<= 40 bytes, one call: default arguments, argument order, a constructor's fill, a deleting destructor) | not a line | ||
0x009c0bc8 world::ObjectFlagPredicator::ObjectFlagPredicator | W | 0x00736bc8, depth 2 | trivial leaf (<= 40 bytes, no calls: a field accessor / vector op / clamp) | not a line | ||
0x00737a77 FUN_00737a77 | W | 0x00737afe, depth 2 | 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 |
0x0073a8ca ~std::_Tree::_Lbound_0073a8ca | W | 0x0073b316, 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 | ||
0x0073aee2 ~std::_Tree::_Buynode_0073aee2 | W | 0x0073b38b, 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 | ||
0x0073b7d2 FUN_0073b7d2 | W | 0x0073ba68, 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 | ||
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 20261110_024941_h3425_heroes_before) | 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:2917 (fn update_soldier_items) | scenario bfh_ability_bandage (PASS in run 20261118_021754_r5_ability_bandage on 4f055a4) (+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 20261110_053325_h3574_b) | 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 |
0x00520922 FUN_00520922 | W | 0x00528cdd, 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 | ||
0x0052a071 FUN_0052a071 | W | 0x00528cdd, depth 2 | not ported | none | open | |
0x0041b829 FUN_0041b829 | W | 0x006eadfd, depth 2 | engine utility (>= 100 call sites) | not a line | ||
0x0053413b FUN_0053413b | W | 0x006eadfd, depth 2 | thin wrapper (<= 80 bytes, calls only library code) | not a line | ||
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 |
0x004b3cf5 FUN_004b3cf5 | W | 0x00737a77, depth 3 | engine utility (>= 100 call sites) | not a line | ||
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 |
0x0045c8f1 FUN_0045c8f1 | W | 0x00737133, depth 3 | 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 | |
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 |
0x00529e16 FUN_00529e16 | W | 0x0052a071, depth 3 | forwarder (<= 40 bytes, one call: default arguments, argument order, a constructor's fill, a deleting destructor) | not a line | ||
0x00529e2b FUN_00529e2b | W | 0x0052a071, depth 3 | thin wrapper (<= 80 bytes, calls only library code) | not a line | ||
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 | ||
0x0045c8ae FUN_0045c8ae | S | 0x0045c8d4, depth 4 | 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 |
0x004073ce ~animationSystem::setCameraSpring.amplitude | W | 0x007377c6, depth 4 | engine utility (>= 100 call sites) | not a line | ||
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 | |
0x0052074f FUN_0052074f | W | 0x00529e16, depth 4 | thin wrapper (<= 80 bytes, calls only library code) | 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 |
0x0045c829 FUN_0045c829 | W | 0x0045c8ae, depth 5 | 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 |
RendDX9.dll@bfh126!0x10158233 FUN_10158233 | S | reads Player+0x681 (vt+0x448), depth 1 | crates/bf2-render/src/bundledmesh.rs:153 | none | open: confirmed: drawing the rim on vehicles and their parts (the bundled mesh's draw): the object's player is asked vt+0x444, vt+0x454 (is he marked) and the colour vt+0x448, and the rim is drawn | |
RendDX9.dll@bfh126!0x101fa41b FUN_101fa41b | S | reads Player+0x681 (vt+0x448), depth 1 | crates/bfh-client/src/outline.rs:155 | scenario bfh_ability_sixth_sense (PASS in run 20261127_184124_f15c on 3d20a0a) (+2 more) | play with a recorded pass, pixels read | yes: confirmed: drawing the rim on a soldier's body (the skinned mesh's draw): the object's player is asked vt+0x444 and the colour vt+0x448, and the rim is drawn |
0x006eafa2 FUN_006eafa2 | S | also writes Player+0x680 (vt+0x440), depth 1 | crates/bf2-client/app/src/client/heroes_outline.rs:218 (fn heroes_outline_frame) | crates/bfh-client/src/outline.rs:226 (fn every_players_place_is_his_soldiers_and_the_local_players_own_ability_asks_none) | not a line: 6th Sense's own step, the other writer of the outlined flag: it has its own ledger (ability/sixth_sense.toml) | |
0x006f3a63 FUN_006f3a63 | S | also writes Player+0x680 (vt+0x440), depth 1 | crates/bf2-client/src/radio.rs:770 (fn radio_message_heroes) | crates/bfh-server/tests/in_game_event.rs:2 (fn first_strike_reaches_stats_on_in_game_event) | not a line: not a Player: its +0x440 call is through the global DAT_013bd0c4 (the HUD's object), another class with a slot at the same offset | |
RendDX9.dll@bfh126!0x1005458f FUN_1005458f | S | reads Player+0x680 (vt+0x444), depth 1 | crates/bf2-client/src/spawn_screen.rs:201 | none | open: confirmed: the drawing's frame pass (is any player outlined at all): it walks the player list and sets the renderer's own switch when ANY player is outlined | |
0x006f47e4 FUN_006f47e4 | S | touches Player+0x680 directly (a undefined1 at +0x680), depth 1 | crates/bf2-client/app/src/client/help.rs:600 (fn help_players) | bfh_ability_overload, bfh_alt_fire_ammo_pool | not a line: the Player's constructor: it sets the flag to 0 once, when the player object is made (*(undefined1 *)(param_1 + 0x1a0) = 0, param_1 a pointer to 4-byte cells); nothing else of it is this feature's |
Inner calls#
A call through a virtual table has no line in the call graph; the ledger lists every one it met: 86 here, 75 of them open lines (nobody has named what they call, or what they call is not checked).
What a person settled#
The ledger's tool finds candidates by rule; a person confirms or dismisses each, with the reason read from the original's text. These are the ledger's own words.
| What | Address | The reason, in the ledger's words |
|---|---|---|
| confirmed: part of the feature | RendDX9.dll@bfh126!0x1005458f | the drawing's frame pass (is any player outlined at all): it walks the player list and sets the renderer's own switch when ANY player is outlined |
| confirmed: part of the feature | RendDX9.dll@bfh126!0x10158233 | drawing the rim on vehicles and their parts (the bundled mesh's draw): the object's player is asked vt+0x444, vt+0x454 (is he marked) and the colour vt+0x448, and the rim is drawn |
| confirmed: part of the feature | RendDX9.dll@bfh126!0x101fa41b | drawing the rim on a soldier's body (the skinned mesh's draw): the object's player is asked vt+0x444 and the colour vt+0x448, and the rim is drawn |
| dismissed: not the feature's | 0x006eafa2 | 6th Sense's own step, the other writer of the outlined flag: it has its own ledger (ability/sixth_sense.toml) |
| dismissed: not the feature's | 0x006f3a63 | not a Player: its +0x440 call is through the global DAT_013bd0c4 (the HUD's object), another class with a slot at the same offset |
| dismissed: not the feature's | 0x006f47e4 | the Player's constructor: it sets the flag to 0 once, when the player object is made (*(undefined1 *)(param_1 + 0x1a0) = 0, param_1 a pointer to 4-byte cells); nothing else of it is this feature's |
| an inner call named | 0x006ead61 | the list walked is the other team's players (the player manager's +0x3c) |
| an inner call named | 0x006ead61 | the same Player: +0x454 is the one-byte getter 0x006fbb6a (is he marked) whose answer is handed to +0x440 |
| an inner call named | 0x006eacc1 | the list walked is the other team's players; +0x44c is the setter 0x006fbb5a |
| an inner call named | 0x006e6579 | 0x006ec374 calls it with its own Player; +0x450 is 0x006eadfd, the mark's setter (the time) |
What is open#
In a player's words, as the ledger writes them:
- 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
- enemy sitting in a vehicle (what it does): not checked
- enemy sitting in a vehicle (what you see): not checked
- team mate sitting in a vehicle (what it does): not checked
- team mate sitting in a vehicle (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
- 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
And 93 lines about the original's code (the first 25):
- a step of the original (world::MarkTargetStatusItem::vslot2): in ours, but no test written from the original's code holds 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_0073b316): this part of the original is in no count of ours: nobody has placed it
- a step of the original (FUN_0073ba68): this part of the original is in no count of ours: nobody has placed it
- a step of the original (world::PlayerManager::vslot15): 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 (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::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_0052a071): this part of the original is in no count of ours: nobody has placed 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 (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_006a15c9): in ours, but no test written from the original's code holds it
- a step of the original (MSVCR90.DLL::_CIcos): in ours, but no test written from the original's code holds it
- a step of the original (FUN_006a1532): in ours, but no test written from the original's code holds it
- drawing the rim on vehicles and their parts (the bundled mesh's draw): ours has it, but no test written from the original and no recorded play that read the screen
- the drawing's frame pass (is any player outlined at all): ours has it, but no test written from the original and no recorded play that read the screen
- an inner call of the original (in 0x00739d40, slot 0xc) is not followed yet: nobody has named what it calls
- an inner call of the original (in 0x00739d40, slot 0x10) is not followed yet: nobody has named what it calls
- an inner call of the original (in 0x00739d40, slot 0x10) is not followed yet: nobody has named what it calls
- an inner call of the original (in 0x00739d40, slot 0x10) is not followed yet: nobody has named what it calls
- an inner call of the original (in 0x00739d40, slot 0x14) is not followed yet: nobody has named what it calls
- an inner call of the original (in 0x00739d40, slot 0x40) is not followed yet: nobody has named what it calls
- an inner call of the original (in 0x00739d40, slot 0x4c) is not followed yet: nobody has named what it calls
The other 68 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/mark_target.toml (its ticks: the folder notes/bfheroes/features/ability/mark_target.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.