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)
- Deconstructing Small Railroad does not give tracks.
- house/house31-32 has mismatched basement stairs
- The campsite cannot properly recognize furniture for their functions. HOT 3
- NPCs occasionally can't read books in storage.
- NPCs don't replace tools/items in storage after work
- NPCs won't resume crafting after being interrupted but will do other tasks.
- when need let npc crafti something,whether selecting "Continue Crafting" sometimes incorrectly opens the "Crafting Menu". HOT 3
- Extraction of iodine from kelp HOT 1
- Movies & TV shows?
- Summer hardhat provides armor to entire head. HOT 1
- Unable to insert into the pocket, causing the inserted item to be accidentally deleted
- Allow Gutskin Parka to be used for Chemistry Recipes and possible Gutskin hand covers/other item?
- Debug: `Control NPC follower` error on activity: apply bandage
- Can't walk past wing mirrors HOT 4
- Make different inventory screens track pocket "open/closed" seperately
- AIM: incorrect weight after moving a plastic chunk HOT 2
- Different sprites for ON OFF furniture
- Static Hordes break the game on low city size HOT 1
- Enable NPCs to perform random tasks automatically when not assigned any. HOT 2
- Unlooted Gunstore has no ammo HOT 1
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.