Comments (4)
We already have quick shortcuts in Android builds and it should not take much to get them working on desktop (WIP is here - https://github.com/CleverRaven/Cataclysm-DDA/compare/master...ZhilkinSerg:Cataclysm-DDA:ui-quick-shortcuts?expand=1). Displaying icons in addition to keys in quick shortcuts should be rather easy too.
The issue is if you press ?
on a main game screen with the following patch you will see that there are too many commands (144 in total, 80 of which are bound to a key). There is probably no way all icons for them would fit on a screen without obscuring much of the map.
@ -646,6 +646,15 @@ keybindings_ui::keybindings_ui( bool permit_execute_action,
legend.push_back( colorize( _( "Keybinding active only on this screen" ), local_key ) );
legend.push_back( colorize( _( "Keybinding active globally" ), global_key ) );
legend.push_back( colorize( _( "* User customized" ), global_key ) );
int bound_actions_count = 0;
for( const std::string &a : parent->get_registered_actions() ) {
auto iel = parent->keys_bound_to( a );
if( iel.size() > 0 ) {
bound_actions_count++;
}
}
legend.push_back( string_format( _( "All commands: %d, Bound to a key: %d" ),
parent->get_registered_actions().size(), bound_actions_count ) );
if( permit_execute_action ) {
legend.push_back( string_format(
_( "Press %c to execute action\n" ),
from cataclysm-dda.
Personally I'd prefer this added as an accessibility option that can default on for new players rather than a compulsory thing, personally I'd have no interest using it and I imagine the same goes for alot of peeps who've played alot and I'd rather not lost screen space for something I'm never going to interact with. You literally said as much, I can't read >_<
from cataclysm-dda.
Maybe we can show a menu when you right-click on your character/nearby terrain to list the action you can do (similar to the current action menu). It won't take any screen space until requested, and adding icons to the menu should be easy.
from cataclysm-dda.
We already have quick shortcuts in Android builds and it should not take much to get them working on desktop (WIP is here - https://github.com/CleverRaven/Cataclysm-DDA/compare/master...ZhilkinSerg:Cataclysm-DDA:ui-quick-shortcuts?expand=1). Displaying icons in addition to keys in quick shortcuts should be rather easy too.
The issue is if you press
?
on a main game screen with the following patch you will see that there are too many commands (144 in total, 80 of which are bound to a key). There is probably no way all icons for them would fit on a screen without obscuring much of the map.@ -646,6 +646,15 @@ keybindings_ui::keybindings_ui( bool permit_execute_action, legend.push_back( colorize( _( "Keybinding active only on this screen" ), local_key ) ); legend.push_back( colorize( _( "Keybinding active globally" ), global_key ) ); legend.push_back( colorize( _( "* User customized" ), global_key ) ); int bound_actions_count = 0; for( const std::string &a : parent->get_registered_actions() ) { auto iel = parent->keys_bound_to( a ); if( iel.size() > 0 ) { bound_actions_count++; } } legend.push_back( string_format( _( "All commands: %d, Bound to a key: %d" ), parent->get_registered_actions().size(), bound_actions_count ) ); if( permit_execute_action ) { legend.push_back( string_format( _( "Press %c to execute action\n" ),
This is where the right-click context menu option comes in. CDDA has a ton of keybinds that aren't used commonly ("look at the sky", anyone?) and I feel that those bindings would be perfect for a drop down menu, rather than having a dedicated icon for every single keybind in the game.
from cataclysm-dda.
Related Issues (20)
- Error message when "in progress" crafting item is too big to be placed onto the workbench.
- add poisoned arrows HOT 9
- Batch-crafting should not receive penalty for cumbersome crafting when single craft doesn`t have the penalty. HOT 3
- Be able to talk to monsters that are capable of talking. HOT 4
- Charging outlet/one-way power transfer device. HOT 5
- NPC Mid butcher induces crash when returning to reality bubble. HOT 2
- Meta progression & Per life / Per fraction / Per world / Per character / Per profile / Per confing (meta)
- `Mark all recipes as read` (in tab) ignores nested recipes
- Inactive Frankenstein not consumed on activation. HOT 1
- Change nested recipes colour to something readable HOT 2
- Craters are spawning partially HOT 4
- While crafting and an NPC moves between floors get a notice "You can no longer see well enough to keep crafting."
- Craftable refuse HOT 8
- [Sky Island] Crafting Alpha Secure Container on second character of same preset and name in world don't give container HOT 2
- Field migration
- Folding solar panel throws error on deployment and duplicates* on disassembly. HOT 2
- [Magiclysm] The "Bleed" spell does not provide exp for "Stats Through Kills" HOT 1
- Butchery crash HOT 4
- TCL "Lab Residential Zone" has no balcony in scientists' quarters HOT 2
- Reoccuring segfault when attempting to dissect an ant HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cataclysm-dda.