Skip to content

Commit

Permalink
Automap stats can be set from the menu (Doom branch)
Browse files Browse the repository at this point in the history
  • Loading branch information
jval1972 committed May 1, 2022
1 parent ab2e696 commit bc63421
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions Doom/m_menu.pas
Original file line number Diff line number Diff line change
Expand Up @@ -805,6 +805,7 @@ procedure M_SetupNextMenu(menudef: Pmenu_t);
od_allowautomaprotate,
od_texturedautomap,
od_automapgrid,
od_automapstats,
od_automapplayertrace,
od_automap_empty1,
optdispautomap_end
Expand Down Expand Up @@ -5768,6 +5769,14 @@ procedure M_InitMenus;
pmi.pBoolVal := @automapgrid;
pmi.alphaKey := 'g';

inc(pmi);
pmi.status := 1;
pmi.name := '!Display statistics';
pmi.cmd := 'amdrawstats';
pmi.routine := @M_BoolCmd;
pmi.pBoolVal := @amdrawstats;
pmi.alphaKey := 's';

inc(pmi);
pmi.status := 2;
pmi.name := '!Player trace distance';
Expand Down

0 comments on commit bc63421

Please sign in to comment.