mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-12-25 01:20:37 +00:00
better centering screenshot, 'rotate PC' option
This commit is contained in:
parent
500df60990
commit
97c9be0dde
@ -955,12 +955,21 @@ EX void menu() {
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
if(WDIM == 2) {
|
if(WDIM == 2) {
|
||||||
dialog::addItem(XLAT("centering"), 'x');
|
dialog::addItem(XLAT("centering"), 'C');
|
||||||
dialog::add_action([] {
|
dialog::add_action([] {
|
||||||
dialog::editNumber(vid.fixed_facing_dir, 0, 360, 15, 90, XLAT("centering"),
|
dialog::editNumber(vid.fixed_facing_dir, 0, 360, 15, 90, XLAT("centering"),
|
||||||
XLAT("You can pick the angle. Note: the direction the PC is facing matters."));
|
XLAT("You can pick the angle. Note: the direction the PC is facing matters."));
|
||||||
dialog::reaction = fullcenter;
|
dialog::reaction = fullcenter;
|
||||||
dialog::extra_options = [] () {
|
dialog::extra_options = [] () {
|
||||||
|
dialog::addBoolItem(XLAT("rotate PC"), centering == eCentering::face, 'R');
|
||||||
|
dialog::add_action([] {
|
||||||
|
flipplayer = false;
|
||||||
|
cwt++;
|
||||||
|
mirror::act(1, mirror::SPINSINGLE);
|
||||||
|
cwt.at->mondir++;
|
||||||
|
cwt.at->mondir %= cwt.at->type;
|
||||||
|
fullcenter();
|
||||||
|
});
|
||||||
dialog::addBoolItem(XLAT("face"), centering == eCentering::face, 'F');
|
dialog::addBoolItem(XLAT("face"), centering == eCentering::face, 'F');
|
||||||
dialog::add_action([] { centering = eCentering::face; fullcenter(); });
|
dialog::add_action([] { centering = eCentering::face; fullcenter(); });
|
||||||
dialog::addBoolItem(XLAT("edge"), centering == eCentering::edge, 'E');
|
dialog::addBoolItem(XLAT("edge"), centering == eCentering::edge, 'E');
|
||||||
|
Loading…
Reference in New Issue
Block a user