On this page
Key bindings (options, controls): the feature checklist
Key bindings (options, controls) is a Battlefield Heroes screen. 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: 33 of 119 lines checked.
Situations: 12 of 26 checked for what the game does, 12 of 26 for what a player sees. The original's code: 9 of 67 checked (31 functions and 36 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 19:18.
The ledger names the owner's open report on this feature: R-0115.
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#
The ledger holds no sentence of what the feature does for a player, and no row of the wiki's abilities and widgets tables carries this feature's name.
| the name a player knows | Key bindings (options, controls) |
| kind | screen |
| in the game's data | mainMenu sprite 552 Controls (tabs on foot, land vehicle, aircraft, general); Settings/Controls.con; @HOME@/Controls.con |
| what it acts on (the ledger's tags) | keybinds |
| the owner's report | R-0115 |
| its row in the sweeps | notes/bfheroes/client.md, Key bindings whole: the binding path (R-0115, slot cam1) |
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 |
|---|---|---|
0x004e0bde | ControlSettings vt+0x30, the page's catch (mapInput): the edited map, the request, the manager's binding of the next input | whole |
0x00871db2 | ControlMapManager::mapNextInput: the ten seconds' poll, the conflict lists, the binding call by what was detected | whole |
0x0085fa4a | the map's key-and-button source of an axis (behind its slots +0x28 and +0x2c): a key caught for one side of an axis is merged into the source, kind 5 | whole |
0x004e13f2 | ControlSettings vt+0x48, the name a catcher shows for a binding (kind 5: each side by its own device) | whole |
0x0085e9c3 | ControlMap::save: the map's lines of @HOME@/Controls.con (kind 5: the keys' line, the key-and-button line or the button-and-key line) | whole |
0x004d6744 | the controls' load at the game's start: @HOME@/Controls.con over the start-up maps | whole |
0x0084fbe7 | InputManager::setPlayerControlMap: the seat's map made the player's (a pilot reads the air map) | 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, looked at by a person (scenario bfh_menu_controls_foot_land_keys (PASS in run 20261128_181533_cam1_r4_fl2 on 9528bf0) [looked: cam1: a/menu_37 the land vehicle tab reads N8 N2 N4 N6. ft/watchf_0750 after W the hero stands, ft/watchf_0950 after I he has walked to the shed. drv/watchf_0750 after W the jeep stands, drv/watchf_0950 after Numpad 8 it has driven past the house]) | checked: play with a recorded pass, looked at by a person (scenario bfh_menu_controls_foot_land_keys (PASS in run 20261128_181533_cam1_r4_fl2 on 9528bf0) [looked: cam1: a/menu_37 the land vehicle tab reads N8 N2 N4 N6. ft/watchf_0750 after W the hero stands, ft/watchf_0950 after I he has walked to the shed. drv/watchf_0750 after W the jeep stands, drv/watchf_0950 after Numpad 8 it has driven past the house]) | |
| used at the wheel of a vehicle | checked: play with a recorded pass, looked at by a person (scenario bfh_menu_controls_foot_land_keys (PASS in run 20261128_181533_cam1_r4_fl2 on 9528bf0) [looked: cam1: a/menu_37 the land vehicle tab reads N8 N2 N4 N6. ft/watchf_0750 after W the hero stands, ft/watchf_0950 after I he has walked to the shed. drv/watchf_0750 after W the jeep stands, drv/watchf_0950 after Numpad 8 it has driven past the house]) | checked: play with a recorded pass, looked at by a person (scenario bfh_menu_controls_foot_land_keys (PASS in run 20261128_181533_cam1_r4_fl2 on 9528bf0) [looked: cam1: a/menu_37 the land vehicle tab reads N8 N2 N4 N6. ft/watchf_0750 after W the hero stands, ft/watchf_0950 after I he has walked to the shed. drv/watchf_0750 after W the jeep stands, drv/watchf_0950 after Numpad 8 it has driven past the house]) | |
| used from a passenger's or a gunner's seat | open: not checked | open: not checked | |
| the user dies while it runs | open: not checked | open: not checked | |
| after the user respawns | open: not checked | open: not checked | |
| the round ends while it runs, and the next round starts clean | open: not checked | open: not checked | |
| the map changes while it runs | open: not checked | open: not checked | |
| a player who joins while it runs sees it | open: not checked | open: not checked | |
| watching a team mate who uses it (after dying, or as a spectator) | open: not checked | open: not checked | |
| team mates against enemies (who gets it and who does not) | open: not checked | open: not checked | |
| in water (swimming) | open: not checked | open: not checked | |
| on a ladder | open: not checked | open: not checked | |
| while another effect runs on the same hero | open: not checked | open: not checked | |
| a new key for a plane's pitch | checked: play with a recorded pass, looked at by a person (scenario bfh_menu_controls_air_keys (PASS in run 20261128_180843_cam1_r4_air3 on 9528bf0) [looked: cam1: a/menu_37 the aircraft tab's eight catchers read I K J L N8 N2 N4 N6. pil/watchf_0750 after the old key W the Spitfire stands with a still propeller. pil/watchf_1150 after I the propeller is a blur and the plane has rolled forward. The plane stays on the ground, pitch roll and steer in the air were not looked at]) | checked: play with a recorded pass, looked at by a person (scenario bfh_menu_controls_air_keys (PASS in run 20261128_180843_cam1_r4_air3 on 9528bf0) [looked: cam1: a/menu_37 the aircraft tab's eight catchers read I K J L N8 N2 N4 N6. pil/watchf_0750 after the old key W the Spitfire stands with a still propeller. pil/watchf_1150 after I the propeller is a blur and the plane has rolled forward. The plane stays on the ground, pitch roll and steer in the air were not looked at]) | |
| a new key for a plane's roll | checked: play with a recorded pass, looked at by a person (scenario bfh_menu_controls_air_keys (PASS in run 20261128_180843_cam1_r4_air3 on 9528bf0) [looked: cam1: a/menu_37 the aircraft tab's eight catchers read I K J L N8 N2 N4 N6. pil/watchf_0750 after the old key W the Spitfire stands with a still propeller. pil/watchf_1150 after I the propeller is a blur and the plane has rolled forward. The plane stays on the ground, pitch roll and steer in the air were not looked at]) | checked: play with a recorded pass, looked at by a person (scenario bfh_menu_controls_air_keys (PASS in run 20261128_180843_cam1_r4_air3 on 9528bf0) [looked: cam1: a/menu_37 the aircraft tab's eight catchers read I K J L N8 N2 N4 N6. pil/watchf_0750 after the old key W the Spitfire stands with a still propeller. pil/watchf_1150 after I the propeller is a blur and the plane has rolled forward. The plane stays on the ground, pitch roll and steer in the air were not looked at]) | |
| a new key for a plane's steering left and right | checked: play with a recorded pass, looked at by a person (scenario bfh_menu_controls_air_keys (PASS in run 20261128_180843_cam1_r4_air3 on 9528bf0) [looked: cam1: a/menu_37 the aircraft tab's eight catchers read I K J L N8 N2 N4 N6. pil/watchf_0750 after the old key W the Spitfire stands with a still propeller. pil/watchf_1150 after I the propeller is a blur and the plane has rolled forward. The plane stays on the ground, pitch roll and steer in the air were not looked at]) | checked: play with a recorded pass, looked at by a person (scenario bfh_menu_controls_air_keys (PASS in run 20261128_180843_cam1_r4_air3 on 9528bf0) [looked: cam1: a/menu_37 the aircraft tab's eight catchers read I K J L N8 N2 N4 N6. pil/watchf_0750 after the old key W the Spitfire stands with a still propeller. pil/watchf_1150 after I the propeller is a blur and the plane has rolled forward. The plane stays on the ground, pitch roll and steer in the air were not looked at]) | |
| a new key for a plane's accelerate and decelerate | checked: play with a recorded pass, looked at by a person (scenario bfh_menu_controls_air_keys (PASS in run 20261128_180843_cam1_r4_air3 on 9528bf0) [looked: cam1: a/menu_37 the aircraft tab's eight catchers read I K J L N8 N2 N4 N6. pil/watchf_0750 after the old key W the Spitfire stands with a still propeller. pil/watchf_1150 after I the propeller is a blur and the plane has rolled forward. The plane stays on the ground, pitch roll and steer in the air were not looked at]) | checked: play with a recorded pass, looked at by a person (scenario bfh_menu_controls_air_keys (PASS in run 20261128_180843_cam1_r4_air3 on 9528bf0) [looked: cam1: a/menu_37 the aircraft tab's eight catchers read I K J L N8 N2 N4 N6. pil/watchf_0750 after the old key W the Spitfire stands with a still propeller. pil/watchf_1150 after I the propeller is a blur and the plane has rolled forward. The plane stays on the ground, pitch roll and steer in the air were not looked at]) | |
| a new key for a helicopter's controls | open: not checked | open: not checked | |
| a new key for a land vehicle's controls | checked: play with a recorded pass, looked at by a person (scenario bfh_menu_controls_foot_land_keys (PASS in run 20261128_181533_cam1_r4_fl2 on 9528bf0) [looked: cam1: a/menu_37 the land vehicle tab reads N8 N2 N4 N6. ft/watchf_0750 after W the hero stands, ft/watchf_0950 after I he has walked to the shed. drv/watchf_0750 after W the jeep stands, drv/watchf_0950 after Numpad 8 it has driven past the house]) | checked: play with a recorded pass, looked at by a person (scenario bfh_menu_controls_foot_land_keys (PASS in run 20261128_181533_cam1_r4_fl2 on 9528bf0) [looked: cam1: a/menu_37 the land vehicle tab reads N8 N2 N4 N6. ft/watchf_0750 after W the hero stands, ft/watchf_0950 after I he has walked to the shed. drv/watchf_0750 after W the jeep stands, drv/watchf_0950 after Numpad 8 it has driven past the house]) | |
| a new key for a boat's controls | open: not checked | open: not checked | |
| a new key for the hero's own movement on foot | checked: play with a recorded pass, looked at by a person (scenario bfh_menu_controls_foot_land_keys (PASS in run 20261128_181533_cam1_r4_fl2 on 9528bf0) [looked: cam1: a/menu_37 the land vehicle tab reads N8 N2 N4 N6. ft/watchf_0750 after W the hero stands, ft/watchf_0950 after I he has walked to the shed. drv/watchf_0750 after W the jeep stands, drv/watchf_0950 after Numpad 8 it has driven past the house]) | checked: play with a recorded pass, looked at by a person (scenario bfh_menu_controls_foot_land_keys (PASS in run 20261128_181533_cam1_r4_fl2 on 9528bf0) [looked: cam1: a/menu_37 the land vehicle tab reads N8 N2 N4 N6. ft/watchf_0750 after W the hero stands, ft/watchf_0950 after I he has walked to the shed. drv/watchf_0750 after W the jeep stands, drv/watchf_0950 after Numpad 8 it has driven past the house]) | |
| the new keys are still there after the game is started again | checked: play with a recorded pass, looked at by a person (scenario bfh_menu_controls_air_keys (PASS in run 20261128_180843_cam1_r4_air3 on 9528bf0) [looked: cam1: a/menu_37 the aircraft tab's eight catchers read I K J L N8 N2 N4 N6. pil/watchf_0750 after the old key W the Spitfire stands with a still propeller. pil/watchf_1150 after I the propeller is a blur and the plane has rolled forward. The plane stays on the ground, pitch roll and steer in the air were not looked at]) | checked: play with a recorded pass, looked at by a person (scenario bfh_menu_controls_air_keys (PASS in run 20261128_180843_cam1_r4_air3 on 9528bf0) [looked: cam1: a/menu_37 the aircraft tab's eight catchers read I K J L N8 N2 N4 N6. pil/watchf_0750 after the old key W the Spitfire stands with a still propeller. pil/watchf_1150 after I the propeller is a blur and the plane has rolled forward. The plane stays on the ground, pitch roll and steer in the air were not looked at]) | |
| in the browser the new keys are still there after the page is loaded again | open: not checked | open: not checked | |
| the reset button puts the default keys back | checked: play with a recorded pass, looked at by a person (scenario bfh_menu_controls_reset_keys (PASS in run 20261128_182050_cam1_r4_reset1 on 9528bf0) [looked: cam1: a/menu_28 after the reset's yes the aircraft tab reads W S A D -M1 M1 -M0 M0 again]) | checked: play with a recorded pass, looked at by a person (scenario bfh_menu_controls_reset_keys (PASS in run 20261128_182050_cam1_r4_reset1 on 9528bf0) [looked: cam1: a/menu_28 after the reset's yes the aircraft tab reads W S A D -M1 M1 -M0 M0 again]) | |
| one key caught for two actions | checked: play with a recorded pass, looked at by a person (scenario bfh_menu_controls_duplicate_key (PASS in run 20261128_181824_cam1_r4_dup1 on 9528bf0) [looked: cam1: a/menu_16 the already assigned pop-up names Aircraft Accelerate, On foot Forward, Land vehicle Accelerate. a/menu_19 after the yes pitch forward reads W, accelerate and pitch backward are empty]) | checked: play with a recorded pass, looked at by a person (scenario bfh_menu_controls_duplicate_key (PASS in run 20261128_181824_cam1_r4_dup1 on 9528bf0) [looked: cam1: a/menu_16 the already assigned pop-up names Aircraft Accelerate, On foot Forward, Land vehicle Accelerate. a/menu_19 after the yes pitch forward reads W, accelerate and pitch backward are empty]) | |
| an axis moved from the mouse to keys, flight by keyboard | checked: play with a recorded pass, looked at by a person (scenario bfh_menu_controls_air_keys (PASS in run 20261128_180843_cam1_r4_air3 on 9528bf0) [looked: cam1: a/menu_37 the aircraft tab's eight catchers read I K J L N8 N2 N4 N6. pil/watchf_0750 after the old key W the Spitfire stands with a still propeller. pil/watchf_1150 after I the propeller is a blur and the plane has rolled forward. The plane stays on the ground, pitch roll and steer in the air were not looked at]) | checked: play with a recorded pass, looked at by a person (scenario bfh_menu_controls_air_keys (PASS in run 20261128_180843_cam1_r4_air3 on 9528bf0) [looked: cam1: a/menu_37 the aircraft tab's eight catchers read I K J L N8 N2 N4 N6. pil/watchf_0750 after the old key W the Spitfire stands with a still propeller. pil/watchf_1150 after I the propeller is a blur and the plane has rolled forward. The plane stays on the ground, pitch roll and steer in the air were not looked at]) |
Recorded plays#
| Scenario | Last result | Run | Mode | Date | Commit | Last pass |
|---|---|---|---|---|---|---|
bfh_menu_controls_reset_keys | PASS | 20261128_182050_cam1_r4_reset1 | desktop | 2026-11-28 18:20 | 9528bf0 | 2026-11-28 18:20 at 9528bf0 |
bfh_menu_controls_air_keys | PASS | 20261128_180843_cam1_r4_air3 | desktop | 2026-11-28 18:08 | 9528bf0 | 2026-11-28 18:08 at 9528bf0 |
bfh_menu_controls_foot_land_keys | PASS | 20261128_181533_cam1_r4_fl2 | desktop | 2026-11-28 18:15 | 9528bf0 | 2026-11-28 18:15 at 9528bf0 |
bfh_menu_controls_air_fly | PASS | 20261128_191316_cam1_r5_fly2 | desktop | 2026-11-28 19:13 | fd563ac | 2026-11-28 19:13 at fd563ac |
bfh_menu_controls_duplicate_key | PASS | 20261128_181824_cam1_r4_dup1 | desktop | 2026-11-28 18:18 | 9528bf0 | 2026-11-28 18:18 at 9528bf0 |
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#
56 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 |
|---|---|---|---|---|---|---|
0x004e0bde ControlSettings::vslot12 | S | entry, depth 0 | crates/bf2-ui/src/natives4.rs:1118 (fn map_input_bfh) | bfh_client_activate_reason_twice, bfh_client_eor_dialog | the counter's weaker proof | open |
0x00871db2 io::ControlMapManager::mapNextInput | W | entry, depth 0 | 1.89 twin 0x00859c74 pairs with a 2142 / BF2 function bf2-rs ports (coverage_bfh 'via') | crates/bf2-input/tests/map_next_input_bfh126.rs:1 | test from the original's code | yes |
0x0085fa4a FUN_0085fa4a | W | entry, depth 0 | crates/bf2-input/src/control_map.rs:996 (fn heroes_key_and_button_primary) | crates/bf2-input/tests/axis_key_saved_bfh126.rs:5 | test from the original's code | yes |
0x004e13f2 ControlSettings::vslot18 | W | entry, depth 0 | crates/bf2-input/src/settings.rs:1116 (fn binding_display_name) | crates/bf2-input/tests/axis_key_saved_bfh126.rs:13 (fn heroes) | test from the original's code | yes |
0x0085e9c3 io::ControlMap::save | W | entry, depth 0 | crates/bf2-input/src/writer.rs:14 | crates/bf2-input/tests/axis_key_saved_bfh126.rs:9 (fn heroes) | test from the original's code | yes |
0x004d6744 FUN_004d6744 | S | entry, depth 0 | crates/bf2-client/src/profiles.rs:215 (fn heroes_profile_controls) | crates/bf2-input/tests/axis_key_saved_bfh126.rs:80 (fn start) | test from the original's code | yes |
0x0084fbe7 io::InputManager::setPlayerControlMap | W | entry, depth 0 | crates/bf2-input/src/input.rs:310 (fn set_player_map) | crates/bf2-input/tests/pipeline.rs:74, crates/bf2-input/tests/pipeline.rs:103 | link line only | open |
0x007704a4 FUN_007704a4 | W | 0x00871db2, depth 1 | not ported | none | open | |
0x008387e7 ~std::_Tree::op_008387e7 | W | 0x00871db2, 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 | ||
0x008717d1 FUN_008717d1 | W | 0x00871db2, depth 1 | crates/bf2-input/src/manager.rs:75 (fn new) | crates/bf2-input/src/manager.rs:395 (fn heroes_pending_bind_constructor_puts_each_argument_in_its_field) | test from the original's code | yes |
0x00871b54 FUN_00871b54 | W | 0x00871db2, depth 1 | crates/bf2-input/src/settings.rs:93 (fn may_share_heroes) | crates/bf2-input/tests/bind_helpers_bfh126.rs:11 (fn heroes) | test from the original's code | yes |
0x00872a82 ~std::_Tree::op_00872a82 | W | 0x00871db2, 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 | ||
0x00873556 FUN_00873556 | W | 0x00871db2, depth 1 | not ported | none | open | |
0x0087358e FUN_0087358e | W | 0x00871db2, depth 1 | library (destructor): the binding list mapNextInput gets from the control map's find_bindings (vt+0xb8): an int vector and two bit vectors (0x0047c102 / 0x00464319); its constructor is 0x00873556; Rust drops the Vec of bf2-input ControlMap::find_bindings | not a line | ||
0x008735dc FUN_008735dc | W | 0x00871db2, depth 1 | not ported | none | open | |
0x009f0895 __EH_prolog3 | W | 0x00871db2, depth 1 | CRT / compiler name (scope_rules.LIBNAME) | not a line | ||
0x009f096d __EH_epilog3 | W | 0x00871db2, depth 1 | CRT / compiler name (scope_rules.LIBNAME) | not a line | ||
0x00871bd5 io::ControlMapManager::getControlMap_vslot7 | W | 0x00871db2 vt+0x1c, depth 1 | 1.89 twin 0x00859a97 pairs with a 2142 / BF2 function bf2-rs ports (coverage_bfh 'via') | crates/bf2-input/src/manager.rs:340 | the counter's weaker proof | open |
0x00871afb io::ControlMapManager::getRepeatRate | W | 0x00871db2 vt+0x4c, depth 1 | crates/bf2-input/src/ids.rs:468 (fn default_trigger_mode) | crates/bf2-input/src/ids.rs:833 (fn heroes_player_push_and_hold), crates/bf2-input/src/ids.rs:861 (fn heroes_game_push_and_hold) | test from the original's code | yes |
0x0041b7fd FUN_0041b7fd | W | 0x0085fa4a, depth 1 | engine utility (>= 100 call sites) | not a line |
Show all 56 functions (the other 36)
| The original's function | Kind | Reached | Ours | Proof | Its kind | Checked |
|---|---|---|---|---|---|---|
0x0085e46b FUN_0085e46b | W | 0x0085fa4a, depth 1 | forwarder (<= 40 bytes, one call: default arguments, argument order, a constructor's fill, a deleting destructor) | not a line | ||
0x00861b1b FUN_00861b1b | W | 0x0085fa4a, depth 1 | not ported | none | open | |
0x008623f0 FUN_008623f0 | W | 0x0085fa4a, depth 1 | not ported | none | open | |
0x00403601 FUN_00403601 | W | 0x004e13f2, depth 1 | not ported | none | open | |
0x00498b4b FUN_00498b4b | W | 0x004e13f2, depth 1 | not ported | none | open | |
0x004e18ab FUN_004e18ab | W | 0x004e13f2, depth 1 | not ported | none | open | |
0x00864291 FUN_00864291 | W | 0x004e13f2, depth 1 | 1.89 twin 0x0084c43e pairs with a 2142 / BF2 function bf2-rs ports (coverage_bfh 'via') | crates/bf2-input/tests/tables.rs:60 | the counter's weaker proof | open |
0x00864368 FUN_00864368 | W | 0x004e13f2, depth 1 | 1.89 twin 0x0084c511 pairs with a 2142 / BF2 function bf2-rs ports (coverage_bfh 'via') | crates/bf2-input/tests/tables.rs:60 | the counter's weaker proof | open |
0x0086459d FUN_0086459d | W | 0x004e13f2, depth 1 | crates/bf2-input/src/device.rs:158 (fn key_name) | crates/bf2-input/src/device.rs:371, crates/bf2-input/tests/tables.rs:36 | link line only | open |
0x00860a48 ~std::_Tree::op_00860a48 | W | 0x0085e9c3, 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 | ||
0x00860a7a ~std::_Tree::op_00860a7a | W | 0x0085e9c3, 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 | ||
0x008641e2 FUN_008641e2 | W | 0x0085e9c3, depth 1 | 1.89 twin 0x0084c393 pairs with a 2142 / BF2 function bf2-rs ports (coverage_bfh 'via') | none | open | |
0x0086b8d2 FUN_0086b8d2 | W | 0x0085e9c3, depth 1 | 1.89 twin 0x00853876 pairs with a 2142 / BF2 function bf2-rs ports (coverage_bfh 'via') | crates/bf2-objects/tests/template_2142.rs:285 | the counter's weaker proof | open |
0x00885636 FUN_00885636 | W | 0x0085e9c3, depth 1 | crates/bf2-input/src/writer.rs:82 (fn input_name) | crates/bf2-input/tests/heroes_controls.rs:24 (fn heroes_126_controls_heroes_only_inputs) | test from the original's code | yes |
0x00862718 io::ControlMap::getName | W | 0x0085e9c3 vt+0x14, depth 1 | tiny stub (<= 5 bytes) | not a line | ||
0x009f08fe __EH_prolog3_GS | W | 0x004d6744, depth 1 | CRT / compiler name (scope_rules.LIBNAME) | not a line | ||
0x009f0981 FUN_009f0981 | W | 0x004d6744, depth 1 | engine utility (>= 100 call sites) | not a line | ||
0x00770295 FUN_00770295 | W | 0x007704a4, depth 2 | not ported | none | open | |
0x00464106 FUN_00464106 | W | 0x00873556, depth 2 | 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 | ||
0x007d97d8 FUN_007d97d8 | W | 0x00873556, depth 2 | thin wrapper (<= 80 bytes, calls only library code) | not a line | ||
0x00697e9b FUN_00697e9b | W | 0x008735dc, depth 2 | 1.89 twin 0x006669f8 pairs with a 2142 / BF2 function bf2-rs ports (coverage_bfh 'via') | crates/bf2-client/src/weapons.rs:10615, crates/bf2-client/src/weapons.rs:10754 | the counter's weaker proof | open |
0x0077096a FUN_0077096a | W | 0x008735dc, depth 2 | 1.89 twin 0x0072caaf is library code (coverage_bfh boilerplate) | not a line | ||
0x008730eb FUN_008730eb | W | 0x00871bd5, depth 2 | out of scope: 1.89 twin 0x0085af08 (coverage_bfh out_of_scope) | not a line | ||
0x0085e091 FUN_0085e091 | W | 0x0085e46b, depth 2 | crates/bf2-input/src/control_map.rs:399 (fn add_buttons_to_axis) | crates/bf2-input/src/settings.rs:1423, crates/bf2-input/src/writer.rs:299 | link line only | open |
0x004988ac ~std::_Tree::_Lbound_004988ac | W | 0x00861b1b, 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 | ||
0x008621f7 FUN_008621f7 | W | 0x008623f0, 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 | ||
0x00403552 FUN_00403552 | W | 0x00403601, depth 2 | 1.89 twin 0x004034c1 is library code (coverage_bfh boilerplate) | not a line | ||
0x004035bb FUN_004035bb | W | 0x00403601, depth 2 | not ported | none | open | |
0x009f08c8 __EH_prolog3_catch | W | 0x00403601, depth 2 | CRT / compiler name (scope_rules.LIBNAME) | not a line | ||
0x004e1869 ~std::_Tree::_Lbound_004e1869 | W | 0x004e18ab, 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 | ||
0x007700c3 FUN_007700c3 | W | 0x00770295, depth 3 | not ported | none | open | |
0x00468535 FUN_00468535 | W | 0x00697e9b, depth 3 | 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 | ||
0x00489f0d FUN_00489f0d | W | 0x00697e9b, depth 3 | not ported | none | open | |
0x004034d0 FUN_004034d0 | W | 0x004035bb, depth 3 | trivial leaf (<= 40 bytes, no calls: a field accessor / vector op / clamp) | not a line | ||
0x004895b1 FUN_004895b1 | W | 0x00489f0d, depth 4 | forwarder (<= 40 bytes, one call: default arguments, argument order, a constructor's fill, a deleting destructor) | not a line | ||
0x004880fb ~std::vector::op_004880fb | W | 0x004895b1, depth 5 | small helper: STL vector op (branches on (last - first) >> n, the element count: push_back / erase / copy) (< 64 bytes) | 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: 39 here, 36 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.
- The S lines (what you see): the controls page shows each binding's key in its catcher: what the player reads there is part of the feature
What is open#
In a player's words, as the ledger writes them:
- used from a passenger's or a gunner's seat (what it does): not checked
- used from a passenger's or a gunner's seat (what you see): not checked
- the user dies while it runs (what it does): not checked
- the user dies while it runs (what you see): not checked
- after the user respawns (what it does): not checked
- after the user respawns (what you see): not checked
- the round ends while it runs, and the next round starts clean (what it does): not checked
- the round ends while it runs, and the next round starts clean (what you see): not checked
- the map changes while it runs (what it does): not checked
- the map changes while it runs (what you see): not checked
- a player who joins while it runs sees it (what it does): not checked
- a player who joins while it runs sees it (what you see): not checked
- watching a team mate who uses it (after dying, or as a spectator) (what it does): not checked
- watching a team mate who uses it (after dying, or as a spectator) (what you see): not checked
- team mates against enemies (who gets it and who does not) (what it does): not checked
- team mates against enemies (who gets it and who does not) (what you see): not checked
- in water (swimming) (what it does): not checked
- in water (swimming) (what you see): not checked
- on a ladder (what it does): not checked
- on a ladder (what you see): not checked
- while another effect runs on the same hero (what it does): not checked
- while another effect runs on the same hero (what you see): not checked
- a new key for a helicopter's controls (what it does): not checked
- a new key for a helicopter's controls (what you see): not checked
- a new key for a boat's controls (what it does): not checked
- a new key for a boat's controls (what you see): not checked
- in the browser the new keys are still there after the page is loaded again (what it does): not checked
- in the browser the new keys are still there after the page is loaded again (what you see): not checked
And 58 lines about the original's code (the first 25):
- a step of the original (ControlSettings::vslot12): in ours, but no test written from the original's code holds it
- a step of the original (io::InputManager::setPlayerControlMap): in ours, but no test written from the original's code holds it
- a step of the original (FUN_007704a4): this part of the original is in no count of ours: nobody has placed it
- a step of the original (FUN_00873556): this part of the original is in no count of ours: nobody has placed it
- a step of the original (FUN_008735dc): this part of the original is in no count of ours: nobody has placed it
- a step of the original (io::ControlMapManager::getControlMap_vslot7): in ours, but no test written from the original's code holds it
- a step of the original (FUN_00861b1b): this part of the original is in no count of ours: nobody has placed it
- a step of the original (FUN_008623f0): this part of the original is in no count of ours: nobody has placed it
- a step of the original (FUN_00403601): this part of the original is in no count of ours: nobody has placed it
- a step of the original (FUN_00498b4b): this part of the original is in no count of ours: nobody has placed it
- a step of the original (FUN_004e18ab): this part of the original is in no count of ours: nobody has placed it
- a step of the original (FUN_00864291): in ours, but no test written from the original's code holds it
- a step of the original (FUN_00864368): in ours, but no test written from the original's code holds it
- a step of the original (FUN_0086459d): in ours, but no test written from the original's code holds it
- a step of the original (FUN_008641e2): in ours, but no test written from the original's code holds it
- a step of the original (FUN_0086b8d2): in ours, but no test written from the original's code holds it
- a step of the original (FUN_00770295): this part of the original is in no count of ours: nobody has placed it
- a step of the original (FUN_00697e9b): in ours, but no test written from the original's code holds it
- a step of the original (FUN_0085e091): in ours, but no test written from the original's code holds it
- a step of the original (FUN_004035bb): this part of the original is in no count of ours: nobody has placed it
- a step of the original (FUN_007700c3): this part of the original is in no count of ours: nobody has placed it
- a step of the original (FUN_00489f0d): this part of the original is in no count of ours: nobody has placed it
- an inner call of the original (in 0x004e0bde, slot 0x14) is not followed yet: nobody has named what it calls
- an inner call of the original (in 0x004e0bde, slot 0x38) is not followed yet: nobody has named what it calls
- an inner call of the original (in 0x00871db2, slot 0x14) is not followed yet: nobody has named what it calls
The other 33 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/screen/keybinds.toml (its ticks: the folder notes/bfheroes/features/screen/keybinds.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 8d2b75e 2026-11-28T19:18:39 |
| 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.