commit 08e1ac98b557aa353918f049c718726bf189fc66 Author: Richard C. Gobeille Date: Mon Jun 28 21:10:59 2021 -0700 engine: update to SDL 0c4ac33a on Windows commit 2e8ac3f9cf81a4c84681ef843859c83dfbc72ce9 Author: Richard C. Gobeille Date: Mon Jun 28 20:59:46 2021 -0700 Revert "Duke3d: MASTERSWITCH counting down before activation blocks re-triggering switches" This reverts commit 33d4dc3d3f1ff041491ac61a72076a36dcf4572c. commit 5857f70f189d695b3427fa9be57f4fbca8c72ffe Author: Richard C. Gobeille Date: Mon Jun 28 19:41:24 2021 -0700 engine: fix Polymer rotatesprite texture clamping Fixes terminx/eduke32#150 commit 6ce050b4319bd255e4f7bccdba39857c7340ab52 Author: Richard C. Gobeille Date: Mon Jun 28 13:49:20 2021 -0700 audiolib: replace linear search for voices by handle with a table commit 88f90a193524900ab10ea99795397fe96b843931 Author: Richard C. Gobeille Date: Mon Jun 28 01:55:50 2021 -0700 engine: fix Discord streaming issue Fixes terminx/eduke32#152 commit ae52bec9e6735770c752e9db538e0eb1782a7daa Author: Richard C. Gobeille Date: Mon Jun 28 01:41:46 2021 -0700 engine: remove wrappers around glBindTexture() and glActiveTexture() in favor of explicitly calling polymost_activeTexture() and polymost_bindTexture() This is better for clarity, I think. commit 1d10d93d620551b190cc2c113f076409bc8f2404 Author: Richard C. Gobeille Date: Mon Jun 28 01:38:38 2021 -0700 Remove jwzgles stuff from Visual Studio project commit d3746e924058c75fdeeb1e7d51da59b17983ceb3 Author: Richard C. Gobeille Date: Sun Jun 27 16:11:48 2021 -0700 Duke3d: break from CON while loops on VM_RETURN This should fix terminx/eduke32#16 commit 37da4ebfe555ec3d915cc98ee1561172fd34981c Author: Richard C. Gobeille Date: Sun Jun 27 13:26:04 2021 -0700 engine: add missing check for r_useindexedcolortextures cvar in polymost_usetileshades() Fixes terminx/eduke32#153 commit e0ee1bfe3e69d56b487f6ac6a3a4577aa070b53c Author: Richard C. Gobeille Date: Sat Jun 26 14:25:40 2021 -0700 engine: #ifdef out "POLYMOST2" stuff commit dcdde6cfebd104093cd9a0f598e37b1da5f5fbc3 Author: Richard C. Gobeille Date: Sat Jun 26 01:26:37 2021 -0700 engine: allocate yax_vsp[] on heap according to map requirement commit eb13ca38fc924833e29f8d7a4c63ff377a2e0498 Author: Richard C. Gobeille Date: Sat Jun 26 01:25:17 2021 -0700 engine: fix usage of GrowArray for osdstrings commit 9fcccd073b8f06a1935c7be50d2dd3fe60e7c150 Author: Richard C. Gobeille Date: Sat Jun 26 01:22:56 2021 -0700 engine: fix allocator mismatch in GrowArray commit d4e36c4f8deb0f0a406b7ec36be4db0c9bc40257 Author: Richard C. Gobeille Date: Fri Jun 25 18:41:49 2021 -0700 Update Visual Studio projects Debug is now configured to use AddressSanitizer on 64-bit, and various other build options have been made uniform with each other across all projects. This means 64-bit debug builds built with Visual Studio will only run if the VS ASan dlls are in your PATH, but I believe this is fine as we don't distribute any VS builds. commit bc4358b12f3e331026e481d4b86006bdbfa41954 Author: Richard C. Gobeille Date: Fri Jun 25 17:57:19 2021 -0700 Duke3d: virtual address space bandaid fix I didn't test this. commit 691e3fc19a71d49970343ce33ad0fb5903612601 Author: Richard C. Gobeille Date: Fri Jun 25 02:21:01 2021 -0700 engine: MSVC build fix commit 1c760288c81500cbd119611e8f7d67df36c3129d Author: Richard C. Gobeille Date: Fri Jun 25 01:09:18 2021 -0700 Duke3d: revise dynamic tile mapping commit 180bede4c9520eb99f0865d923ca4e5e1196b598 Author: Richard C. Gobeille Date: Fri Jun 25 01:08:51 2021 -0700 Duke3d: fix overlapping strcpy in startup window commit e8470bd29cb19a4b815bc2bc74e0ac0a8de2a06d Author: Richard C. Gobeille Date: Sun Apr 25 19:36:02 2021 -0700 Duke3d: CON control over player height and other properties You're gonna have to talk to me or read the source for full details on usage, sorry. These are also all still liable to change in future builds, either in name or in functionality. commit 4fdd8dc8c30a05db79fa9fde0d085c0f75210e9e Author: Richard C. Gobeille Date: Thu Apr 22 18:01:21 2021 -0700 Duke3d: per-player gravity control through .gravity member of player struct The default value is 256 (GRAVITATIONALCONSTANT value from USER.CON + 80). commit fc8230b5455c63ad8a93f8cf95ea5b88e4e31237 Author: Richard C. Gobeille Date: Thu Jun 10 11:24:52 2021 -0700 Duke3d: add left and right triggers to controller button setup menu, hide start button commit 37622870d573576f048b6a3fec0362807bed6d53 Author: Richard C. Gobeille Date: Wed Jun 9 13:38:32 2021 -0700 Duke3d: controller hotplug fixes commit 78864da3142c354ee64184584286e1a56c54cfbc Author: Richard C. Gobeille Date: Wed Feb 24 04:21:19 2021 -0800 Duke3d: controller setup menu cleanup This is still technically a work in progress, but it's at the point where it's definitely better than things were before. commit 3b3cd0e0a34c8614f1d89b3f239b41c09233f1a6 Author: Richard C. Gobeille Date: Tue Jun 8 18:49:29 2021 -0700 Duke3d: aim assist for game controllers A helpful side-effect of this commit is that several of the previous changes to how screen re-centering etc work can now be deterministic again, which somewhat fixes demo recording and playback. For now, recording a demo will limit input to the game tickrate like it did in the old days. commit a57a6e1a5b7a4bb80d7a00d73fa4c3f431256382 Author: Richard C. Gobeille Date: Wed Jun 23 23:06:43 2021 -0700 engine: update to SDL 814285d6 on Windows commit 9f75af11197a7735e12d370e791fda8298eb4df9 Author: Richard C. Gobeille Date: Mon Jun 21 19:11:53 2021 -0700 engine: FORCE_INLINE getclipmask() commit d627820304e1604440c21822d74b231fc923f28e Author: Richard C. Gobeille Date: Mon Jun 21 19:11:26 2021 -0700 engine: __fastcall ksqrt(), move ksqrtasm_old() commit d8422c4f155239e094c5b45df09942e904fe20f1 Author: Richard C. Gobeille Date: Sun Jun 20 18:06:12 2021 -0700 engine: remove getkensmessagecrc() It's beyond useless at this point and nobody ever even ported the assembly to C. I left the actual kensmessage string because I didn't want to remove a copyright declaration from the source code. commit 3c908cc578538ea3e64482b4a8c041ae47036858 Author: Richard C. Gobeille Date: Sun Jun 20 16:07:04 2021 -0700 engine: rename clip_nsqrtasm() -> ksqrt_inline() since that's literally what it is This is possibly a good candidate for outright deletion. commit 388457bba9e626e103b0ca3d55181b63f86b2ee1 Author: Richard C. Gobeille Date: Sun Jun 20 15:33:33 2021 -0700 engine: I can think of zero reasons for these to be templates commit 27c3b5ec8b60809656937ec0027fcf079c7870a8 Author: Richard C. Gobeille Date: Sun Jun 20 15:31:35 2021 -0700 engine: don't inline ksqrtasm_old() commit a16687ab145ec9bd9170b942542d8529ee0633ad Author: Richard C. Gobeille Date: Sun Jun 20 15:06:10 2021 -0700 engine: tweak/"optimize" the C version of nsqrtasm() Disassembly of the tweaked version versus the original is very similar, but MSVC doesn't seem to want to inline the original version without forcing it. I tested the performance of the change under GCC using a very large loop and the results were in favor of the tweaked version by a negligible margin. FORCE_INLINE was added after the fact. commit 7d7c1c69cfc082b9de0deb9bbe66d33cc9c10391 Author: Richard C. Gobeille Date: Sun Jun 20 14:25:07 2021 -0700 Duke3d: minor A_GetClipdist() rework This shouldn't have any impact whatsoever on gameplay. The point was simply to eliminate branches that arrive at the same result, and reduce function calls for cases where they aren't needed (i.e. calling A_CheckEnemySprite() for sprites that are STAT_PROJECTILE). commit 814a946260c1e5c329baf01ef1c28fc782019b23 Author: Richard C. Gobeille Date: Wed Jun 16 14:53:12 2021 -0700 Duke3d: address a possible performance issue with the newer swing door changes commit e8f445f215b530b00150ba79ebafd06d6a13333b Author: Richard C. Gobeille Date: Wed Jun 16 13:44:15 2021 -0700 engine: move wallength() helper function from editor into engine commit 93e249fe7b16f3c14a6cad3521e7750bd5cd0a31 Author: Richard C. Gobeille Date: Tue Jun 15 12:03:16 2021 -0700 Duke3d: fix incorrect sound_t struct member type This didn't really affect anything because this functionality isn't exposed to CON yet. commit 4a5e1dbcae168dae7e82c2ca84b0d79832dbeaba Author: Richard C. Gobeille Date: Wed Jun 16 14:59:49 2021 -0700 Duke3d: boost projectile velocity by the velocity of the projectile's owner when PROJECTILE_MOVED is unset This is a hack intended to fix an issue introduced back in SVN r7409, where the reduced speed of a projectile during its first tic (required for fixing the issues with projectiles passing through ledges immediately in front of the player) could inadvertently allow the player to do stuff like SR50 into their own RPGs. commit 8ef01860bf80d0598bcf66a31920c6a3a5002748 Author: Richard C. Gobeille Date: Mon Jun 14 09:26:17 2021 -0700 Duke3d: remove unneeded argument from A_GetClipdist() commit e4edbb17257222256ddb32663dbd70a8c3448223 Author: Richard C. Gobeille Date: Tue Jun 15 12:09:05 2021 -0700 Duke3d: change A_MoveSprite() from taking a ptr to a ref for read-only vector data commit cfe32090aa3be0575e94e5939dee02494d6a6ee6 Author: Richard C. Gobeille Date: Mon Jun 14 09:22:13 2021 -0700 Duke3d: fix hiccup in movement at internal CAMERA1 panning transition points The way this code works is pretty weird. It seems like the movement hiccup here was caused by intentionally skippping the state of the camera where pData[1] == 0, but I can't find anything else in the code that depends on the value of this field for CAMERA1, and fixing the hiccup causes no issues in any of the setups with panning cameras that I looked at for testing. commit 2f920c9c7edec3103837a7a20bf178189306e4d4 Author: Richard C. Gobeille Date: Sun Jun 13 10:40:22 2021 -0700 Duke3d: smooth security camera view angle commit 88f1e53cb5d44b7262d13023352288fe080bacbe Author: Richard C. Gobeille Date: Sat Jun 12 13:12:39 2021 -0700 engine: update SDL to db5cd8c6 on Windows commit b815dca811ad9358666e383c54722c2f98803555 Author: Richard C. Gobeille Date: Fri Feb 26 21:15:20 2021 -0800 Duke3d: improve menu navigation with controller analog stick commit 529fb65c92ba46035f3fd14921d82fb34d589fcc Author: Richard C. Gobeille Date: Wed Jun 9 16:43:36 2021 -0700 Duke3d: fix application of y axis for controllers This shouldn't depend on the variable turning rates imposed by having run mode enabled or not. commit 03f8139413f23c50edd71e6918f8516699e78be8 Author: Richard C. Gobeille Date: Wed Jun 9 17:17:32 2021 -0700 audiolib: don't allow SDL to change the change the playback frequency from what was requested This sounds good in theory, but in practice it can lead to playback rates beyond what is allowed in the menu and beyond what is supported by e.g. libxmp-lite. commit a412a7c8e593cdcfda643e0829ef396f37f86603 Author: Richard C. Gobeille Date: Tue Jun 8 18:39:14 2021 -0700 Duke3d: simplify menu options to reset the controller layout to default, tweak default layout See https://voidpoint.io/terminx/eduke32 for more details.