commit 6537106e66fe29413e5a5edc3145dcad8f9bb12c Author: Richard Gobeille Date: Thu Mar 23 04:58:25 2023 -0700 Duke3d: allow startup window in Steam big picture mode if the -setup parameter is passed This allows the startup window to be used on Steam-based devices like the Steam Deck without switching to desktop mode. commit e3d151811d184e8b182afbdf51d1641f3a64450f Author: Richard Gobeille Date: Wed Mar 22 12:39:44 2023 -0700 Update gamecontrollerdb.txt commit 2aae853d0aa36dcf976689efad97231833591a6b Author: Richard Gobeille Date: Mon Mar 13 19:00:51 2023 -0700 mimalloc: update to 92556e0e629b0cb59183f264b800cd0f88b14e22 commit d645be959a67cacbdc7ee1f92ba7cd9ea6d2a6f4 Author: Richard Gobeille Date: Wed Mar 22 03:27:21 2023 -0700 audiolib: re-enable mus_xmp_interpolation cvar It looks like there were a couple interpolation related fixes in libxmp since the last time we tried enabling this, so maybe it'll work without crackling and crashes this time. commit bfdf77bf82f89b029926f7c4c4ec03e5eb8c3cc9 Author: Richard Gobeille Date: Tue Mar 21 05:57:11 2023 -0700 audiolib: alter libxmp-lite to use the engine's memory allocation routines instead of the system's commit a41a349bf6285423a1187e7ea207818ee4ca5a0f Author: Richard Gobeille Date: Tue Mar 21 05:23:37 2023 -0700 audiolib: update libxmp-lite to 1cb557ce338e86eb1e911e971fdf93674cd4db3b commit ee2d323fe0682c3b95d8f85509f289502520318c Author: Richard Gobeille Date: Tue Mar 21 01:02:33 2023 -0700 Makefile: this was needed to get automatic dependency generation to work with source files that exist in subdirectories below a target's main source dir, but I don't really like it. commit a04625087402742ab222a7c71277a5ce060168d3 Author: Richard Gobeille Date: Tue Mar 21 01:00:19 2023 -0700 Makefile: parameterize wildcard portion of getfiltered function commit 0eba557375821e04472f558e9260ca0dbe470767 Author: Richard Gobeille Date: Mon Mar 20 08:26:48 2023 -0700 engine: fix bugged hightile skyboxes in polymer when artmapping is enabled commit f32e8aef7b91c8451ca1185ad34185c1486a23d4 Author: Richard Gobeille Date: Thu Mar 16 08:05:56 2023 -0700 engine: bump MAXSPRITESONSCREEN to 4096, add r_maxspritesonscreen cvar, improve handling of cutoff commit fec475c4f3c1dbcbe7ecd0ef374017aca32777cd Author: Richard Gobeille Date: Thu Mar 16 02:09:26 2023 -0700 Duke3d: fix problems with the automatic view angle adjustment for playing without a mouse. This fixes #265. commit 36af1bb2881ac1ec58d6d80142adc12a285fa7d3 Author: Richard Gobeille Date: Tue Mar 14 20:28:31 2023 -0700 Makefile: make using LTO=xx for multithreaded linking work on Windows without the error spew, and default it to 12 threads if unspecified commit 25429273fe2e4c959ea55c971edb67d5fe782b7b Author: Richard Gobeille Date: Tue Mar 14 18:49:58 2023 -0700 engine: update ImGui to 9e30fb0ec1b44dc1b041db6bdd53b130b2a18509 commit 0f598df4cf5d13cacaec1bef31f69e8df6d4f542 Author: Philipp Kutin Date: Thu Dec 22 16:00:03 2022 +0100 samples: add manual test case 'mask_drawing_order.map' commit e90e66e2615cd564012d86f1b6bcbaae0d66dd57 Author: Philipp Kutin Date: Thu Dec 29 19:53:19 2022 +0100 Duke3D: in 'msaveloadtext()', prevent read of 'g_skillNames[-1]', fixing issue #225. Note: 'skill == 0' can be obtained from the command line by either * '-m': "monsters off", or * '-s0': 'ud.m_monsters_off' is *not* set commit 671a7bcb88cba1ba73fdda31545488d73da5c494 Author: Philipp Kutin Date: Thu Dec 29 11:14:12 2022 +0100 Engine: in "draw tsprite before mask?" check, consider tile offsets for sloped sprites. In 'GetCornerPoints()', fix condition for when to use 'get_floorspr_points()' to include sloped sprites as well. commit 5f5ab3f08daaa0b89b00a9cf849a4f1ff0855986 Author: Philipp Kutin Date: Fri Dec 23 17:39:40 2022 +0100 Engine: in "draw tsprite before mask?" check, consider offsets for floor sprites. commit 22d67e275949933d3cc81d6d65219196297567c4 Author: Philipp Kutin Date: Fri Dec 23 15:01:42 2022 +0100 Engine: in "draw tsprite before mask?" check, consider xoffset for wall sprites. (More precisely, in renderDrawMasks()'s check "does the maskwall separate the tsprite center from the camera?".) This provides more reasonable rendering order when the sprite (as drawn) is heavily biased to one side of the maskwall. Note [1]: mask/mask intersections are in general problematic since there is no further subdivision. For opaque objects, the OpenGL modes "work around" the issue thanks to the depth buffer. See: - 'mask_drawing_order.map', the STEAM sprites which by position are all on the other side of the right-hand side fence, but as drawn may or may not be more towards one particular side. (The topmost one with xoffset 50 is the first to be drawn behind it; note that 'picanm[STEAM].xofs == -47'.) - Issue #136, the first example screenshot. However, there, the fence intersects the STEAM sprite quite exactly in the middle (as drawn), so note [1] above applies. commit f657dabfdad13ee7f48d0013b4cb5a02b96f7798 Author: Philipp Kutin Date: Fri Dec 23 12:23:57 2022 +0100 Editor: in 'editorDraw2dSprite()', don't redundantly (over)draw a line. commit 5bc03f3062516b1e4aa6f5db89ace2387b35e6dd Author: Philipp Kutin Date: Fri Dec 23 11:33:48 2022 +0100 Editor: in 'editorDraw2dSprite()', rename '[xy]2' -> 'd[xy]' + other NIFC tweaks. - pull out repeated expression 'spr->ang + angofs' into local 'ang' - tweak 'editorDraw2dScreen()', too commit 7462fa643073b4bc189734e50ac027d098bfe927 Author: Philipp Kutin Date: Thu Dec 22 17:43:19 2022 +0100 Engine: in 'renderDrawMasks()', simplify a condition. commit 98358b469be5eea8a365af2ec2f07102460c48dc Author: Philipp Kutin Date: Thu Dec 22 15:51:23 2022 +0100 Editor: fix "search for named tile" [S] in the tile selection view. commit a9a7441edd8f39e31e3c10c27191dca44f1bca74 Author: Philipp Kutin Date: Thu Dec 22 15:00:50 2022 +0100 Editor: NIFC tweaks around tile selection. Background: "search for named tile" does not work as expected. commit 6fc2c63903934519b64a89406b7ce9ffb82044cd Author: Philipp Kutin Date: Wed Dec 21 19:32:44 2022 +0100 Engine: from 'renderDrawMasks()', pull out 'GetCornerPoints()'. commit ddb6a1afdee377ec072cbc66d250cdffac2ce04a Author: Philipp Kutin Date: Wed Dec 21 16:52:16 2022 +0100 Engine: in mask/tsprite sorting, NIFC tweaks (round 3: common rendering). Meaning the 'while (maskwallcnt) { ... loop over tpsrites ... }' block in 'renderDrawMasks()' that is not conditional on the rendering mode. commit 13d788c1e1cdc68ea8d08a9d15a0ee5822a375de Author: Philipp Kutin Date: Wed Dec 21 12:59:08 2022 +0100 Engine: in mask/tsprite sorting, NIFC tweaks (round 2: +1 local, +3 functions). - 'PolymostPrepareMasks()' - 'PolymostDrawMasks()' - 'DrawDebugSpriteOutlines()' In passing: - Declare once and reuse 'isPolymost' local - In '#if 0'-d debug code, fix an inconsistency and a call by an obsolete function name commit cfb8b5b34b01f0af3a591d454730d0e73f721964 Author: Philipp Kutin Date: Wed Dec 21 12:28:35 2022 +0100 Engine: in mask/tsprite sorting, NIFC tweaks (round 1: clang-format, locals, const). (NIFC: no intended functional changes) commit f8e74f3765145060ffd430e50020e89beb4032c2 Author: Philipp Kutin Date: Wed Dec 21 11:35:32 2022 +0100 Engine+Duke3D: address various UBSan and [-Wunused-but-set-variable] warnings. source/mimalloc/src/options.c:228:3: runtime error: call to function mi_log(char*, void*) through pointer to incorrect function type 'void (*)(const char *, void *)' source/build/src/osd.cpp:1755:44: runtime error: null pointer passed as argument 2, which is declared to never be null source/build/src/glbuild.cpp:296:9: runtime error: load of value 4294967295, which is not a valid value for type 'glsamplertype' source/duke3d/src/gamestructures.cpp:355:125: runtime error: member access within null pointer of type 'DukePlayer_t' ---- Note: we are also getting e.g. > source/build/include/compat.h:1008:72: runtime error: store to misaligned address 0x(...) > for type 'uint32_t' (aka 'unsigned int'), which requires 4 byte alignment due to '-fsanitize=alignment' implied by '-fsanitize=undefined'. This is left as-is. commit c522673ba4bedc7046c142285b045bde352f341b Author: Philipp Kutin Date: Wed Dec 21 11:30:15 2022 +0100 Engine+Duke3d: pull out 'find_usermaphack()', also handling '!usermaphacks' case. Exposed by UBSan, e.g.: source/build/src/engine.cpp:11090:67: runtime error: null pointer passed as argument 2, which is declared to never be null commit 7607d824b31f107fb548a62ddfc40c3feeea98dd Author: Philipp Kutin Date: Wed Dec 21 11:09:35 2022 +0100 Common.mak: drop 'unsigned-integer-overflow' and 'float-divide-by-zero' from 'ASAN_FLAGS'. - 'unsigned-integer-overflow': happens too frequently (and is not UB) - 'float-divide-by-zero': see https://reviews.llvm.org/D63793 and D64317 commit 7b6ed0f2701d22fc62792f1653106acf538cb679 Author: Richard Gobeille Date: Tue Mar 14 18:20:47 2023 -0700 Windows: update libcompat-to-msvc to fix linking against the newest SDL with MSVC commit 1ccfc6fc7853f50034470a8b1a0434aaaecb24bd Author: Richard Gobeille Date: Mon Mar 13 19:49:35 2023 -0700 SDL: update to 20e17559e545c5d3cfe86c1c4772365e70090779 commit bab2b458c4f3277fb3cb117e10d3617b1ab778fb Author: Richard Gobeille Date: Thu Mar 23 05:00:10 2023 -0700 asyncplusplus: use engine memory allocation functions commit 683f1dec948bef6a0fd706160d38c6f43b3ba5c8 Author: Richard Gobeille Date: Mon Mar 13 19:05:44 2023 -0700 asyncplusplus: update to 4159da79e20ad6d0eb1f13baa0f10e989edd9fba commit 62db513f2243c902877163319bfbc9210d0e96ed Author: Richard Gobeille Date: Mon Mar 13 18:56:19 2023 -0700 engine: update minicoro to 8673ca62ed938c0b436bc2a548f172865f65bf1d commit ae9b0d412455e36f22139494daa3e8ca8dbea520 Author: Richard Gobeille Date: Thu Jan 26 22:19:37 2023 -0800 engine: fix Linux home directory detection issue, respect XDG_CONFIG_HOME env var commit 913afa1e850af30ed6ecb72e4b6afa8bf420d653 Author: Richard Gobeille Date: Sun Jan 22 21:22:53 2023 -0800 Duke3d: fix mouse sensitivity slider values, allow a vertical sensitivity of 0 commit 86465b5250641292255e9c47774f180efd4897fb Author: Richard Gobeille Date: Mon Jan 2 15:48:23 2023 -0800 engine: fix crash on old GPUs that don't support GL sampler objects commit 30ef9f1a73f33de1373e6e73045499560b5d7558 Author: Richard Gobeille Date: Thu Dec 29 20:28:05 2022 -0800 voidwrap: Linux build fix commit 637ffe4ad647af3789f3070ee6a32fe8d2b44da5 Author: Richard Gobeille Date: Thu Dec 29 20:03:52 2022 -0800 engine: fix Linux SDL_STATIC=1 builds with newer versions of SDL commit 1a326fa7335f08f2cfcc156b17fbea259622415f Author: Richard Gobeille Date: Tue Dec 13 21:14:44 2022 -0800 Duke3d: remove explicit VM compiler checks at use time for whether a label is a keyword or not This is already covered separately by undefined parameter checks on label use and by keyword checks on label definition. commit 2c6b2ea63ec5d6d45e0a19eb9d744753dd2ad1a7 Author: Richard Gobeille Date: Tue Dec 6 18:25:53 2022 -0800 Duke3d: fix copy/paste error on bounds check in CON_GETPLAYER/CON_SETPLAYER commit bb5ef8ad52730374613c165c926740c437fa4c1d Author: Richard Gobeille Date: Wed Sep 28 14:14:39 2022 -0700 editor: add an EVENT_INIT that fires once per explicit `include` of a script filename from the console (including from within m32_autoexec.cfg) commit 467632cef22dcf681826395ca7dcf5a0ecf3760a Author: Richard Gobeille Date: Sat Dec 17 16:39:55 2022 -0800 engine: this was supposed to be part of 122aee012e7d45c48636d4e38b5af6c37c1ef8ad See https://voidpoint.io/terminx/eduke32 for more details.