PCExhumed - r12704 - Built: Fri Oct 15 16:18:01 UTC 2021 --- commit 7172713d5c159db4136d1086c8484d0d1a083195 Merge: 93e2c9f9a d307f703c Author: nukeykt Date: Fri Oct 15 19:16:13 2021 +0300 Merge remote-tracking branch 'remotes/eduke32/master' # Conflicts: # GNUmakefile # platform/Windows/eduke32.sln # platform/Windows/props/build_common.props # source/audiolib/src/driver_sdl.cpp # source/build/src/build.cpp # source/build/src/sdlayer.cpp # source/duke3d/src/game.cpp commit d307f703c475fe28d26ac2394b8d6762747f83fc Author: Richard Gobeille Date: Sun Oct 10 12:05:19 2021 -0700 Fix dumbass oversight in 6839e418e34bff05bdd5debad9bf9146a09d9d72 commit 964c0b56ae0df4730013d5f79d0b0897f09654f1 Author: Richard Gobeille Date: Fri Oct 8 02:10:53 2021 -0700 Revert "engine: make floor sprites clip a little more like floors" This reverts commit 81f7c71be52e6f23b526f1b4f534fde47bd9667b. clipmove() really needs concrete indication of a moving point's starting floor height for this optimization to work correctly, and inferring that ourselves without it being explicitly passed in isn't something that would work. commit 6a1f4ec39cbafb0161e44d981baed0599f79e4b1 Author: Richard Gobeille Date: Thu Oct 7 12:15:47 2021 -0700 SW: fix buffer overflow preventing the game from starting, exposed by switching to the new memory allocation systems commit cae5d70326d2dcbb2b9a7ca7b042092be8802f2d Author: Richard Gobeille Date: Wed Sep 22 00:56:05 2021 -0700 engine: fix SDL fullscreen issues commit 1682ff4f96f160f33440cba00024bdfe53f21069 Author: Richard Gobeille Date: Sat Aug 14 14:17:37 2021 -0700 engine: remove r_pr_vbos cvar and the code paths used for values 0 and 1 r_pr_vbos 0 was broken and r_pr_vbos 1 became useless once it was clear r_pr_vbos 2 wasn't causing issues. commit ab2e5f05fafb663cc8685649021b3e38eb3141ad Author: Richard Gobeille Date: Sun Aug 8 14:45:45 2021 -0700 engine: add GL context version to glinfo, allow in 8 bpp mode (it's still backed by a GL surface, after all...) commit a68d0d8bfecd5304ba75af20ad133ab35dbf622a Author: Richard Gobeille Date: Sat Sep 25 06:14:15 2021 -0700 engine: manually flush console log file ptr in crash handler commit 29ccc1ecec05e7ac3a645c70f48488bd4f5c5eab Author: Richard Gobeille Date: Tue Sep 28 08:04:56 2021 -0700 editor: fix "gameexecutable" option in configuration file commit b0920836c7eeb75eb1bb7e9eef8e92742716812d Author: Richard Gobeille Date: Mon Sep 27 20:31:39 2021 -0700 Fury: don't block input when player .hard_landing is set commit 2bfc9ea4640f5836ca343c68bb81752a437e5df2 Author: Richard Gobeille Date: Mon Sep 27 19:59:46 2021 -0700 Duke3d: zero player .horizRecenter and .horizSkew when zeroing return_to_center from CON commit c8f0b1d921fde71825d018dc4692e6d18dac2d05 Author: Richard Gobeille Date: Mon Sep 27 15:58:27 2021 -0700 Makefile: don't bother trying to fill VC_REV, VC_HASH, and VC_BRANCH if we don't even have a .git directory commit 6e1c38390a4a42c8a167cb6225a94ec2745402f2 Author: Richard Gobeille Date: Sun Sep 26 05:57:11 2021 -0700 Duke3d: fix timing issue with logo.anm playback that could occur if an actual hard video mode change is required at startup (e.g fullscreen in a non-native resolution) commit 43cd843e060717f9c93f14d1aa60035bc78c0efc Author: Richard Gobeille Date: Sun Sep 26 11:40:07 2021 -0700 Duke3d: additional gamevar verification when loading savegames commit 32d5774e7677aa56b5620da1b438be194e97597b Author: Richard Gobeille Date: Wed Sep 29 15:32:29 2021 -0700 engine: add coordinates to log output from clipmove() commit 81f7c71be52e6f23b526f1b4f534fde47bd9667b Author: Richard Gobeille Date: Sun Oct 3 17:00:45 2021 -0700 engine: make floor sprites clip a little more like floors commit c5f07af9a768e88834b0f299f8d716a0ddbf71f4 Author: Richard Gobeille Date: Sun Oct 3 16:11:54 2021 -0700 engine: bump MAXCLIPNUM to 4096 This isn't really ideal, but neither is hitting the limit due to maps with an excessive number of sprites that use clipshapes. commit 44f11d86e39c1c6357ad7a2c832b54566e576417 Author: Richard Gobeille Date: Sun Oct 3 03:29:54 2021 -0700 Duke3d: move P_SetupMiscInputSettings() from game.cpp into game.h and call after loading savegames commit 147b25f48349773a9675e51011bdf389334f6833 Author: Richard Gobeille Date: Sun Sep 26 09:45:33 2021 -0700 engine: fix double free on exit commit 40c57dc91b0e6bac0699616cd5529b958319d4a5 Author: Richard Gobeille Date: Wed Sep 22 01:37:50 2021 -0700 Duke3d: revise d1b3b702ba776119db042e6ba4e6b06d5f909f01 I remembered commit 2e1092f58014ad329ccc5f0f2e39f2e9aa1336ac Author: Richard Gobeille Date: Tue Sep 21 22:36:19 2021 -0700 Duke3d: fix compatibility with savegames made before 4fdd8dc8c30a05db79fa9fde0d085c0f75210e9e and e8470bd29cb19a4b815bc2bc74e0ac0a8de2a06d commit 26bb86c153564f962bcca0f531be57c0c886648d Author: Richard Gobeille Date: Mon Sep 20 07:58:12 2021 -0700 engine: implement buildvfs_exists() using GetFileAttributes() on Windows and stat() elsewhere, FORCE_INLINE some stuff in vfs.h The rationale behind this change is that I was profiling CPU use during loads of particularly heavy .def files (10000+ items) and discovered an inappropriate amount of CPU time was being spent inside access(). So, I did some research and found several cases where people on stackoverflow etc had asked what the fastest method of determining whether or not a file exists was, with the results of several benchmarks being given as answers. GetFileAttributes() seemed to win on Windows and stat() seemed to win on Linux, and I did not see any results where access() was a serious contender when included in the spread of tested functions, with the best I saw being 1100-something nanoseconds for access() and 800-something for stat(). This whole thing would be faster if we just read in the entire directory index and matched files against it ourselves with just the few API calls involved with retrieving the index, but access to uncooked data littered across a directory tree isn't really something I give a shit about optimizing further at the moment. commit 223164a14983c8f5714b734c3311938040e88f47 Author: Richard Gobeille Date: Fri Sep 17 20:46:10 2021 -0700 Windows: enable debug symbols for MSVC release builds for profiling commit 3e517d07ce4a370b498cef8f84cd19b149e7f12c Author: Richard Gobeille Date: Thu Sep 16 03:32:22 2021 -0700 audiolib: shitcan lrintf use in sample calculation commit 7e848127264a6f16515cacbc33dc58854ae1cf60 Author: Richard Gobeille Date: Wed Sep 15 19:17:26 2021 -0700 Duke3d: don't print extended data size and offset to console when saving and loading games in release builds commit a2a2e72ab0d910ebd760365b44b4916995fe9b78 Author: Richard Gobeille Date: Mon Sep 13 23:50:42 2021 -0700 engine: fix exported symbols for memory allocation failure handling commit 6755a5f5449b8c5fe24190fa4e798d3ca111cd62 Author: Richard Gobeille Date: Mon Sep 13 23:49:54 2021 -0700 audiolib: move Windows debug thread naming stuff out of driver_winmm and into winbits.h commit fc08bd34b9ea69542dea684f6edb420cb1011635 Author: Richard Gobeille Date: Tue Sep 7 23:14:48 2021 -0700 engine: fix warning in sqrtable_old[] generation in initkqsrt() commit 22d85479a52ea9fd066daf283b3941b934858808 Author: Richard Gobeille Date: Sun Sep 5 23:04:35 2021 -0700 Duke3d: remove unnecessary/wrong wall[].picnum == MIRROR check from projectiles MIRROR is only ever on .overpicnum for valid mirrors. commit 9b735cf148e801499845a5ca2018fb31715afd53 Author: Richard Gobeille Date: Thu Aug 5 14:11:05 2021 -0700 engine: tweak a couple fix16_t functions to use the versions of min/max/clamp etc that we use elsewhere instead of their own inline implementations commit a22debb384f3ff627e6657c19ed98084b1ba008e Author: Richard Gobeille Date: Sun Sep 19 01:06:33 2021 -0700 engine: fix calc_smoothratio again commit 0a5b0cf17c9ff4c051a3271b878915991476df1b Author: Richard Gobeille Date: Fri Sep 17 05:24:46 2021 -0700 engine: shitcan nexttowardf use in polymost This never did what I was trying to do and it wasn't really clear until recently how much of a perf hit it could be. Byeeeeee. commit ccf3f5fd430575faf031699f617e123bb00e8841 Author: Richard Gobeille Date: Thu Sep 16 17:24:29 2021 -0700 Windows: update library building instructions commit ef8002943f12335cb0a22185519bc7cde3e863c0 Author: Richard Gobeille Date: Fri Sep 10 19:42:10 2021 -0700 engine: remove newlines from the ends of strings passed to fatal_exit() commit fb62ac56a95c8453ef814fa87c969f83ff3fa1d6 Author: Richard Gobeille Date: Thu Sep 9 14:47:56 2021 -0700 engine: don't initialize g_keyRemapTable[] values if they're already non-zero Required for key remapping to work in the editor after the commit that added the "working directory only" checkbox. commit ac19749866654a94069fe68aa2b7dc1f8b6065cb Author: Richard Gobeille Date: Sun Sep 5 19:54:55 2021 -0700 engine: FORCE_INLINE everything in tracker.hpp commit 34fb708ea8a12a0ddf5291567ebf3a50422a2892 Author: Richard Gobeille Date: Fri Sep 3 08:05:45 2021 -0700 engine: optimize hash tables commit 3ccb932f2736f01798ec43f9d4e83a0aaacfa90d Author: Richard Gobeille Date: Sat Sep 4 14:34:52 2021 -0700 engine: fix uninitialized data use commit 87c5eadd8f5032b169eaf74421f3190942961875 Author: Richard Gobeille Date: Tue Oct 5 08:43:00 2021 -0700 Duke3d: add predefined MAXLEVELS and MAXVOLUMES for CON commit 291b73a7272c7fa65c01a0d69e4157122cf36fb2 Author: Richard Gobeille Date: Tue Oct 5 08:30:35 2021 -0700 Duke3d: in EVENT_LOADGAME, give RETURN a default value equaling the userbytever field from the savegame header and relax sv_loadheader() check commit 931633f706fc4b9cfe20b9f82881eb88ea919d97 Author: Richard Gobeille Date: Tue Aug 10 18:37:49 2021 -0700 engine: remove polymost_invsqrt_approximation() This was a cool hack for its time, but it's not useful to us anymore. commit ac6dae1b51d2a6a9fa206e31a32c92b81bb459a8 Author: Richard Gobeille Date: Wed Aug 18 00:21:25 2021 -0700 engine: add pow2ulong and pow264 tables, fixes a stupid line drawing pattern bug in the editor commit ef473fa18beed3b9cb73c2d067f8ac4c46c5442d Author: Richard Gobeille Date: Wed Oct 6 18:35:06 2021 -0700 Duke3d: getzrange result cache that actually works correctly Just kidding, it still sucks and it's commented out. commit e3471fc31db0d68463ac4df54739a056a36e7511 Author: Richard Gobeille Date: Mon Aug 16 16:18:12 2021 -0700 engine: change getcrc16() to void * instead of char * so I don't have to cast things every time I use it commit c19ade4defbd87fa23d90bc3e3efe8ea452ee4a6 Author: Richard Gobeille Date: Wed Oct 6 18:08:33 2021 -0700 SW: build fix commit 74c30507fd1cf1856d0afd8c22b164d7216615b4 Author: Richard Gobeille Date: Tue Aug 31 19:24:47 2021 -0700 Duke3d: fix dumpster fire thing commit 8b7d242b245b3c6092623641af2e337b04d750d7 Author: Richard Gobeille Date: Wed Sep 1 00:00:29 2021 -0700 engine: fix incorrect lower bound for r_anisotropy commit e7f6ab26d21f7b0bc5e6f4a107298c121e8eda9b Author: Richard Gobeille Date: Sat Aug 7 15:24:02 2021 -0700 engine: inline openfrompath_internal commit 5427125499eb1f8b0cccac1f53f6215759a11137 Author: Richard Gobeille Date: Wed Aug 25 20:42:01 2021 -0700 engine: disable SDL_HINT_WINDOWS_DISABLE_THREAD_NAMING if _MSC_VER is defined commit 6b5286ded8316613f6a78687d1e98374d4894e22 Author: Richard Gobeille Date: Sun Aug 29 15:13:31 2021 -0700 Duke3d: fix g_highestSoundIdx range checks commit bd4b70c0925d1f8f567613be5eebe4bdc9042527 Author: Richard Gobeille Date: Mon Aug 16 12:47:45 2021 -0700 Duke3d: replace the "played killed by pushmove()!" error logged in the console with a call to QUOTE_SQUISHED Players don't get killed by pushmove() in error anymore. commit 910475938b66ec5f6e527096e2355345e2696151 Author: Richard Gobeille Date: Mon Aug 2 12:13:25 2021 -0700 engine: include mimalloc-new-delete.h in smmalloc_generic.cpp This defines global new/delete overrides, so look here if problems stemming from those ever arise. commit 295c70b911d8238a13cda73313599795f37019ef Author: Richard Gobeille Date: Wed Sep 8 15:11:56 2021 -0700 audiolib: switch from stb_vorbis to minivorbis Fixes minivorbis to compile as C++ and hooks it up to our memory allocators. This also allows the precompiled libogg.a prerequisite for libFLAC.a to be removed. commit ef0faf86d8e0d0428348377cba25f4df73fd7e5a Author: Richard Gobeille Date: Wed Sep 8 15:10:41 2021 -0700 audiolib: add minivorbis 4e40a167726effb0ae9d3065452a9ee2bb80a84f This is the entire official vorbis implementation crammed into a single header. Fixes to work with our cflags in a future commit. commit a4e37d7aa6508bf1c3dd16cc8f9335fca002ab51 Author: Richard Gobeille Date: Wed Sep 1 01:51:38 2021 -0700 editor: don't crash when loading corrupt maps with sectors with zero walls This also makes the editor recognize corrupt sectors with < 3 walls and try to repair the map. It works for the corrupt sectors in E4L1, at least. Please immediately report any problems caused by this change directly to me. commit ee2c6b8e2590400a216997beeddf98f0a10f89ff Author: Richard Gobeille Date: Wed Aug 18 02:41:07 2021 -0700 editor: fix stupid mouse look bug commit 3ce9b9cf7afce514cea753c574f5739b59557643 Author: Richard Gobeille Date: Wed Aug 11 18:48:32 2021 -0700 editor: fix a few things to reference MAXUSERTILES instead of MAXTILES commit 338a688c9433c6f2f69cb0e7757dde1a2db5c869 Author: Richard Gobeille Date: Fri Aug 6 13:48:52 2021 -0700 editor: improve tile picker commit 971dec7ed7f65fbfe0d34143961ff71a73dce207 Author: Richard Gobeille Date: Sun Aug 15 23:51:55 2021 -0700 editor: make little dot thing that snaps to the currently selected wall from the mouse cursor more visible and minorly improve mouse cursor Yeah, I understand it's fucking pink, but go ahead and find me a more visible color in the default palettes of any of the supported games. wtf chode commit 0319724cc71755febc796956dec818942489ad97 Author: Richard Gobeille Date: Mon Aug 2 09:22:16 2021 -0700 editor: patch from Doom64hunter to update the GTK2 version of the editor startup window to include the "working directory only" checkbox commit e0be756222e238f9343c53c0f15f8a868f39d22e Author: Richard Gobeille Date: Mon Aug 2 09:21:41 2021 -0700 editor: patch from Doom64hunter to update the Ion Fury buildres.rc with the latest changes from the regular one commit d9285a63c5919584c9ac0f570be8abb03743e320 Author: Richard Gobeille Date: Sun Aug 1 07:04:55 2021 -0700 Duke3d: fix OOB reachability table access (sectnum == MAXSECTORS for a sound owned by a deleted sprite) commit 738c9912e29c22b97efe631530ae0957f2063da0 Author: Richard Gobeille Date: Sat Jul 31 10:04:20 2021 -0700 engine: AddressSanitizer-guarded sm::GenericAllocator implementation using mimalloc as backend commit 9fd5728c73c33c971a8db6b4b5b470535900427d Author: Richard Gobeille Date: Fri Jul 30 15:30:12 2021 -0700 engine: console logging rework This should resolve concurrency problems that arise when more than one thread attempts to add a line to the log simultaneously. A future commit will move the actual file writes to a different thread altogether. commit 9909b3c9aa6d957c0c9b459314ace9c2f6a0b3d8 Author: Richard Gobeille Date: Mon Jul 26 12:20:46 2021 -0700 editor: add xfliphighlightedsectors/yfliphighlightedsectors/xmirrorhighlightedsectors/ymirrorhighlightedsectors to m32script, remove read-only flag from startpos vars so the map start position can be changed from scripts commit cfce7ba96ef72bce0ae02a25645c0f5196c7b8ab Author: Richard Gobeille Date: Sun Jul 11 16:47:39 2021 -0700 editor: WIP changes to allow Mapster32 to be used without the cursor being confined to the window commit f7b3a8c88b81de4b80dd4b0e527e2dc3b0b9a874 Author: Richard Gobeille Date: Tue Jul 20 00:53:04 2021 -0700 engine: allow changing the video mode without tearing down and recreating the GL context or destroying the window commit adbce8b6cc49b169885624dee8e982cb2dffb222 Author: Richard Gobeille Date: Mon Jul 26 10:39:16 2021 -0700 engine: improve fps limiter commit 2293a0db7aa6223da7b74774fa07233a9a87da5c Author: Richard Gobeille Date: Sun Sep 26 09:37:44 2021 -0700 Fury: don't delete old saves at startup anymore commit 92b985233930ea7e5a3943b8ab62364bd8df1c6c Author: Richard Gobeille Date: Wed Jul 28 03:21:28 2021 -0700 engine: add osdcallbacks_t struct and OSD_SetCallbacks() function I left OSD_SetFunctions() for compatibility. commit 1ed1287284e1d103e0a3f2a65363d65fea1bb7b8 Author: Richard Gobeille Date: Mon Jul 26 11:02:38 2021 -0700 engine: remove everything left in zpl but rdtsc, delete zpl.cpp, rename zpl.h -> rdtsc.h commit 6377f419feceac0f0615c8fc096b35b238ebc843 Author: Richard Gobeille Date: Tue Jul 20 09:59:09 2021 -0700 audiolib: take a voice's volume into account when finding the lowest priority voice commit a891732fda15e186f0088ce8d304332063c1bb51 Author: Richard Gobeille Date: Wed Oct 6 16:13:27 2021 -0700 MinGW build fix... I'm going to hell for this one This works around what looks like a problem with the MinGW cross-compiler toolchain in Debian. commit 3052711ef57458f96bff925a183ab6692485dae5 Author: Richard Gobeille Date: Wed Oct 6 14:54:58 2021 -0700 MinGW build fix commit e88344bc4e22e94e359a3577caa0999c96f381b0 Author: Richard Gobeille Date: Wed Oct 6 14:02:18 2021 -0700 SW: fix compilation issues after 2cf293d98551c542f1d1abd4075aab13ee23e406 commit e27e7fa3adb76b397ca3f7ee447aaf6ad465bc2e Author: Richard Gobeille Date: Wed Oct 6 13:42:29 2021 -0700 mimalloc: work around MinGW compilation issue commit ca012d2b100d0d3952a326c53736681fab0a8079 Author: Richard Gobeille Date: Tue Jul 27 11:02:50 2021 -0700 Duke3d: reduce CON_GETGAMEFUNCBIND redundancy Not really tested yet. commit 5c704c922bf325d47618817669ca1236fe604feb Author: Richard Gobeille Date: Tue Jul 27 10:26:50 2021 -0700 Duke3d: namesdyn.[cpp,h], soundsdyn.[cpp,h] -> dnames.[cpp,h] commit 4ecd1009525e2d85dac0197e8d4cd7a51c118aac Author: Richard Gobeille Date: Mon Jul 26 06:40:39 2021 -0700 Duke3d: change cacheAllSounds() to only call gameHandleEvents() once per 4 megs data loaded commit 1dd01593d23e43872eba4c5db68fc5b71d25919b Author: Richard Gobeille Date: Wed Jul 21 04:12:35 2021 -0700 Duke3d: rename a handful of members in the actor_t struct so that their names don't overlap with those in spritetype commit 95466d90c30197f63ebb9a5dc9d652305c918803 Author: Richard Gobeille Date: Thu Jul 15 05:48:43 2021 -0700 Duke3d: allocate g_sounds[] on heap and bump MAXSOUNDS to 16384, reorganize sound_t commit 910820197a3ed17fd161f6e39bca30f7679ab111 Author: Richard Gobeille Date: Thu Jul 22 10:50:08 2021 -0700 engine: fix copy/paste error in 24e5d5fc15bde29de7d6ced1a919dc76f6a8987e commit 2cf293d98551c542f1d1abd4075aab13ee23e406 Author: Richard Gobeille Date: Tue Jul 20 03:03:48 2021 -0700 engine: rename coordinate vectors from "pos" to "xy" or "xyz" depending on use This also renames the extra vectors found within the anonymous unions in the vector types, because naming them after the data type was kind of stupid. This is kind of a large set of changes but it's an improvement overall. commit 83fcadde5a4974935d058480ad37aa36fc2cdcd7 Author: Richard Gobeille Date: Tue Jul 20 02:16:01 2021 -0700 engine: split vector types into their own header, add addition and subtraction operators commit 864691defbc55453071050b5cc8408079a8f3199 Author: Richard Gobeille Date: Mon Jul 19 08:15:11 2021 -0700 engine: use inthash_t for _prprograminfo lookups instead of a 300MB array what the fuck, dude commit 064ab8c517dd2ca8b15412c502caabb3beda7c04 Author: Richard Gobeille Date: Mon Jul 19 05:48:18 2021 -0700 engine: convert texcache I/O to FILE pointers, use memory mapped I/O for memcache commit 0438434af66f1e23bd822df7faedb8bd1919a48f Author: Richard Gobeille Date: Sat Jul 17 00:31:54 2021 -0700 engine: add mimalloc to take care of allocations that smmalloc doesn't handle that would otherwise fall through to the system allocator commit 91b95817aa129163fb9eb1072e84c6aacd9f153a Author: Richard Gobeille Date: Fri Jul 16 14:11:39 2021 -0700 engine: smmalloc AddressSanitizer instrumentation commit c3334ad9d7af341072d5999fdfd30934531eb721 Author: Richard Gobeille Date: Fri Jul 16 11:56:07 2021 -0700 engine: integrate smmalloc See https://github.com/SergeyMakeev/smmalloc commit 590334b8f75c420fd19a0e43412592e05bff7dec Author: Richard C. Gobeille Date: Sat Jul 18 07:54:44 2020 -0700 audiolib: replace libvorbis and libvorbisfile with stb_vorbis libogg is still required for FLAC. commit 6839e418e34bff05bdd5debad9bf9146a09d9d72 Author: Richard Gobeille Date: Sun Jul 18 22:45:55 2021 -0700 engine: add sector reachability table and sectorsareconnected() function, add yax_updown[] cache for yax_getneighborsect(), cache sectorofwall() commit 1c73f3dbd185a6be644f751ddf09f70ea1170bd2 Author: Richard Gobeille Date: Fri Jul 30 15:15:46 2021 -0700 Duke3d: fix a couple of latent menu issues caused by changes in my CONTROL_GetUserInput commit that implemented input repeating commit cbb598f10fa90ea54cc02412d8f5f923a7bad977 Author: Richard Gobeille Date: Fri Jul 16 10:56:54 2021 -0700 VS: disable microprofile commit fe53854d4db299eee49c376e1959415b8fb3fac7 Author: Richard Gobeille Date: Fri Jul 16 17:28:50 2021 -0700 Duke3d: instead of G_GameQuit(), abort() in app_crashhandler() commit 19991c2b6750d49db6588fc1ab476bcbb448fbef Author: Richard C. Gobeille Date: Thu Jul 23 05:42:07 2020 -0700 audiolib: formatting commit 4bc4f8db49ce35e0afaeeb0849e8ab33021848ba Author: Richard C. Gobeille Date: Fri Jul 31 12:14:54 2020 -0700 SW: fix allocator mismatches between a few allocations and frees commit 84cb25375653f47ec7c798c330d501b6ad95fb47 Author: Richard Gobeille Date: Thu Jul 15 09:52:49 2021 -0700 Duke3d: pressing a mouse button counts as mouse activity commit 8f2ca249c78bced8192e945030cc0045c4330792 Author: Richard Gobeille Date: Wed Jul 14 07:58:59 2021 -0700 SW: menus don't need their own input buffering and repeat handling anymore because it's handled in mact commit 08d6271dfe4efbe84f4baf46bd324cd624aca6a5 Author: Richard Gobeille Date: Wed Jul 14 07:35:39 2021 -0700 SW: half-assed attempt at making controller input work It's not as half-assed as it was before, but still pretty damn half-assed. commit ea254a21877c3334784cf69b668fa82bd85dc38a Author: Richard Gobeille Date: Wed Jul 14 05:53:12 2021 -0700 mact: misc bullshit cleanup changes commit ab81a886015ad1be0bbbdb3ef8e463fc6788cf39 Author: Richard Gobeille Date: Tue Jul 13 23:22:48 2021 -0700 mact/Duke3d: revise CONTROL_GetUserInput/CONTROL_ClearUserInput, shitcan most of input.cpp This implements input repeating for controllers in menus. commit 5611eb5f87a3c17232f23be8e42493eb2f990f90 Author: Richard Gobeille Date: Wed Jul 14 04:32:20 2021 -0700 SW: digital axes on mice haven't been a thing for a while. commit 55fa2a5c2b153175a4f6330a64f08cd2092709ed Author: Richard C. Gobeille Date: Sat Jul 10 02:52:12 2021 -0700 editor: startup window checkbox for -usecwd commit b71945db0b13538814bed22358d83b6fc4d6dc16 Author: Richard C. Gobeille Date: Thu Jul 8 16:32:42 2021 -0700 editor: integer upscaling for 2d mode for people with 4K displays Enable with the "upscalefactor" console command or by editing the cfg for now. commit 495475a6057579e82a8536ca2cf3d73d9f08bf27 Author: Richard C. Gobeille Date: Thu Jul 1 18:46:16 2021 -0700 editor: unify resolution choice for 2d and 3d mode commit 9cabb58c79200b4c2e7f49bb0e96477b56f3ec58 Author: Richard C. Gobeille Date: Thu Jul 8 02:44:54 2021 -0700 mact: rename some shitty preprocessor definitions and throw them in an enum I saw these and thought that I was responsible for their poor naming, but it turns out the first three were inherited from the original source code. commit b371d6bc3210b910f863399ddbd420a3ca4ed7ed Author: Richard C. Gobeille Date: Wed Jul 7 06:13:34 2021 -0700 Duke3d: only display relevant configuration options for game controller triggers commit 123f00d6a033235d739ac10225babf7365624390 Author: Richard C. Gobeille Date: Wed Jul 7 18:31:23 2021 -0700 Duke3d: mouse/controller menu string changes commit f7587bdaa50b6e2162631c8f4e035ab125b07648 Author: Richard C. Gobeille Date: Tue Jul 6 19:00:44 2021 -0700 Duke3d/mact: shitcan integer scaling for input commit 0ad4b424dffbf647d3cc880da9484a7ee1dc0c44 Author: Richard C. Gobeille Date: Wed Jul 7 05:57:44 2021 -0700 mact: SCRIPT_GetDouble() Sorry, I don't feel like rigging all of the controller axis stuff up to cvars right now. commit 914310007c8eaaeda2653fa09407ac1760e14be8 Author: Richard C. Gobeille Date: Tue Jul 6 19:09:33 2021 -0700 Duke3d: add missing MenuRangeFlags_t tokens to definitions using MAKE_MENURANGE commit 5de5c540fbf83905c7357622b9c5da04730fc456 Author: Richard C. Gobeille Date: Tue Jul 6 03:27:25 2021 -0700 engine/mact: reimplement controller dead zone so that it isn't just naively applied to each axis independently commit fbe9eadff8416e129bf0812b68d7a16934d9184c Author: CommonLoon102 Date: Tue Jun 8 21:47:52 2021 +0200 engine: move uninitsystem() into engineUnInit and remove atexit commit 968e152f03e7840341f43c8011a38324f2cf8a03 Author: Richard C. Gobeille Date: Mon Jul 5 23:56:50 2021 -0700 Update clang-format preferences commit 17b91db2844a59b5054d32449661b7bc83240534 Author: Richard C. Gobeille Date: Mon Jul 5 15:24:03 2021 -0700 Duke3d: tweak default JoystickAimWeight and JoystickViewCentering settings and reset them to defaults when resetting the rest of the controller settings commit 39cf1f992548016e7d4842d74e1577701dc70783 Author: Richard C. Gobeille Date: Thu Jul 1 18:17:24 2021 -0700 engine: rename r_windowpositioning var in source, default to 1 commit 9741acb51c4ba35006ef96cad0d321b94815770f Author: Dino Bollinger Date: Sun Aug 22 14:04:09 2021 +0200 Duke3D: Add events EVENT_PREUPDATEANGLES and EVENT_POSTUPDATEANGLES These events trigger once every frame and provide access to the input struct value updates of each frame. This makes it possible to alter input.q16avel and input.q16horz again, even with smooth mouse aiming. Addresses terminx/eduke32#132