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 See https://voidpoint.io/terminx/eduke32 for more details.