EDuke32 Changelog Unofficial archive

Build 9202

26 July 2020 · 36 commits by 1 author · GIT

Builds by month 318 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 · 20200726-9202.txt
commit edac43bc49c62e2f2635adfa7b3a0963a89ab433
Author: Richard C. Gobeille <richard@voidpoint.com>
Date:   Thu Jul 16 03:20:47 2020 -0700

    engine: FORCE_INLINE mutex_lock() and mutex_unlock(), make mutex_try() actually work

commit 4716881b30ef28af9f2cc6dd4e3b10ebee35ad1b
Author: Richard C. Gobeille <richard@voidpoint.com>
Date:   Wed Jul 15 23:51:38 2020 -0700

    engine: return length from printf-style functions

commit a359877b2a01182f06e1db910c660a654a0727a2
Author: Richard C. Gobeille <richard@voidpoint.com>
Date:   Sat Jul 4 06:18:46 2020 -0700

    Duke3d: add an additional layer of camera vec3_t position smoothing across frames
    
    This is intended to mask a slight jitter that occurs when strafing and turning at the same time as a result of turning being decoupled from movement.

commit ca76197c6ca48d4c4b5c86df53d155e45202dbfb
Author: Richard C. Gobeille <richard@voidpoint.com>
Date:   Sat Jul 4 09:42:42 2020 -0700

    Duke3d: testing an alternate version of calc_smoothratio_demo() that returns values based on fractional tics

commit 9f44ddb1d457a2ee948ebfca90afaf40cfc7b378
Author: Richard C. Gobeille <richard@voidpoint.com>
Date:   Sat Jul 4 06:10:13 2020 -0700

    Duke3d: only allow doubled up game updates if we're behind at least 2 tics

commit fc43c0415f56c612a402bd94d4a4108c0dede2c0
Author: Richard C. Gobeille <richard@voidpoint.com>
Date:   Thu Jul 9 03:10:44 2020 -0700

    Duke3d: remove the do {} while (0) from the VM_ASSERT macro
    
    This makes the macro less flexible, but I'm not sure that using __builtin_expect within the loop is doing what I want. I guess I should fire up godbolt.org...

commit 6dc2eaeae6873846e892f74b3188de0fb34a1de4
Author: Richard C. Gobeille <richard@voidpoint.com>
Date:   Thu Jul 9 03:08:44 2020 -0700

    engine: re-enable EDUKE32_PREDICT_TRUE and EDUKE32_PREDICT_FALSE

commit cc9b2236937a81d74ad8241a0dc719ecd6bfc4d0
Author: Richard C. Gobeille <richard@voidpoint.com>
Date:   Thu Jul 9 04:49:16 2020 -0700

    Duke3d: remove a few instances of EDUKE32_PREDICT_FALSE

commit 92ea05b36d0df5065376a4f9455b5b6152030ea1
Author: Richard C. Gobeille <richard@voidpoint.com>
Date:   Tue Jun 30 22:55:14 2020 -0700

    Duke3d: remove "printtimes" console command
    
    This information is pretty much useless compared to using the profiler.

commit 0ef58149893e6bf10262b4882e2d2e2f707f763b
Author: Richard C. Gobeille <richard@voidpoint.com>
Date:   Fri Jul 3 03:11:33 2020 -0700

    engine: #define EDUKE32_UNREACHABLE_SECTION as debug_break() in DEBUG builds

commit dd7594f82c727723fba8745ff1fb0d65145911ac
Author: Richard C. Gobeille <richard@voidpoint.com>
Date:   Fri Jul 3 03:21:33 2020 -0700

    Duke3d: split [get/set][wall/sector] into separate opcodes for direct access through VM_GetStruct()/VM_SetStruct()
    
    This makes them match [get/set]actor.

commit ec55c692c432dd8b62a8c1fd704c1560020e9893
Author: Richard C. Gobeille <richard@voidpoint.com>
Date:   Thu Jul 2 15:26:17 2020 -0700

    Remove etcpak

commit f5550063c98766e7acf66e49b381bd3ae6553655
Author: Richard C. Gobeille <richard@voidpoint.com>
Date:   Thu Jul 2 13:05:30 2020 -0700

    Duke3d: replace outdated "gamepad" terminology in menu with "controller"

