mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-12-24 17:10:36 +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
|
||||
|
||||
if(WDIM == 2) {
|
||||
dialog::addItem(XLAT("centering"), 'x');
|
||||
dialog::addItem(XLAT("centering"), 'C');
|
||||
dialog::add_action([] {
|
||||
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."));
|
||||
dialog::reaction = fullcenter;
|
||||
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::add_action([] { centering = eCentering::face; fullcenter(); });
|
||||
dialog::addBoolItem(XLAT("edge"), centering == eCentering::edge, 'E');
|
||||
|
Loading…
Reference in New Issue
Block a user