EDuke32 Changelog Archivio non ufficiale

Build 2761

13 giugno 2012 · 9 commit di 1 autore · SVN

Build per mese 155 build

  1. gen

  2. feb

  3. mar

  4. apr

  5. mag

  6. giu

  7. lug

  8. ago

  9. set

  10. ott

  11. nov

  12. dic

File di log originale · 20120613-2761.txt
------------------------------------------------------------------------
r2761 | helixhorned | 2012-06-13 16:13:39 -0700 (Wed, 13 Jun 2012) | 7 lines

Integer Overflow Offensive, First Act: rintersect, hitscan, neartag.

It's time to replace some int32s with 64-bit ints in core engine functions.
The problem is that for example, the dot product is taken between vectors that
may be the difference between two arbitrary points in a sector, so even if one
sticks to the "no blue walls" rule, that doesn't guarantee freedom from
overflows.
------------------------------------------------------------------------
r2760 | helixhorned | 2012-06-13 16:13:36 -0700 (Wed, 13 Jun 2012) | 1 line

Polymost: don't attempt to draw sprite with void tile, preventing div-by-0s later
------------------------------------------------------------------------
r2759 | helixhorned | 2012-06-13 16:13:34 -0700 (Wed, 13 Jun 2012) | 1 line

Mapster32: draw a wall blue if its squared length exceeds INT_MAX (not UINT_MAX)
------------------------------------------------------------------------
r2758 | helixhorned | 2012-06-13 16:13:31 -0700 (Wed, 13 Jun 2012) | 1 line

Fix a div by zero in polymost_internal_nonparallaxed.
------------------------------------------------------------------------
r2757 | helixhorned | 2012-06-13 16:13:28 -0700 (Wed, 13 Jun 2012) | 3 lines

Mapster32: fix a div by zero when drawing tile info for void tile in 3D mode.

This was exposed by Clang with -ftrapv, which apparently also traps those.
------------------------------------------------------------------------
r2756 | helixhorned | 2012-06-13 16:13:26 -0700 (Wed, 13 Jun 2012) | 1 line

Lunatic translator: fix dangling else and add a test file, tweak warnings
------------------------------------------------------------------------
r2755 | helixhorned | 2012-06-13 16:13:23 -0700 (Wed, 13 Jun 2012) | 4 lines

build/Makefile: Always compile a-c.o with -O2 and without -fcatch-undefined-behavior

This is to not slow down the core drawing functions too much in debugging builds
and mimics the way things are on x86.
------------------------------------------------------------------------
r2754 | helixhorned | 2012-06-13 16:13:20 -0700 (Wed, 13 Jun 2012) | 1 line

a.m32: new state "collect_ceilsky_sectors" collecting parallaxed ceilings.
------------------------------------------------------------------------
r2753 | helixhorned | 2012-06-13 16:13:15 -0700 (Wed, 13 Jun 2012) | 1 line

Mapster32: disallow joining non-adjacent sectors when expert mode is disabled.
------------------------------------------------------------------------
FixEngine

Integer Overflow Offensive, First Act: rintersect, hitscan, neartag.

Philipp Kutin (Helixhorned) 13 giu 2012, 16:13 UTC−7 r2761

It's time to replace some int32s with 64-bit ints in core engine functions. The problem is that for example, the dot product is taken between vectors that may be the difference between two arbitrary points in a sector, so even if one sticks to the "no blue walls" rule, that doesn't guarantee freedom from overflows.

Mapster32 FixEngine

fix a div by zero when drawing tile info for void tile in 3D mode.

Philipp Kutin (Helixhorned) 13 giu 2012, 16:13 UTC−7 r2757

This was exposed by Clang with -ftrapv, which apparently also traps those.

build/Makefile: Always compile a-c.o with -O2 and without -fcatch-undefined-behavior

Philipp Kutin (Helixhorned) 13 giu 2012, 16:13 UTC−7 r2755

This is to not slow down the core drawing functions too much in debugging builds and mimics the way things are on x86.