commit d8323c7d148c3286c18c1c0fc3e41c961bcb3509
Author: Richard C. Gobeille <richard@voidpoint.com>
Date:   Tue Jun 30 20:07:26 2020 -0700

    Duke3d: make frag[] in DukeStatus_t unsigned

commit 9a9750fdec64d23e6709d6bb996be2f6152ae8ce
Author: Richard C. Gobeille <richard@voidpoint.com>
Date:   Tue Jun 30 20:59:38 2020 -0700

    Duke3d: add STR_REVISION to CON_QGETSYSSTR
    
    It returns the binary's revision string without the "r".

commit 13342dcb35a2df82362af1294320b1f431678bc7
Author: Richard C. Gobeille <richard@voidpoint.com>
Date:   Mon Jun 29 17:37:24 2020 -0700

    Duke3d: allow setting the scale for the mouse axes to 0

commit 976a53631cb58c8056a11e2077ed4bf2a2d95489
Author: Richard C. Gobeille <richard@voidpoint.com>
Date:   Mon Jun 29 16:22:40 2020 -0700

    Duke3d: update the types of the player's .horizAngleAdjust and .horizSkew to match current usage

commit 86219e11b68a467fe90e80c774afabb11f5aebf1
Author: Richard C. Gobeille <richard@voidpoint.com>
Date:   Mon Jun 29 13:51:00 2020 -0700

    Duke3d: remove dead function prototype

commit d59d0077c8ed6ac649cafd234bbe82b2ab17fc68
Author: Richard C. Gobeille <richard@voidpoint.com>
Date:   Sun Jun 28 09:52:40 2020 -0700

    engine: more fix16 cleanup
    
    There's an optimization or two in here, but tbh I just like deleting shit.

commit 2723852d717db8ef469c5d333a4acc8333a5258c
Author: Richard C. Gobeille <richard@voidpoint.com>
Date:   Sun Jun 28 09:37:30 2020 -0700

    Duke3d: don't invalidate TILE_SAVESHOT until after G_ReadGLFrame() and don't set the cache1d entry lock byte to the unlocked state until the data has actually been used

commit 3a06b402f5c2e395fb6b53ce91cb179adcc26aa9
Author: Richard C. Gobeille <richard@voidpoint.com>
Date:   Sat Jun 27 08:10:33 2020 -0700

    Duke3d: fix issues with the player looking up/down after loading a save
    
    This limits the output of scaleAdjustmentToInterval() to a maximum of one second worth per frame drawn, clamps q16horizoff to the same range as q16horiz, and zeroes the last input clock after loading.

commit 2b7c5d8261c47450cb96e2e35e24b4bbf71d0055
Author: Richard C. Gobeille <richard@voidpoint.com>
Date:   Sat Jun 27 12:31:56 2020 -0700

    Duke3d: fix potential OOB memory access through player .wackedbyactor member

commit 24e5d5fc15bde29de7d6ced1a919dc76f6a8987e
Author: Richard C. Gobeille <richard@voidpoint.com>
Date:   Fri Jun 26 22:44:36 2020 -0700

    engine: add an extra clipupdatesector() call before returning from clipmove() in ENGINE_EDUKE32 mode

commit da1ee581805e3561077ddef15fba77daa7a408cd
Author: Richard C. Gobeille <richard@voidpoint.com>
Date:   Fri Jun 26 22:38:54 2020 -0700

    Duke3d: mark in_mousebias cvar as deprecated

commit 68257c79f63d73fd236387d6cfffe1e84ac89ee1
Author: Richard C. Gobeille <richard@voidpoint.com>
Date:   Fri Jun 26 09:02:52 2020 -0700

    Build fix

commit 29354854787acffb62e12082053df086e7b8e010
Author: Richard C. Gobeille <richard@voidpoint.com>
Date:   Wed Jun 24 17:06:29 2020 -0700

    Mapster32: fix compilation warning in release builds

commit 5ac27a96c2a2b8a3c8d7d527ff9d4c35a7366efc
Author: Richard C. Gobeille <richard@voidpoint.com>
Date:   Tue Jun 23 17:02:56 2020 -0700

    engine: update miniz
    
    This doesn't change any functionality for us and the only benefit is in our copy being closer to current upstream.

