CleverRaven / Cataclysm-DDA

Cataclysm - Dark Days Ahead. A turn-based survival game set in a post-apocalyptic world.
http://cataclysmdda.org
Other
10.64k stars 4.18k forks source link

Console version have key asignments 'z' and 'Z' (zoom) which does nothing #19643

Closed AMurkin closed 7 years ago

AMurkin commented 7 years ago

Omit these options or implement zoom?

codemime commented 7 years ago

How would you implement it for the console version?

AMurkin commented 7 years ago

Maybe it could by fontsize*k at redraw?

codemime commented 7 years ago

That won't work for pure consoles - the game uses ncurses library, and there's no reliable cross-platform way of changing font size of a terminal, AFAIK.

However, that would work in the pseudo-console mode (SDL glyphs), but would also inevitably require using two fonts sizes (to keep the sidebar and other menus unaffected). I doubt it's worth the effort for now, but you're free to try and implement it.

AMurkin commented 7 years ago

Yeah, i didn't realize that all glyphs must be the same size. Then these options should be hidden in console version.

illi-kun commented 7 years ago

Then these options should be hidden in console version.

This is a wrong approach: the same keybinding configuration file is used for both tiles and curses version, so it's weird that some keys can be bound to some hidden commands.

Generally, I estimate this as a really minor issue (if it's issue at all).

muravey-omsk commented 6 years ago

What about set another default keys for zoom? That's free keys for another action.