1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2026-01-07 12:19:03 +00:00

backandfront projection option

This commit is contained in:
Zeno Rogue
2021-09-18 01:39:09 +02:00
parent a7ddaae7d4
commit 96c143da8e
4 changed files with 18 additions and 0 deletions

View File

@@ -2164,6 +2164,10 @@ EX void show3D() {
XLAT("Rotate the camera. Can be used to obtain a first person perspective, "
"or third person perspective when combined with Y shift.")
);
dialog::extra_options = [] {
dialog::addBoolItem(XLAT("render behind the camera"), vpconf.back_and_front, 'R');
dialog::add_action([] { vpconf.back_and_front = !vpconf.back_and_front; });
};
});
}
if(GDIM == 2) {