mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-01-12 10:20:32 +00:00
old_center
This commit is contained in:
parent
624cac0c80
commit
804308c03e
@ -5187,6 +5187,8 @@ EX int corner_centering;
|
|||||||
|
|
||||||
EX bool permaside;
|
EX bool permaside;
|
||||||
|
|
||||||
|
EX bool old_center;
|
||||||
|
|
||||||
EX void calcparam() {
|
EX void calcparam() {
|
||||||
|
|
||||||
DEBBI(DF_GRAPH, ("calc param"));
|
DEBBI(DF_GRAPH, ("calc param"));
|
||||||
@ -5209,7 +5211,7 @@ EX void calcparam() {
|
|||||||
|
|
||||||
current_display->sidescreen = permaside;
|
current_display->sidescreen = permaside;
|
||||||
|
|
||||||
if(vid.xres < vid.yres - 2 * vid.fsize && !inHighQual && !in_perspective()) {
|
if(vid.xres < vid.yres - 2 * vid.fsize && !inHighQual && (old_center || !in_perspective())) {
|
||||||
cd->ycenter = lerp(vid.fsize + cd->scrsize, vid.yres - cd->scrsize - vid.fsize, .8);
|
cd->ycenter = lerp(vid.fsize + cd->scrsize, vid.yres - cd->scrsize - vid.fsize, .8);
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
|
Loading…
Reference in New Issue
Block a user