EDuke32 Changelog Unofficial archive

Build 2575

31 March 2012 · 3 commits by 1 author · SVN

Builds by month 225 builds

  1. Jan

  2. Feb

  3. Mar

  4. Apr

  5. May

  6. Jun

  7. Jul

  8. Aug

  9. Sep

  10. Oct

  11. Nov

  12. Dec

Original log file · 20120331-2575.txt
------------------------------------------------------------------------
r2575 | helixhorned | 2012-03-31 04:22:32 -0700 (Sat, 31 Mar 2012) | 1 line

CON showview/showviewunbiased: silently clamp 'horiz' to HORIZ_MIN..HORIZ_MAX.
------------------------------------------------------------------------
r2574 | helixhorned | 2012-03-31 04:22:19 -0700 (Sat, 31 Mar 2012) | 7 lines

Allow the screen bounds difference in CON showview/-unbiased to be less than 2.

This requires one tweak in drawrooms' umost/dmost setup to prevent oob access.
Specifically, a coordinate difference of 0 is allowed.  In the classic renderer,
this would mean a one-pixel (real screen coords) height or width.  In Polymost,
it would currently mean a one-pixel height and zero-pixel width, but this might
be subject to change.
------------------------------------------------------------------------
r2573 | helixhorned | 2012-03-31 04:22:00 -0700 (Sat, 31 Mar 2012) | 9 lines

New CON command 'showviewunbiased', mapping the screen coords w/o round-to-0 bias.

The showview command transforms the 320-based screen bound coordinates to the real
screen bounds like xreal = (x*xdim)/320, which shows a bias towards zero: for
example, for a 1680 screen width, the maximum permissible value 319 is mapped to
round_to_zero((319*1680)/320) == 1674.  (The rounding is implicit in the integer
division).  This makes it impossible for a view to cover the whole screen with any
other resolution than 320x200.  The new command transforms the bounds like
xreal = (x*(xdim-1))/319, which would map 319 to 1679 in the preceding example.
------------------------------------------------------------------------
EngineCON

Allow the screen bounds difference in CON showview/-unbiased to be less than 2.

Philipp Kutin (Helixhorned) 31 Mar 2012, 04:22 UTC−7 r2574

This requires one tweak in drawrooms' umost/dmost setup to prevent oob access. Specifically, a coordinate difference of 0 is allowed. In the classic renderer, this would mean a one-pixel (real screen coords) height or width. In Polymost, it would currently mean a one-pixel height and zero-pixel width, but this might be subject to change.

CON

New CON command 'showviewunbiased', mapping the screen coords w/o round-to-0 bias.

Philipp Kutin (Helixhorned) 31 Mar 2012, 04:22 UTC−7 r2573

The showview command transforms the 320-based screen bound coordinates to the real screen bounds like xreal = (x*xdim)/320, which shows a bias towards zero: for example, for a 1680 screen width, the maximum permissible value 319 is mapped to round_to_zero((319*1680)/320) == 1674. (The rounding is implicit in the integer division). This makes it impossible for a view to cover the whole screen with any other resolution than 320x200. The new command transforms the bounds like xreal = (x*(xdim-1))/319, which would map 319 to 1679 in the preceding example.