EDuke32 Changelog Unofficial archive

What changed in EDuke32, build by build

2,117 builds · 8,866 commits · 25 authors · October 2009 – August 2026

Commits per year

Select a year to see its builds
SVN era · r1519 – r8798 Git era · voidpoint.io, from april 2020
Filters · 2 active

Showing 443 builds · 817 commits

Export CSV
Display options
Commit details:

December 2014 7 builds · 19 commits

Build 4800

6 Dec 2014 · 1 commit · 1 author SVN
Open build
  • General

    voxmodel.c: fix Polymost rendering of voxels.

    Helixhorned r4800 6 Dec, 13:05 FixEngine
    Show details

    This reverts/corrects two semantic changes of r4639 as far as what is now voxmodel.c (formerly part of mdsprite.c) is concerned. One correction ends up having no effect (m->bscale is always 1.f for voxel models, as far as I can see), but is the proper rewrite. Also, in osdcmds.c:registerosdcommands(), tweak two help strings.

November 2014 1 build · 6 commits

Build 4777

28 Nov 2014 · 81 commits · 3 authors SVN
Open build
  • General

    Fix POLYMER=0 build and a couple of unused-variable warnings with it. DONT_BUILD.

    Helixhorned r4764 written 25 Nov 2014 FixEngine
  • General

    engine.c: in wallscan(), fix oob of umost[] and dmost[] when x2 == xdim-1.

    Helixhorned r4757 written 22 Nov 2014 FixEngine
    Show details

    Analogously treat maskwallscan() and transmaskwallscan(), although I could not get the respective accesses to be oob, too.

  • General

    Fix voxels in classic -- my error, confusing divscale() and mulscale() in r4576.

    Helixhorned r4728 written 6 Nov 2014 FixEngine
    Show details

    Optimizations are left to the reader :P. I would prefer to look for ways of giving the compilers hints about loops to unroll instead of having to read the resulting mess of manual unrolling, though.

  • General

    gameexec.c: In VM_OnEvent_, don't form address like &sprite[-1].

    Helixhorned r4727 written 6 Nov 2014 Engine
    Show details

    The practical rationale: Clang-sanitize catches this, so this is bad. The real rationale: I *think* it is undefined behavior to even form such a pointer in C99. However, I would be hard pressed to provide a nice formal argument in terms of the Standard wording right now. It looks like 6.5.3.2#4 is to blame.

  • General

    engine.c: prevent an oob read in drawsprite_classic() w/ floor-aligned sprites.

    Helixhorned r4726 written 6 Nov 2014 Engine
Open the build to see all 81 commits

August 2014 4 builds · 8 commits

Build 4584

31 Aug 2014 · 9 commits · 1 author SVN
Open build
  • demote wall check "corruptions" introduced in r4569 to level 2.

    Helixhorned r4580 31 Aug, 04:15 FixEngine
    Show details

    The winding of a loop -- with clockdir() -- is determined by examining the two line segments spanned between the points following a leftmost point of the loop. If the loop contains a leftmost point that belongs to the "right" side (as can happen with sliding door constructions), there's a chance that an outer loop is misclassified.

  • General

    Factor out [l]dist() implementations into static inline functions in common.h.

    Helixhorned r4579 31 Aug, 04:15 Engine
    Show details

    And use these in jmact/mathutil.c's FindDistance2D()/FindDistance3D(). The main use is to allow passing dx/dy instead of sprite positions; the code that actually uses this is not committed.

  • introduce two signed integer types, use in engine.c and a-c.c.

    Helixhorned r4578 written 23 Aug 2014 FixEngine
    Show details

    They classify former uses of int64_t into two classes: - coord_t: those that represent coordinates and need 64-bit precision for proper functioning with large values - inthi_t: those that were added for e.g. casts merely to prevent undefined behavior on overflow DONT_BUILD.

  • General

    engine.c: prevent a 64-bit multiply in dosetaspect(). DONT_BUILD.

    Helixhorned r4576 written 23 Aug 2014 Engine
Open the build to see all 9 commits

Build 4573

16 Aug 2014 · 2 commits · 1 author SVN
Open build
  • fix a crash when m32_settings.cfg contains video setting.

    Helixhorned r4573 16 Aug, 11:32 FixEngine
    Show details

    Such as "vid_gamma". In that case, setbrightness() would have been called without basepaltableptr having been initialized. The fix is by moving the preparational setbasepaltable() call from ExtPostStartupWindow() to ExtInit(), just before the OSD command dispatching.

  • fix possible integer overflow in loopinside().

    Helixhorned r4572 16 Aug, 11:32 FixEngine
    Show details

    This could happen when building outside the "classic" grid limits and would then lead to e.g. incorrect loop assignment on sector splitting. Bug reported by MetHy.

Build 4571

8 Aug 2014 · 19 commits · 2 authors SVN
Open build
  • prototypical checker for wall loops, enabled partially.

    Helixhorned r4569 8 Aug, 13:02 FixEngine
    Show details

    Inspired by http://forums.duke4.net/topic/7506-tror-question/page__view__findpost__p__199151 the corruption checker now checks for certain conditions of the loops of each sector. Recall that CW loops are outer and CCW loops are inner. - If a sector has no or more than one outer loop, count that as corruption (level 4 and 3, respectively). - (Disabled) For sectors with exactly one outer loop, check that all inner ones are inside it. This is currently not compiled due to an asymmetry of loopinside() for degenerate cases, similar to pre-r3898 inside().

Open the build to see all 19 commits

June 2014 1 build · 2 commits

Build 4500

