Revision r2602
Add samples/aspect.map for calibrating aspect-related settings and testing.
Browse logs with clarity: filter by type/year, search text, and inspect parsed commit details.
Add samples/aspect.map for calibrating aspect-related settings and testing.
On Windows, auto-determine r_screenaspect on startup. Consequently, it's not saved as a setting in either the game or editor config files. We do this by calling "GetSystemMetrics(SM_CXSCREEN)" (accordingly for y) and calculating the cvar by dividing common factors, since it has to be in the form WWHH. This may fail for _really_ strange screen dimensions, so a log message is printed at the very beginning.
On Windows, don't allow map playtesting from Mapster when in fullscreen. Because this doesn't even seem to work on XP, we're being spammed with DDERR_SURFACELOST messages... ------------------------------------------------------------------------
------------------------------------------------------------------------ r2603 | helixhorned | 2012-04-09 12:22:31 -0700 (Mon, 09 Apr 2012) | 5 lines Fix aspect correction in fullscreen mode. Previously, we only set the viewingrange according to the physical screen's dimensions, but didn't correct yxaspect for a potential non-square pixel ratio. ------------------------------------------------------------------------ r2602 | helixhorned | 2012-04-09 12:22:15 -0700 (Mon, 09 Apr 2012) | 1 line Add samples/aspect.map for calibrating aspect-related settings and testing. ------------------------------------------------------------------------ r2601 | helixhorned | 2012-04-09 12:22:00 -0700 (Mon, 09 Apr 2012) | 7 lines On Windows, auto-determine r_screenaspect on startup. Consequently, it's not saved as a setting in either the game or editor config files. We do this by calling "GetSystemMetrics(SM_CXSCREEN)" (accordingly for y) and calculating the cvar by dividing common factors, since it has to be in the form WWHH. This may fail for _really_ strange screen dimensions, so a log message is printed at the very beginning. ------------------------------------------------------------------------ r2600 | helixhorned | 2012-04-09 12:21:39 -0700 (Mon, 09 Apr 2012) | 4 lines On Windows, don't allow map playtesting from Mapster when in fullscreen. Because this doesn't even seem to work on XP, we're being spammed with DDERR_SURFACELOST messages... ------------------------------------------------------------------------