Home
last modified time | relevance | path

Searched refs:useful_y (Results 1 – 2 of 2) sorted by relevance

/dports/games/cataclysm-dda-tiles/Cataclysm-DDA-0.F/src/
H A Dplayer_display.cpp656 const size_t useful_y = bionics_win_size_y - 2; in draw_bionics_tab() local
657 const size_t half_y = useful_y / 2; in draw_bionics_tab()
664 max = std::min( bionicslist.size(), useful_y ); in draw_bionics_tab()
666 min = ( bionicslist.size() <= useful_y ? 0 : bionicslist.size() - useful_y ); in draw_bionics_tab()
670 max = std::min( bionicslist.size(), line + useful_y - half_y ); in draw_bionics_tab()
/dports/games/cataclysm-dda/Cataclysm-DDA-0.F/src/
H A Dplayer_display.cpp656 const size_t useful_y = bionics_win_size_y - 2; in draw_bionics_tab() local
657 const size_t half_y = useful_y / 2; in draw_bionics_tab()
664 max = std::min( bionicslist.size(), useful_y ); in draw_bionics_tab()
666 min = ( bionicslist.size() <= useful_y ? 0 : bionicslist.size() - useful_y ); in draw_bionics_tab()
670 max = std::min( bionicslist.size(), line + useful_y - half_y ); in draw_bionics_tab()