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

Showing 8,866 commits

Export CSV
Display options
Commit details:

August 2013

  • General

    For Clang debugging build, only pass selected UBSanitizer options.

    Helixhorned r4020 18 Aug, 12:24 Build 4023 Engine
    Show details

    This makes CLANG=1 RELEASE=0 DEBUGANYWAY=2 OPTLEVEL=1 builds definitely pretty playable (only Polymost tested) while having a decent amount of sanitization.

  • General

    Fix issue with PIPEBOMB_CONTROL mode 2, reported at http://forums.duke4.net/topic/6721-grenade-lifetime

    TerminX r4019 17 Aug, 15:48 Build 4019 Fix
  • General

    MSVC build fix. DONT_BUILD.

    TerminX r4018 written 12 Aug 2013 Build 4019 Fix
  • General

    polymer.c: remove redundant NULL pointer check in polymer_invalidateplanelights().

    Helixhorned r4017 12 Aug, 08:18 Build 4017 FixEngine
    Show details

    Redundant for the same reason as the preceding one: the pointer has already been dereferenced at the point the check is made. Also, all 5 calls of that function pass a valid pointer (provided the pointers from which the expressions are derived are valid). Reported by Stack, too.

  • General

    game.c: remove dead bounds check for cheatbuf[], add assertion.

    Helixhorned r4016 12 Aug, 08:18 Build 4017
    Show details

    The check is dead because it is made after the fact (oob access), but the cheat string matching logic below actually assures that cheatbuflen < sizeof(cheatbuf) at all times. Exposed using the Stack tool from http://css.csail.mit.edu/stack/ . Also, in gamedef.c's definecheat handling, print the string length (19), not the buffer length (20) if the cheat was truncated.

  • General

    When issuing "setrendmode" OSD command with mismatched vidmode, auto-switch.

    Helixhorned r4015 12 Aug, 08:18 Build 4017
  • General

    Fix taking address out of bounds of stack'd array, introduced in r3983.

    Helixhorned r4014 12 Aug, 08:18 Build 4017 Fix
    Show details

    Clang's UBSan reports this as undefined behavior. I think that the reason is as follows: C99 6.5.3.2#1 (Constraints) says: The operand of the unary & operator shall be either a function designator, the result of a [] or unary * operator, or an lvalue that designates an object that is not a bit-field and is not declared with the register storage-class specifier. But in case of an expression like "&array[-1]", the operand ("array[-1]") does not designate a valid object. Moral: check first -- assure that an expression is valid for a particular operation before carrying it out. Keep in mind that otherwise, the compiler is absolutely free to optimize out the *check*.

  • General

    baselayer.c: remove baselayer_onvideomodechange, onvideomodechange.

    Helixhorned r4013 12 Aug, 08:18 Build 4017
  • General

    Mapster32/non-Lua: don't keep tags used for TROR nextwalls when c&p-ing sector.

    Helixhorned r4012 12 Aug, 08:18 Build 4017 Engine
    Show details

    Again, in case a bunch is discarded. The tags would appear as really tagging the walls instead of being "hidden".

  • General

    Mapster32/Lunatic: clear bunchnum and TROR nextwalls when c&p-ing sectors.

    Helixhorned r4011 12 Aug, 08:18 Build 4017 Engine
    Show details

    That is, if a bunch is discarded when copying a sector to the clipboard. (This happens if not all sectors that are part of the bunch are copied.)

  • fix my r_usetileshades==2 sub-method.

    Helixhorned r4010 12 Aug, 08:18 Build 4017 FixEngine
    Show details

    Don't touch TerminX's r_usetileshades==1 or it being the default.

  • General

    checkdefs.sh: check first and second args, handle definelevelname.

    Helixhorned r4009 12 Aug, 08:18 Build 4017
  • General

    net.c: move a necessary bound check to BEFORE the oob access happening.

    Helixhorned r4008 12 Aug, 08:18 Build 4017 Fix
    Show details
  • Clean up "show height indicators" mode.

    Helixhorned r4007 12 Aug, 08:18 Build 4017 Engine
    Show details

    - For setting 1, don't draw them for red walls whose sector floors have equal height. - Make setting 1 the default, because I consider drawing them for such walls (and white walls) noise (as opposed to information). The "verbose" setting 2 is still available.

  • General

    Retire MultiPsky_TileToIdx() in favor of engine-side getpskyidx().

    Helixhorned r4006 written 11 Aug 2013 Build 4017 Engine
    Show details

    DONT_BUILD, because there have been no significant changes of the non-Lua build.

  • General

    Lunatic util: add foreachmap module 'plax', looking for maps w/ multiple psky tiles.

    Helixhorned r4005 written 11 Aug 2013 Build 4017
    Show details

    In foreachmap.lua, make init() be able to return a start index for cmdline args, for the case where the run worker script wants to handle options, for example.

  • sync defs.ilua's user_defs with r3993, adding member MasterVolume.

    Helixhorned r4004 written 11 Aug 2013 Build 4017
  • add LuaJIT's jit/bcsave.lua and headers for synthesis build preparation.

    Helixhorned r4001 written 11 Aug 2013 Build 4017
  • prepare Makefiles for synthesis build.

    Helixhorned r4000 written 11 Aug 2013 Build 4017
    Show details

    - libs and headers are expected in platform/Windows/* (not there yet) - prefix Lua #includes with luajit-2.0/ - build bytecode objects with absolute path name (used for debug info)

  • General
  • General

    Enable ATI FBO color attachment workaround for Intel as well. Fixes some HD4000 issues.

    TerminX r3997 7 Aug, 07:29 Build 3997 Fix
  • General

    Fix net.h, dunno why MSVC accepts functions that don't match their prototypes without complaining... :p

    TerminX r3996 7 Aug, 07:29 Build 3997 Fix
  • General

    Revert "Silence FBO initialization failure message on Intel HD 4000 by moving the glCheckFramebufferStatusEXT() call to below the glBindFramebufferEXT() call. The error returned on HD 4000 previously was something to do with the framebuffer being incomplete, and this seems to fix it, so hopefully it's right."

    TerminX r3995 written 6 Aug 2013 Build 3997 Fix
    Show details
    Reverts
    9a2617e
  • General

    Factor some duplicate code into Net_SpawnPlayer(), adjust Net_ExtractPlayerUpdate() a bit.

    TerminX r3994 written 6 Aug 2013 Build 3997
  • General

    Implement a master volume control that functions separately from the sound effect and music volume controls. This is important because it allows waveform based music (like the SC-55 music pack, etc.) to play back at a louder volume than the sound effects if the end user so desires.

    TerminX r3993 written 6 Aug 2013 Build 3997
  • General

    Refactor projectiles a bit. Tested with all of the original weapons and with the weapons in the Duke 64 mod.

    TerminX r3992 written 6 Aug 2013 Build 3997
  • General

    Silence a MSVC warning

    TerminX r3991 written 6 Aug 2013 Build 3997
  • General

    Add support for listing symbols of a specified prefix to the "listsymbols" console command

    TerminX r3990 written 6 Aug 2013 Build 3997
  • General

    Bring GROWSPARK a bit more in line with the other hard-coded hitscan projectiles, and give it the same sort of accuracy adjustment as the pistol gets when autoaim is disabled.

    TerminX r3989 written 6 Aug 2013 Build 3997
  • General

    Update ud.config.LastUpdateCheck even when G_GetVersionFromWebsite() fails. SourceForge was down today and it irritated me.

    TerminX r3988 written 6 Aug 2013 Build 3997
  • General

    Update win_printversion() to handle Windows 8.1/Server 2012 R2.

    TerminX r3987 written 6 Aug 2013 Build 3997
  • General
  • General

    Silence FBO initialization failure message on Intel HD 4000 by moving the glCheckFramebufferStatusEXT() call to below the glBindFramebufferEXT() call. The error returned on HD 4000 previously was something to do with the framebuffer being incomplete, and this seems to fix it, so hopefully it's right.

    TerminX r3985 written 6 Aug 2013 Build 3997 Fix
  • General

    Bump MAXSYMBOLS to 512. This was probably the cause for the savestate and restorestate debug commands not being registered with the OSD at startup.

    TerminX r3984 written 6 Aug 2013 Build 3997
  • General

    Fix up a couple of functions to adhere better to unwritten code formatting standards. Should be zero functional changes in terms of what the functions actually do.

    TerminX r3983 written 6 Aug 2013 Build 3997 Fix
  • General

    Revert "Polymost "use tile shades": don't confound shade and visibility." Temporarily add a r_usetileshades 2 to switch between Helixhorned and myself's ideas of how this should work.

    TerminX r3982 written 6 Aug 2013 Build 3997 FixEngine
  • General

    Move CONTROL_ProcessBinds() to CONTROL_GetInput(). I don't think this breaks anything; if it does, revert it!

    TerminX r3981 written 6 Aug 2013 Build 3997 Fix
  • General

    Fix a weird problem where the arrow keys would sometimes send a shift keypress on Windows, manifesting in odd things like inconsistent turning speeds when using the keyboard, the grid helper lines showing up in Mapster32 when they weren't supposed to, etc. For some reason, an extra raw input keyboard event is generated with an out of bounds VKey value (0xFF) which must be filtered for proper operation. I wasn't able to find any official documentation regarding this but I did find it mentioned in a couple of random newsgroup/forum postings.

    TerminX r3980 written 6 Aug 2013 Build 3997 FixEngine
  • disable printing debug messages for the preview build. BUILD_LUNATIC.

  • slightly more complete handling of (multi-tile) ART skies.

    Helixhorned r3977 4 Aug, 13:37 Build 3979 Engine
    Show details

    - Use the proper tile sequence when multiple pskies are present in a map. However, there's still only *one* psky chosen at map load time. - Handle three horizfrac cases: * 0, psky always at same level wrt screen * 65536, psky horiz follows camera horiz (e.g. E4L9) * otherwise, fall back to default hard-coded parallax implemented as an angle fraction

  • General

    Clean up parallaxed sky functionality, part 2.

    Helixhorned r3976 4 Aug, 13:37 Build 3979 Engine
    Show details

    - Rename sky_t members: yscale -> horizfrac, bits -> lognumtiles. - Add default sky (8 tiles, horizfrac=32768 (i.e. 1/2 the scene horiz), offsets all zero) and CLOUDYOCEAN sky (8 tiles, horizfrac=65536, offsets all zero) to multipsky[]. - Get rid of "psky_t g_psky", merely maintaining a g_pskyidx instead. Set it up at map load time so as to keep the behavior of the legacy per-map psky: the last sector index with a matching psky ceiling wins. - In mapstate_t, save g_pskyidx too, not (former) pskybits and pskyoffs[]. - Make on-map-load global psky setup consistent for the game and editor by factoring it out into common.c: G_SetupGlobalPsky(). - Remove a couple of useless initializations, add some static assertions. This commit is more likely to introduce subtle differences in behavior. Specifically, getpsky() now always returns the default sky properties instead of the global sky ones (but with all-zero offsets) when no match for a suiting multi-psky is found. This is only likely to affect the yscale/horizfrac of non-multi-pskies when a global non-default multi-psky has been set up. Bump BYTEVERSION again.

  • General

    Clean up parallaxed sky functionality, part 1.

    Helixhorned r3975 4 Aug, 13:37 Build 3979 FixEngine
    Show details

    - Consolidate psky* arrays into a "typedef struct psky_t" "g_psky" and "multipsky[]". - Factor out getting parallaxed sky properties into getpsky(). - Condense initial multi-psky setup by memcpy'ing from multipsky[]. - New function: MultiPsky_TileToIdx(). - Add new define PSKYOFF_MAX and related consistency-checking assertions. - Lower MAXPSKYTILES to 8 to reflect current usage (was 256). - Game: make multi-pskies consider dynamically-remapped MOONSKY1, BIGORBIT1 and LA. (Not very useful as the editor will still only act for the static values -- 80, 84 and 89, respectively.) An attempt has been made to preserve behavior even in strange cases, so this commit is unlikely to introduce regressions. Because of point 6, BYTEVERSION had to be bumped.

  • sanity-check some arguments passed to con.action().

July 2013

  • General

    Updates to the processing of the tilefromtexture def command:

    Hendricks266 r3973 19 Jul, 20:37 Build 3973
    Show details

    - Allow xoffset and yoffset to modified independently of a tile definition, much like texhitscan and nofullbright. (Both still default to zero when a tile is specified, to keep current behavior, and because it makes sense.) - Add actual detection of the "nofullbright" keyword, which appears to have been overlooked in r3230. - Internal: Eliminate the need for one int32_t by condensing two variables into "flags".

  • General

    Patch from johnnyonflame to fix the GCW and Dingoo build process.

    Hendricks266 r3972 19 Jul, 20:36 Build 3973 Fix
  • General

    Force orientation bit 2 for screentext in addition to qstrdim, to match all other screen drawing commands.

    Hendricks266 r3971 19 Jul, 20:36 Build 3973
  • Add pre-compiled LPeg 0.12 for 32-bit Windows (MinGW).

    Helixhorned r3970 19 Jul, 05:49 Build 3970
  • rename test.elua to test.lua.

    Helixhorned r3969 19 Jul, 05:49 Build 3970
    Show details

    The old extension is an artifact from when I was thought that extensions should label whether a Lunatic module is to be used in internal/external contexts. Also, change test.lua slightly and commit a little updated documentation.

  • General

    Lose the 'packed' attribute on actor_t.

    Helixhorned r3968 19 Jul, 05:49 Build 3970
    Show details

    Its members are already laid out on the natural alignment boundaries. Compilation tested with {32-bit, 64-bit} x {Lunatic, non-Lua} builds.

  • protect global environment.

    Helixhorned r3967 19 Jul, 05:49 Build 3970