commit 794b346d2022d45ad0600f0b6bd7e72154f0ac85
Author: Richard C. Gobeille <richard@voidpoint.com>
Date:   Tue Jun 23 02:17:34 2020 -0700

    engine: fix microprofile warnings
    
    Some of these fixes aren't optimal, but I'm not exactly looking to make heavy changes here.

commit 6a452a53b8123ac3653f4730dc4c3b542b9248c3
Author: Richard C. Gobeille <richard@voidpoint.com>
Date:   Mon Jun 22 04:42:50 2020 -0700

    engine: add microprofile (https://github.com/zeux/microprofile)
    
    Build with "make MICROPROFILE=1" and browse to http://localhost:1338 to use. A pass over it to fix warnings will probably be in a future commit.

commit 494a13572af5ae9c58eecccad7b3a56b64695f2a
Author: Richard C. Gobeille <richard@voidpoint.com>
Date:   Mon Jun 22 03:23:33 2020 -0700

    glad: add GL_ARB_timer_query

commit 694f5c841aa9c7b11955ce9b3877171b67eb56e3
Author: Richard C. Gobeille <richard@voidpoint.com>
Date:   Wed Jun 24 13:59:49 2020 -0700

    Duke3d: move CON_SETVAR_GLOBAL/PLAYER/ACTOR out of #ifdef CON_DISCRETE_VAR_ACCESS
    
    These were verified as being useful via profiling.

commit 363fb9329f22497ba1bff2800e9bce80a3d461e0
Author: Richard C. Gobeille <richard@voidpoint.com>
Date:   Sat Jun 27 04:19:17 2020 -0700

    engine: use libdivide in fix16_div()

commit e14fc8457089353a01e0678983c2a2b22a8b480d
Author: Richard C. Gobeille <richard@voidpoint.com>
Date:   Sat Jun 27 04:17:39 2020 -0700

    engine: remove some leftover declarations for fix16 functions we don't have

commit f5b6270f99af754a2339e402187f66249eff5ef2
Author: Richard C. Gobeille <richard@voidpoint.com>
Date:   Wed Jun 17 23:44:12 2020 -0700

    engine: combine rotatepoint() output into single write

commit f89ca040625fcf134c3901c88f904895e5e10b3f
Author: Richard C. Gobeille <richard@voidpoint.com>
Date:   Wed Jun 17 23:42:13 2020 -0700

    engine: shitcan zerovec and add rotatevec()

commit 2c94362a9861b94923c02b8620a86a32f498e34f
Author: Richard C. Gobeille <richard@voidpoint.com>
Date:   Wed Jun 17 23:40:57 2020 -0700

    engine: FORCE_INLINE compat_maybe_truncate_to_int32()

See https://voidpoint.io/terminx/eduke32 for more details.

add an additional layer of camera vec3_t position smoothing across frames

Richard Gobeille (TerminX) 4 Jul 2020, 06:18 UTC−7 a359877

This is intended to mask a slight jitter that occurs when strafing and turning at the same time as a result of turning being decoupled from movement.

remove the do {} while (0) from the VM_ASSERT macro

Richard Gobeille (TerminX) 9 Jul 2020, 03:10 UTC−7 fc43c04

This makes the macro less flexible, but I'm not sure that using __builtin_expect within the loop is doing what I want. I guess I should fire up godbolt.org...

Duke3D Engine

split [get/set][wall/sector] into separate opcodes for direct access through VM_GetStruct()/VM_SetStruct()

Richard Gobeille (TerminX) 3 Jul 2020, 03:21 UTC−7 dd7594f

This makes them match [get/set]actor.

don't invalidate TILE_SAVESHOT until after G_ReadGLFrame() and don't set the cache1d entry lock byte to the unlocked state until the data has actually been used

Richard Gobeille (TerminX) 28 Jun 2020, 09:37 UTC−7 2723852
Duke3D Fix

fix issues with the player looking up/down after loading a save

Richard Gobeille (TerminX) 27 Jun 2020, 08:10 UTC−7 3a06b40

This limits the output of scaleAdjustmentToInterval() to a maximum of one second worth per frame drawn, clamps q16horizoff to the same range as q16horiz, and zeroes the last input clock after loading.