NBlood - r13547 - Built: Sat May 27 21:23:01 UTC 2023 --- commit 231e1c122425a217d2c4c7e49849abfff5235ca1 Author: Evan Ramos Date: Sat May 27 06:16:32 2023 -0500 Saturation See 5924cd30096cf6ab67b0ffd09672175c41f2d880 commit 9200b204e38aac09865a19c4d9346becc4e7fdaa Author: Evan Ramos Date: Sat May 27 06:05:36 2023 -0500 Blood: Remove win_priorityclass aka win_boostpriority from app_main commit 2a8bbae9fdbb66f7c33521b8e75e19347ee20b7b Merge: 4ec6d500e 237ce7d72 Author: Evan Ramos Date: Sat May 27 06:01:40 2023 -0500 Merge remote-tracking branch 'eduke32/master' commit 237ce7d725017224a7fa197333aa6efde0b817bc Author: NY00123 Date: Fri May 12 17:03:27 2023 +0300 samples: Add screentext.con as previously present under source/duke3d/src/lunatic commit 8139007c2223cbf43c8502a05c4cbce8567ca2cf Author: Evan Ramos Date: Sat May 27 01:59:25 2023 -0500 KenBuild: Replace startup window with working code from SW commit 617196a081be1a1e4e1778858b6cf181f12930b0 Author: Evan Ramos Date: Sat May 27 01:58:59 2023 -0500 KenBuild: Add macOS .app bundles commit 6743dd036eedfa428b8db14bbdbe3792f1b870cd Author: Evan Ramos Date: Sat May 27 01:58:40 2023 -0500 KenBuild: Replace space in editor's proper name with hyphen commit e81dd484b3e08d5f3471f0f6fd91b01e5a7dd583 Author: Evan Ramos Date: Sat May 27 01:29:23 2023 -0500 Fix logic of voxflags lookup in polymost_voxdraw, avoiding OOB access commit 87a67abdcd79f871786de95e099337584eeec2aa Author: Evan Ramos Date: Sat May 27 00:43:50 2023 -0500 voxmodel: Cleanup in gloadtex, loadvox, loadkvx, loadkv6 commit 8298dd307692a50cc6eab279a460111ac6e273de Author: Evan Ramos Date: Sat May 27 00:11:54 2023 -0500 voxmodel: Factor out variables in setzrange This was in preparation to fix a signed integer overflow, but SW is full of them, so I'm not going to bother for now. runtime error: negation of -2147483648 cannot be represented in type 'int'; cast to an unsigned type to negate this value to itself commit 9cdd3aff4d23ee92ccf5d32b2dc64dad250eb5df Author: Evan Ramos Date: Fri May 26 23:45:56 2023 -0500 Fix a small number of whitespace issues commit b8f3ead321a8a7274747e851c3835bf383e4b743 Author: Evan Ramos Date: Fri May 26 23:45:29 2023 -0500 Mark nextPow2 CONSTEXPR_CXX14 due to while loop commit e568a423650966fc82814abf4dc34ffad9b8fb67 Author: Evan Ramos Date: Fri May 26 23:39:56 2023 -0500 Avoid signed integer overflow in calc_smoothratio 37416553 * 60 cannot be represented in type 'int' commit 2f5ab41041548945e3f7c10a268c72428c725180 Author: Evan Ramos Date: Fri May 26 23:20:07 2023 -0500 Bail from buildgl_resetSamplerObjects if !samplerobjects Avoids null pointer deference on glIsSampler commit 49f5bb3d020a786af11903f93ec7cdd26a2a0c20 Author: Evan Ramos Date: Fri May 26 22:41:07 2023 -0500 macOS: Use Xstrdup in osxbits.mm Avoids ASan failures commit ce682360d7421f24c0d5a64da3596049d99f8249 Author: Evan Ramos Date: Fri May 26 22:24:51 2023 -0500 macOS: Implement startwin_isopen See commit b689f9974f32acfa6200ba354ee2e21aea10702d See commit b2e15923a6690653cd51255e839d081551817187 Or, see `git log -S startwin_isopen` commit 21f6ddbb1f006ebe122335c0466ee63b5ae57680 Author: Evan Ramos Date: Fri May 26 22:14:06 2023 -0500 Makefile: Disable LF on macOS commit 74bb1083e767dd4c55ac54264f7c0e1c4d19bc83 Author: Evan Ramos Date: Fri May 26 22:09:33 2023 -0500 Makefile: Improve LF thing commit d66c843f4665da96646c6a4cb997381a14f01d38 Author: Evan Ramos Date: Fri May 26 21:55:11 2023 -0500 Makefile: Add consideration of IMPLICIT_ARCH=arm64 to logic Fixes warning: -read_only_relocs cannot be used with arm64 commit 0cdfdfc06aa7a31991756cc6ce032d31800aae8d Author: Evan Ramos Date: Fri May 26 21:45:58 2023 -0500 Makefile: Don't use LLD on macOS commit d42fe70294beaa12c166d4eb0fcfe9f60e458f30 Author: Evan Ramos Date: Fri May 26 21:43:39 2023 -0500 Makefile: Use correct location of Homebrew when building on Apple Silicon commit d3719deb6a084c93c17c4060b840009192eac1db Author: Evan Ramos Date: Fri May 26 21:24:12 2023 -0500 macOS: Remove 2D mode selection from editor startup window See commit 495475a6057579e82a8536ca2cf3d73d9f08bf27 commit 8f8a930eec8b440a8e7eb364027337008b18d848 Author: Evan Ramos Date: Thu Dec 2 19:37:08 2021 -0600 ebacktrace: Slightly improve generation of ExceptionPrinted message commit d9586a4e60ea21997c263a65ad53e6961243e55c Author: Evan Ramos Date: Thu Dec 2 19:34:00 2021 -0600 ebacktrace: Fix warning: 'strncpy' specified bound 260 equals destination size [-Wstringop-truncation] commit a610fe0bb77d51c9f3c3782ab0d1868057f3cabf Author: Evan Ramos Date: Thu Dec 2 19:33:28 2021 -0600 ebacktrace: Add stub for libintl_asprintf commit 6f21dba74fca02e1fcec3fb73d526ae68c278673 Author: Evan Ramos Date: Thu Dec 2 19:33:05 2021 -0600 ebacktrace: Replace bfd_get_section_{flags,size,vma} with bfd_section_* commit 7ca25e437514a1e6920e5db47a21f9c317dfcecc Author: Richard Gobeille Date: Tue May 16 20:14:56 2023 -0700 editor: improve 2d mode sprite color calculation to avoid returning illegible colors commit 15ba761fa35d347ea2b07c5ba01bb38c05b7dcb9 Author: Richard Gobeille Date: Wed May 10 13:57:06 2023 -0700 Fury: change crouch jump handling to short-circuit CON VM "ifp pducking" instead of short-circuiting how the player code chooses which autostep value to use commit a79c95a1c51d59d0fe2d8f5246643e5a25334b7f Author: Richard Gobeille Date: Wed May 10 13:54:01 2023 -0700 engine: make FATAL and ERROR level log messages purposefully screw up the log formatting a little bit so they stand out more commit 9863ccc8af312d96f3b894aa8f6c9b5410086dfa Author: Richard Gobeille Date: Wed May 10 13:49:04 2023 -0700 editor: set asksave to 0 when saving from menu commit 6a17ae1d4ff3793945fb7d406f7b29f0f6ee7aa8 Author: Richard Gobeille Date: Sat May 6 01:30:46 2023 -0700 Duke3d: add floorzcutoff and floorzrebound player members to control additional aspects of how the player's position reacts to traversing sectors with differing floor heights Not recommended to use these in mods until after Ion Fury: Aftershock ships because they might still change some. commit a09df6ceea240c8ece40c0d82f20c75dacad2aec Author: Richard Gobeille Date: Wed May 3 23:19:43 2023 -0700 Duke3d: add cl_kickmode cvar to select between 1.3D or 1.4+ quick kick behavior ;) commit 64fc46bd43bec127b463eae9b745ac1c9f99444a Author: Richard Gobeille Date: Wed Apr 19 21:43:55 2023 -0700 engine: CONSTEXPR nextPow2 commit 4203dd01d1f91df94956fa18c955edf2ffea03a5 Author: Richard Gobeille Date: Tue May 2 07:39:57 2023 -0700 engine: fix warning commit 9dc39417df6bc3187a22ff89b3bed1160abffc13 Author: Richard Gobeille Date: Tue May 2 07:39:36 2023 -0700 Makefile: silence libxmp warnings commit b58dd86f50a045fae21494eee61a9ddf48b1fd0f Author: Richard Gobeille Date: Mon May 1 01:06:27 2023 -0700 Duke3d: fix overlapping cl_showcoords text, enable sprite counters w/ cl_showcoords 2, add cl_showcoords 3 for the previously unreadable rendering cvar printouts commit 84fe67ca1fcfbc37a751d8bc59ace21f86973d7c Author: Richard Gobeille Date: Mon May 1 00:53:28 2023 -0700 Duke3d: fix minor bug with visibility menu option commit 8111de3ee8fcfd6ecaeb261040001f62eff83603 Author: Richard Gobeille Date: Fri Apr 28 04:35:51 2023 -0700 engine: odd-numbered SDL patch levels aren't dev snapshots anymore commit 7cdc2a1682851b67bd04b86369569ecf5fe2a7fc Author: Richard Gobeille Date: Fri Apr 28 04:21:35 2023 -0700 Windows: SDL 2.26.5 commit 1259cc45dc2685472b77aedffdaba8513e4e3570 Author: Richard Gobeille Date: Thu Apr 27 20:42:41 2023 -0700 mimalloc: update to 53433225d3c506b883156230e6f12b2af4296c3b commit 7857a87e398351aab2cc1c32bcf446086c824994 Author: Richard Gobeille Date: Wed Apr 26 03:23:22 2023 -0700 VS: disable ASan in 64-bit debug commit 8a90bce05047c0eee2fe40748e4c08532742f8b4 Author: Richard Gobeille Date: Fri Apr 21 15:53:53 2023 -0700 Fury: fix status bar size menu option regression commit e8cdd3c7ca3634bc7f46d8167250f430c775e777 Author: Richard Gobeille Date: Mon Apr 17 17:53:42 2023 -0700 Duke3d: fix SE40 drawing oversight found when porting the current version of the effect to the editor commit 9a205c3ce2d74f2baa39860d495847ca8fce8a9b Author: Richard Gobeille Date: Tue Apr 11 18:17:25 2023 -0700 engine: move tile size check in maskwallscan() to occur after the call to setgotpic() like the rest of the drawing functions commit 530543d90b6689fbc151765f8643a4c4f9c4b64f Author: Richard Gobeille Date: Mon Apr 10 18:47:53 2023 -0700 engine: fix warning commit e1808f2a42df577bcc26c7f4f18072db27a0c32e Author: Richard Gobeille Date: Mon Apr 10 20:19:15 2023 -0700 editor: add Ctrl+Alt+W hotkey to toggle clipping of sprite insertions against blocking sprite geometry instead of hitscan commit fd74f07dfe4e676eca42ec8e445095bb272db995 Author: Richard Gobeille Date: Mon Apr 10 15:00:25 2023 -0700 Duke3d: this should be a bitmap commit 44f4131b112319f38c269760f83fa31138fdf0b9 Author: Richard Gobeille Date: Mon Apr 10 14:25:49 2023 -0700 Duke3d: this is hilariously incorrect. commit 2f323f5618c3fc3400302ea0951149a4329b9c9e Author: Richard Gobeille Date: Mon Apr 10 11:36:14 2023 -0700 editor: fix m32script crash commit 3091f8bdb79651ecd1594c24acf012a0505a194c Author: Richard Gobeille Date: Mon Apr 10 11:02:30 2023 -0700 editor: add file drop callback/SDL_DROPFILE support commit b0780fa0801b2f16c71fff17f4d01bd8f0db9e23 Author: Richard Gobeille Date: Mon Apr 10 07:56:13 2023 -0700 editor: add Ctrl+Alt+R hotkey to toggle the display of grayed-out sectors commit 927eaf676cd613233003e8af9d3a400d11951696 Author: Richard Gobeille Date: Mon Apr 10 07:11:19 2023 -0700 editor: skip showing the radii of ambient sounds within grayed-out sectors commit 7d6e83892cecc31b7bb43fafecd9fafe37c7a54f Author: Richard Gobeille Date: Thu Apr 6 18:49:21 2023 -0700 Makefile: fix problems with 36af1bb2881ac1ec58d6d80142adc12a285fa7d3 and ee2d323fe0682c3b95d8f85509f289502520318c Now I like it even less, ha. commit 2d5a7500d720f11bb99ff48b3d27799319911118 Author: Richard Gobeille Date: Wed Apr 5 11:01:30 2023 -0700 engine: handle a couple edge cases not covered by ae9b0d412455e36f22139494daa3e8ca8dbea520 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 commit ef5f15e456e70a9a65a4623795b74a353c1157aa Author: Ricardo Garcia Date: Tue Mar 14 17:41:13 2023 -0700 Duke3D: Fix overwrite confirmation appending to save name commit 1a90b98832b7b3cc9ab6ec04e320dbf64744e9e3 Author: Mitchell Richters Date: Fri Oct 7 19:50:50 2022 +1100 - Duke3D: Ensure player maintains velocity when going through a portal. * The current setup that's been long-standing has the player come to a complete stand-still for one tic while transiting through a portal. * By saving off the velocity difference between the player's pos/opos, we can re-apply that to opos to make the portal transition truly seamless. commit 122aee012e7d45c48636d4e38b5af6c37c1ef8ad Author: Jordon Moss Date: Sun Dec 25 21:06:43 2022 -0400 Apply TerminX's rotatesprite interpolation fix. (Fixes interp jitter when framerate is over 120fps) commit a9c797dcb60d4dfa2e21aed09e498132e59282ba Author: NY00123 Date: Fri Oct 21 12:51:56 2022 +0300 Engine: If 8-bpp mode couldn't be initialized using GL, retry without GL (sdlayer.cpp). commit 810e1c13f0468164960112f177452bc4e9783c57 Author: NY00123 Date: Thu Oct 13 17:42:45 2022 +0300 kextract/kgroup: Add call to engineCreateAllocator. This was required for kgroup's call to Bopendir. commit 2b3f691cd80897cd875cd92679784e71e5513c6e Author: Dino Bollinger Date: Sun Sep 25 21:40:44 2022 +0200 Engine: findfrompath() with empty filename immediately returns -1 Fixes a bug where an empty filename is interpreted as the current directory "./", which of course always exists. commit fd9212c4335a07858cfff86add5d1c754d3d71de Author: Dino Bollinger Date: Sun Sep 25 21:10:11 2022 +0200 Engine: Use AppTechnicalName instead of AppProperName for log filename commit 1585e73fc9031344e623c0eec51c1d12335bb10d Author: Richard Gobeille Date: Wed Sep 14 15:09:48 2022 -0700 engine: fix polymost masked wall regression introduced in fd598dfe12c6d0af6c65a96b4ee9450e7c1472ec commit b55eca7f8f4f9c7d09de6847be73f2aa52c1a0ef Author: Richard Gobeille Date: Sun Sep 11 14:52:05 2022 -0700 engine: revert more of 8cc49790938f2419c885167cdb6b732d165191fb commit 3b1e9e866b619651671721a4ed9088931607dc15 Author: Richard Gobeille Date: Sun Sep 11 16:32:00 2022 -0700 engine: bail out of voxcache_fetchvoxmodel() if the offsets found in texturecache.index don't lead to the expected data commit d6813b1531db54e9809b8038773961a2de48f342 Author: Richard Gobeille Date: Fri Sep 9 16:58:53 2022 -0700 engine: disable the rainbow background in the editor in yax_drawrooms() commit 22f707f9c57dda54ec9f3b04837c3eb0b43e4a00 Author: Richard Gobeille Date: Fri Sep 9 16:03:46 2022 -0700 engine: don't attempt to tear down ImGui in destroy_window_resources() if we didn't even make it far enough through initialization to get it set up commit b041aee1956e9479539201c442115bb3a8cb5827 Author: Richard Gobeille Date: Thu Sep 8 14:19:20 2022 -0700 engine: fix vox2poly crash caused by part of 8cc49790938f2419c885167cdb6b732d165191fb This worked with all of the voxels I tested it with, but caused issues with some in Alien Armageddon. commit 68c0a8602bedd9b97d886385e56a91c8d9f99ad8 Author: Richard Gobeille Date: Fri Sep 9 12:17:47 2022 -0700 engine: fix polymost crash commit 074a5d6353e9b30e03ff3a58cb55ca334d8ee470 Author: Richard Gobeille Date: Thu Aug 25 14:47:58 2022 -0700 engine: fix warning commit 5430325dea3284619ff336f4c12a0b71e177e7d8 Author: Richard Gobeille Date: Sat Aug 6 12:12:31 2022 -0700 engine: fix a couple of Windows API error messages to match the others commit 32742cb382fd22d42ef1f12d2a093605bfe27e9d Author: Richard Gobeille Date: Tue Aug 2 10:49:42 2022 -0700 asyncplusplus: update to bf6c7abd7f315d7f5838ef45f62f5febdce339f2 commit 24bcc8639ecaaa0fb59a2ded440a0461a5b6c655 Author: Richard Gobeille Date: Sun Jul 31 14:16:57 2022 -0700 engine: enable mimalloc abandoned_page_reset option and call mi_collect() during enginePrepareLoadBoard() commit e957ae57c36b982970ec611f082046cf52930184 Author: Richard Gobeille Date: Fri Jul 29 06:47:27 2022 -0700 engine: rework win_systemtimermode stuff, enable by default commit b97e71d997b10746e2af983b1e283934131784af Author: Richard Gobeille Date: Tue Jul 26 08:00:41 2022 -0700 engine: remove precompiled SDL2 and libvpx for Windows on ARM64 The rationale here is that it's better to provide the build instructions for these libraries (as we already do) with no binary than it is to provide outdated binaries that don't actually match the provided headers anymore. commit 511fb13a7eeab1f7a902c76916c17418f507d62d Author: Richard Gobeille Date: Fri Jul 22 22:16:13 2022 -0700 engine: use Windows MMCSS API to hint to the OS that we are, in fact, a game commit 3ac262b084e91d08ec88fd6bcc5ffb3b3a9c80ea Author: Richard Gobeille Date: Fri Jul 22 21:53:34 2022 -0700 engine: cheap hack to detect if we're using the editor or not commit a136b019acbdd69ed8472a6dcd8d35798a238fda Author: Richard Gobeille Date: Tue Aug 2 09:49:46 2022 -0700 engine: fix issue where sometimes the window didn't think it was focused at startup until focus was lost and regained commit 2906db3fe6f8f133b7c5764e859e92a6a76d27a4 Author: Richard Gobeille Date: Tue Aug 2 09:49:34 2022 -0700 engine: rename win_priorityclass cvar to win_boostpriority and make the accepted range of values a bit saner commit fb33221013bcec24b8543663cc5c70269b2e4b2f Author: Richard Gobeille Date: Wed Jul 20 22:24:56 2022 -0700 VS: standardize platform toolset and language settings commit de0da8afb9c36b8b31bfa4c5093d87a59154ae95 Author: Richard Gobeille Date: Mon Jul 18 05:55:22 2022 -0700 Makefile: make -frounding-math clang-only We were only using this to make clang behave like GCC, but some versions of GCC are bugged such that enabling -frounding-math prevents them from correctly handling constexpr float values determined at compile time. commit 0e45842ec7711bb2525493b02e05ea7bc326d8de Author: Richard Gobeille Date: Tue Jul 26 09:10:15 2022 -0700 engine: re-enable voxel model mipmaps in software mode with some changes: -Missing mip levels are now drawn by scaling the highest mip level present in the file, not just taking mip 0 when e.g we want mip 4 but 0-3 are available -Algorithm for determining which mip level to use has been adjusted to bias for rendering quality and not just speed (e.g don't display the chunkier mip levels at such close distances) -Mip levels other than the default are now run through a conversion process that standardizes the colors used based on those found in mip 0, to work around issues where the mip levels ended up with fullbright colors substituted in place of regular palette entries when the mips were originally generated by SLABSPRI/SLAB6 -Add terrible heuristic for mip level rejection based on how many visible voxels are present in the higher mip level versus the lower mip levels for the same voxel. This is intended to work around issues where SLABSPRI and SLAB6 both generated their mips by removing cubes a bit too liberally, resulting in any feature of the model that was only 1 voxel thick being completely obliterated by the mip generation process. This can be observed by setting r_novoxmips to 0 in older builds and viewing 8756_FLOORLAMP_ON.kvx from Ion Fury 2.0 or earlier at various distances in-game. Without this heuristic, poorly generated mip levels that end up obliterating the entire lampshade are drawn. commit 8cc49790938f2419c885167cdb6b732d165191fb Author: Richard Gobeille Date: Wed Jun 29 22:56:10 2022 -0700 engine: minor speed improvements to the voxel -> model conversion process Not particularly exciting or useful now that the converted versions are cached. commit 617ceff13dd9f87d0e170996a4e3896cc80b381c Author: Richard Gobeille Date: Wed Jun 29 17:39:35 2022 -0700 engine: revert part of e8ea24b8abb701e69be2bb0ab211d7aa8fd8c6e5 commit 84484f5a8b0dbbaec8a4539edc9e2febf04fc571 Author: Richard Gobeille Date: Wed Jun 29 17:37:36 2022 -0700 engine: remove misplaced MAY_ALIAS commit f6ab7c7e43c89f2ebe35e695ae0c271bf84b1419 Author: Richard Gobeille Date: Sun Jun 26 23:35:46 2022 -0700 engine: don't try to draw voxels in polymer, because we don't support that yet commit 4b58caf50fde1081102581b59af8b8389df0335c Author: Richard Gobeille Date: Sun Jun 26 21:47:07 2022 -0700 engine: support sprite and masked wall blending modes in polymer commit 80c7a5358b794dae3d67925cb976128ca11ccb90 Author: Richard Gobeille Date: Tue Jul 26 08:51:15 2022 -0700 engine: stupid polymost_bufferVert() optimization commit 747a0a45513e3128ccb84371ad09fa66e55985a7 Author: Richard Gobeille Date: Sun Jun 26 20:27:31 2022 -0700 loguru: add a handful of fixes from upstream commit 0ce08032eeb56397ca88d17ae5eac5721e5a5805 Author: Richard Gobeille Date: Fri Jun 24 23:59:37 2022 -0700 engine: slightly less terrible branching in gloadtile_art() and gloadtile_hi() commit fd598dfe12c6d0af6c65a96b4ee9450e7c1472ec Author: Richard Gobeille Date: Fri Jun 24 23:48:05 2022 -0700 engine: GL state fixes Fixes textures with fullbright pixels being drawn completely bright when texture filtering is enabled, and a couple other issues. commit b188ee81d3268451da9593f11f67673002ee6555 Author: Richard Gobeille Date: Fri Jun 24 23:33:33 2022 -0700 engine: fix bug in polymost_spriteHasTranslucency() commit 89a22666975dc0fa7e085b4d8eaae80172c5bf5b Author: Richard Gobeille Date: Fri Jun 24 19:30:52 2022 -0700 engine: reset less polymost/GL state between model and voxel draws commit 8405e59be3695e5b154760dcfb9f62d93fe0d417 Author: Richard Gobeille Date: Mon Jun 6 19:33:13 2022 -0700 Makefile: rework to use exclusion lists instead of inclusion lists for determining which objects to use as part of the build Benefits: almost 200 lines deleted from the Makefile, new source files added to the project require no additional setup. Drawback: you can't leave random shit with .c or .cpp file extensions laying around your source directories (sounds more like another benefit tbh). commit 57bc78d7fa2bba7bba5a1bbd63190bbe63000b3d Author: Richard Gobeille Date: Tue Jun 21 14:03:21 2022 -0700 engine: clipping change: attempt to apply 5f50a454a65c2e8ecd11ad9aedf6623893ce2f6c to sprites and not just walls Something somewhere is still fucked, though (and was before this commit) commit 29b18757c99bf9cbda702e0edc1017eda06c4d5b Author: Richard Gobeille Date: Tue Jun 21 13:31:09 2022 -0700 engine: redo vector types to use templates commit 0ec92adc4d21330e0d242b32ba3e1a6754b7e6e8 Author: Richard Gobeille Date: Mon Jun 13 09:43:26 2022 -0700 VS bullshit commit 4b8d181e66b71f606f0b6a247ce292d017646877 Author: Richard Gobeille Date: Sat Jun 11 10:14:22 2022 -0700 engine: fix bug where sometimes samplers would still end up bound to texture units after render mode switches commit 308172f83b122c81b06c0408840ee5782ab25184 Author: Richard Gobeille Date: Sat Jun 11 00:24:33 2022 -0700 Duke3d: resolve defects in sound system commit d54194b61cb5331a4d6e3f8ed76643de4a6c4e5c Author: Richard Gobeille Date: Fri Jun 10 04:34:40 2022 -0700 audiolib: add useCallBack parameter to FX_StopSound() and FX_StopAllSounds() (and, by extension, MV_Kill() and MV_KillAllVoices()) commit 7721f0c02936648b0963effd4c7004436beabae7 Author: Richard Gobeille Date: Wed Jun 8 05:03:05 2022 -0700 Makefile: enable ASan with FORCEDEBUG=1, not just FORCEDEBUG=2 commit 9976fb4b0d2e8d31e84694090c1f27cc73614b49 Author: Richard Gobeille Date: Mon Jun 6 18:00:15 2022 -0700 engine: small polymost shader optimizations commit 7d6a28a6b4332a5619d5bcee5c8a4142f60726c6 Author: Richard Gobeille Date: Sun Jun 5 20:31:27 2022 -0700 engine: polymer shader optimizations commit 6084e2401edd7793c2656c107df13cbf0efda698 Author: Richard Gobeille Date: Wed Jul 27 19:41:29 2022 -0700 engine: render polymer .art skies with materials commit 5924cd30096cf6ab67b0ffd09672175c41f2d880 Author: Richard Gobeille Date: Wed Jul 27 19:40:37 2022 -0700 engine: implement gamma correction as shader instead of via system gamma ramp manipulation commit 9ae924b98be227dd2c3993268a40af1a61055f7e Author: Dino Bollinger Date: Tue Jul 26 00:28:20 2022 +0200 Duke3D: Fix a minor animation bug with SHOTGUNSHELL sprites Found by Nuke.YKT commit 06150c1f2f65a802fdcdb9604444ed0be5bb5737 Author: NY00123 Date: Sun Jul 10 23:50:51 2022 +0300 sw/src/game.h: Remove declaration of CommPlayerName, now conflicting with extern "C" declaration from config.h. The "extern" itself isn't needed, but this is a good chance for removal. commit c6301cdf0f948d8d76f8b9387243235b7a1918ad Author: Jonathon Fowler Date: Sat Dec 19 13:50:33 2020 +1000 SW: correctly accept a player name on the command line and save to config commit d496daf5483bba9ccf1a94cf047ceb896ed9f8b2 Author: nukeykt Date: Sun Jul 10 02:09:09 2022 +0900 engine: improve clipping of wall sprite replacement voxels commit 5e62cf90ff915b9ee2069f5b24b0e8c3b7993dc4 Author: Colin Kinloch Date: Mon Jul 4 21:36:32 2022 +0100 Makefile: fix tarball version numbering