Missing contextual-menu option?
Moderator: Forum Moderators
Forum rules
Before posting a new idea, you must read the following:
Before posting a new idea, you must read the following:
-
- Posts: 558
- Joined: February 1st, 2004, 6:17 pm
- Location: New Jersey, USA
Missing contextual-menu option?
I like to use my mouse. I can sit back in my chair, with my beverage of choice in my left hand and my right on the mouse. I can do everything this way once the game starts...but move to the next unit. For that, I need the keyboard.
So I would request having "Next unit" added to the CM.
What do others think?
So I would request having "Next unit" added to the CM.
What do others think?
The Eponymous Archon
We may consider adding it, but FYI, it's fairly easy to add yourself -- just edit data/themes/default.cfg, and go down to the [menu] tag for the context menu. I.e. the one that looks like this:
Just add to the list of items 'cycle'.
It's being able to show off cool things like this that makes a theming system seem all worth while
David
Code: Select all
[menu]
is_context_menu=true
items=describeunit,speak,recruit,recall,createunit,endturn
[/menu]
It's being able to show off cool things like this that makes a theming system seem all worth while
David
“At Gambling, the deadly sin is to mistake bad play for bad luck.” -- Ian Fleming
-
- Posts: 558
- Joined: February 1st, 2004, 6:17 pm
- Location: New Jersey, USA
Uhh...see src/hotkeys.cpp in the function 'string_to_command'Eponymous-Archon wrote: Indeed, I'll try this. Any docs on what else one might add to this menu?
Code: Select all
m.insert(val("cycle",HOTKEY_CYCLE_UNITS));
m.insert(val("endunitturn",HOTKEY_END_UNIT_TURN));
m.insert(val("leader",HOTKEY_LEADER));
m.insert(val("undo",HOTKEY_UNDO));
m.insert(val("redo",HOTKEY_REDO));
m.insert(val("zoomin",HOTKEY_ZOOM_IN));
m.insert(val("zoomout",HOTKEY_ZOOM_OUT));
m.insert(val("zoomdefault",HOTKEY_ZOOM_DEFAULT));
m.insert(val("fullscreen",HOTKEY_FULLSCREEN));
m.insert(val("accelerated",HOTKEY_ACCELERATED));
m.insert(val("resistance",HOTKEY_ATTACK_RESISTANCE));
m.insert(val("terraintable",HOTKEY_TERRAIN_TABLE));
m.insert(val("describeunit",HOTKEY_UNIT_DESCRIPTION));
m.insert(val("renameunit",HOTKEY_RENAME_UNIT));
m.insert(val("save",HOTKEY_SAVE_GAME));
m.insert(val("recruit",HOTKEY_RECRUIT));
m.insert(val("repeatrecruit",HOTKEY_REPEAT_RECRUIT));
m.insert(val("recall",HOTKEY_RECALL));
m.insert(val("endturn",HOTKEY_ENDTURN));
m.insert(val("togglegrid",HOTKEY_TOGGLE_GRID));
m.insert(val("statustable",HOTKEY_STATUS_TABLE));
m.insert(val("mute",HOTKEY_MUTE));
m.insert(val("speak",HOTKEY_SPEAK));
m.insert(val("createunit",HOTKEY_CREATE_UNIT));
m.insert(val("preferences",HOTKEY_PREFERENCES));
m.insert(val("objectives",HOTKEY_OBJECTIVES));
m.insert(val("unitlist",HOTKEY_UNIT_LIST));
m.insert(val("quit",HOTKEY_QUIT_GAME));
David
David
“At Gambling, the deadly sin is to mistake bad play for bad luck.” -- Ian Fleming