mirror of
				https://github.com/zenorogue/hyperrogue.git
				synced 2025-10-31 22:12:59 +00:00 
			
		
		
		
	sidescreen now requires screen ratio strictly greater than 4:3
This commit is contained in:
		| @@ -5518,7 +5518,7 @@ void calcparam() { | |||||||
|     cd->ycenter = vid.yres - cd->scrsize - vid.fsize; |     cd->ycenter = vid.yres - cd->scrsize - vid.fsize; | ||||||
|     } |     } | ||||||
|   else { |   else { | ||||||
|     if(vid.xres >= vid.yres * 5/4-16 && (cmode & sm::SIDE)) |     if(vid.xres > vid.yres * 4/3+16 && (cmode & sm::SIDE)) | ||||||
|       current_display->sidescreen = true; |       current_display->sidescreen = true; | ||||||
| #if CAP_TOUR | #if CAP_TOUR | ||||||
|     if(tour::on && (tour::slides[tour::currentslide].flags & tour::SIDESCREEN)) |     if(tour::on && (tour::slides[tour::currentslide].flags & tour::SIDESCREEN)) | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Zeno Rogue
					Zeno Rogue