1 Jun 2014 · 12 commits · 3 authors SVN
Open build
  • r_npotwallmode, emulating 8-bit for walls w/ nonpow2 height textures.

    Helixhorned r4498 1 Jun, 04:55 Engine
    Show details

    When that mode is enabled (see below for caveats), wall textures that have a non-power-of-two height (call it 'h') will be modified to look like in classic: Let 'H' be the next power of two greater than 'h'. The texture will be uploaded with height 'H', made up from 'h' hlines of the original texture, followed by 'H'-'h' first hlines of the same. No panning "corrections" will take place. The mode is disabled by default. Caveats/notes: * the mode requires that r_hightile is disabled * it is not implemented in Polymer * in the Lunatic build, it is ineffective when a VX map is loaded, as those display walls with NPOT height textures correctly

  • when pasting onto the bottom part of a [2]-wall, take over y-flipping.

    Helixhorned r4493 written 30 May 2014 Engine
    Show details

    Note that x-flipping is determined by the cstat of the upper part of the wall (that is, the wall facing the player, not the nextwall, from which the picnum for the bottom part is taken.)

Open the build to see all 12 commits

May 2014 6 builds · 11 commits

Build 4488

28 May 2014 · 6 commits · 1 author SVN
Open build
  • General

    Factor out commonly occuring hictinting[]-accessing code into three functions.

    Helixhorned r4487 28 May, 15:40 Engine
    Show details

    Note: in polymer.c, this was buggy (but harmless) because .r is a char: if ((uint32_t)hictinting[MAXPALOOKUPS-1].r & 0xFFFFFF00) != 0xFFFFFF00)

  • General

    Replace various GL rendering related literal flags with enum labels.

    Helixhorned r4486 28 May, 15:40 Engine
    Show details

    - pthtyp pth->flags bits - Flags of the <dameth> argument of various functions - hictinting[].f / gloadtile_hi() and daskinloader() <effect> arg bits - hicreplctyp hicr->flags bits - texcacheheader cachead.flags bits

  • General

    polymost.c: stylistic cleanup in gloadtile_hi, uploadtexture, fixtransparency.

    Helixhorned r4485 28 May, 15:40 Engine
  • in NPOT wall ypanning "correction", behave like Polymer in one corner case.

    Helixhorned r4484 28 May, 15:40 Engine
    Show details

    Specifically, the handling of one-way walls ([1] in Mapster32) was slightly different.

Open the build to see all 6 commits

Build 4477

22 May 2014 · 1 commit · 1 author SVN
Open build
  • General

    actors.c: fix a A_CheckSpriteFlags() call for zombie actor to STANDABLE change.

    Helixhorned r4477 22 May, 01:56 FixEngine
    Show details

    This only affects zombie actors in a sector with a parallaxed ceiling. If they have SFLAG_NOSHADE clear, their shade is taken from the ceiling upon changing the statnum. Previously, A_CheckSpriteFlags() received a value that could only be 0 or 1 for the sprite index (typo).

Build 4459

1 May 2014 · 2 commits · 1 author SVN
Open build
  • make r_usetileshades 2 the default.

    Helixhorned r4459 1 May, 09:55 Engine
    Show details

    This mode does not take a sector's visibility values into account for uniform darkening of a texture. It is more faithful to classic with respect to fog/visibility *distances*, but may be less so as far as the "tint" of the texture due to visibility attenuation is concerned.

  • General

    engine.c: instead of fogpal post-tweaks (last 2 commits), normalize by numshades-1.

    Helixhorned r4458 1 May, 09:55 Engine
    Show details

    That is, for every for palette (now, even ones created by the user) the last shade is the (or rather, a color close to the) full fog color by construction. In loadpalette(), reject a PALETTE.DAT with only one shade level.

April 2014 9 builds · 17 commits

Build 4457

29 Apr 2014 · 1 commit · 1 author SVN
Open build
  • General

    engine.c: extend the last workaround to all four fogpals generated at startup.

    Helixhorned r4457 29 Apr, 13:07 FixEngine

Build 4456

29 Apr 2014 · 1 commit · 1 author SVN
Open build
  • General

    engine.c: after creating gray fog palookup, make its greatest shade map to same color.

    Helixhorned r4456 29 Apr, 12:34 Engine
    Show details

    Concretely, for all 1 <= i <= 255, make graypalookup[31][i] := graypalookup[31][0]. Also document 'fogpal' in the Lunatic doc.

Build 4452

19 Apr 2014 · 5 commits · 1 author SVN
Open build
  • General

    Makefile.common: pass Clang sanitizer flags in release DEBUGANYWAY builds, too.

    Helixhorned r4451 19 Apr, 15:42 Engine
    Show details

    Also, - add a static assertion to engine.c - gameexec.c: compile out an unused function in Lunatic builds

  • CON

    add getactor[]/sprite[] member 'movflags'.

    Helixhorned r4448 19 Apr, 15:42 EngineCON
    Show details

    This is exactly the same as the actor[].movflags member in the Lunatic build: http://lunatic.eduke32.com/lunatic.html#actor

Open the build to see all 5 commits

Build 4428

9 Apr 2014 · 3 commits · 1 author SVN
Open build
  • General

    In ext. PALETTE.DAT, store log2 of last alpha table index. Handle alpha in classic.

    Helixhorned r4426 9 Apr, 11:51 EngineCON
    Show details

    The extended PALETTE.DAT format can now carry a trailing byte, called 'lognumalphatables'. If it is present, the engine assumes that alpha blending tables are loaded at blend indices 1 to 1<<lognumalphatables and handles rotatesprite's alpha and spriteext[].alpha accordingly. The ability to save this new byte is added to engine.lua:savePaletteDat() and the corresponding convenience functions in shadexfog.lua. Examples test/screentext.con and test/sprite_access.con are updated for demonstration purposes.

Open the build to see all 3 commits