PCExhumed - r12971 - Built: Sun Jan 23 21:06:01 UTC 2022 --- commit 8df2fb4d36086d5d54638545b768dbf483bcdfcf Author: nukeykt Date: Tue Jan 18 14:37:25 2022 +0900 RR: strdup -> Xstrdup commit e8637884f9bd7e09040e3f2bd55731240a773647 Author: nukeykt Date: Sun Jan 16 09:45:57 2022 +0900 RR: adapt dn64 renderer to newer glbuild commit 8789e7a20d8671c771efec1f3a9cceffa3a2fb70 Author: NY00123 Date: Sat Jan 15 22:53:31 2022 +0200 reality_render.cpp: Fix repeated invalid enum error. Rendering is still broken. commit e9eeca6b9a3c8f61f7864cbce5ca7b19b88916e5 Author: NY00123 Date: Sat Jan 15 22:05:31 2022 +0200 RR/Blood/Exhumed: Implement startwin_isopen commit e37b79fceb8b89faa4212583803c284746dab30d Author: NY00123 Date: Sat Jan 15 21:53:10 2022 +0200 reality_render.cpp: Fix build commit 87969a4ca82586263167ed4fb2f8fea3d2a72b2b Author: NY00123 Date: Sat Jan 15 21:52:52 2022 +0200 glbuild.h: Add missing declaration of buildgl_uLookAt commit dccf905b4b5cf3e36850eb49da2a96cc2a7ed35d Author: NY00123 Date: Sat Jan 15 21:18:24 2022 +0200 RR: Remove sets of g_logFlushWindow commit 4ecb0472b6d4de39871fe2d2afce4e6f75254eff Author: NY00123 Date: Sat Jan 15 21:07:46 2022 +0200 RR/Blood/Exhumed: Fix calls to OSD_SetParameters commit a8b87709126f43a37f021501217b2cc010f5d48e Author: NY00123 Date: Sat Jan 15 21:07:17 2022 +0200 rr/src/sounds.cpp: Remove call to FX_SetPrintf commit e40666c2906471a2b117e35e269b4d38d19918c8 Merge: bdad055b7 cba220b0d Author: NY00123 Date: Sun Jan 23 22:06:38 2022 +0200 Merge remote-tracking branch 'eduke32/master' commit cba220b0dedba8346e2279636af995feda2071d3 Author: Richard Gobeille Date: Wed Jan 19 13:32:08 2022 -0800 engine: fix "-v" command line parameter commit ac644121c6c5a78943bbca4bbadaac9c7ecca735 Author: Richard Gobeille Date: Mon Jan 17 10:01:52 2022 -0800 Duke3d: don't check FX_SoundValidAndActive() in S_ChangeSoundPitch() because FX_SetPitch() ends up forcing synchronization anyway Fixes terminx/eduke32#234 commit 9cc734f740d76cf5e26837b667808748b7e783c8 Author: Richard Gobeille Date: Mon Jan 17 09:34:29 2022 -0800 engine: fix certain log messages not echoing to console commit 917e42e14d967be140c95f25c40726746977ae98 Author: Richard Gobeille Date: Wed Nov 24 04:29:16 2021 -0800 engine: change polymer prprogram bit handling around a little bit commit 1bcc0b117d7b238e61a1a5cab2b65bdeebdc4281 Author: Richard Gobeille Date: Sat Jan 15 06:26:19 2022 -0800 Voidwrap: support setting and clearing "rich presence" commit f0d7ebe24630b69acf92b72cd8017c8e6ceca6f2 Author: Richard Gobeille Date: Mon Jan 17 07:47:41 2022 -0800 loguru: disable stacktraces on non-Windows if not using glibc commit 883f6a3e92790775c6b52f4678835bf3d3ed76ac Author: Richard Gobeille Date: Fri Dec 31 23:37:22 2021 -0800 Fix terminx/eduke32#219 commit bb917f82b03f66cf2e6b431e442783f698e1c1e7 Author: Richard Gobeille Date: Sun Jan 16 14:28:38 2022 -0800 Duke3d: uncomment G_AddSearchPaths() call accidentally commented out for debugging in b689f9974f32acfa6200ba354ee2e21aea10702d Fixes terminx/eduke32#237 commit d8ed2f92aa9171d17a20fe56d3ce517ba8064046 Author: Richard Gobeille Date: Sun Jan 16 05:55:07 2022 -0800 loguru: #include so this builds with MinGW again commit 14e4521262098f58d914b29d3610ce9882cba5ac Author: Richard Gobeille Date: Sun Jan 16 05:29:29 2022 -0800 loguru: use _fsopen() instead of fopen_s() so we can permit viewing eduke32.log read-only in other applications while the game is running on Windows commit 17e43649b35a7590f4b3d666e4fb6fda8e2a8ea0 Author: Richard Gobeille Date: Sun Jan 16 03:22:34 2022 -0800 fix animvpx again commit 31cdb78fa8722589f396bbdbf8d47a3aa1f84fca Author: Richard Gobeille Date: Sat Jan 15 09:40:40 2022 -0800 Duke3d: add STANDALONE_UNUSED Used to silence warnings for function parameters that are unused in EDUKE32_STANDALONE builds. commit a1d3bf3b339e5369fe2f1571a08859533e9a7779 Author: Richard Gobeille Date: Sat Jan 15 09:22:24 2022 -0800 Duke3d: fix crash at startup when running with no video output commit d50176dad0cb7628d0d409c481c4f54380cebb88 Author: Richard Gobeille Date: Sat Jan 15 09:14:44 2022 -0800 Duke3d: Linux warning fixes commit a27a0b39ea6498b5bb75044e42b60d997191d481 Author: Richard Gobeille Date: Sat Jan 15 09:14:25 2022 -0800 loguru: no exceptions commit 494980971ceab707073aa46b5a629b74c79921fd Author: Richard Gobeille Date: Sat Jan 15 09:05:34 2022 -0800 engine: don't use strcat_s commit 8955e53e28c170d995ea843438b23e197e4b207e Author: Richard Gobeille Date: Sat Jan 15 08:11:58 2022 -0800 Windows: add missing SDL headers commit 0160291b96f79b4faddb0869a4b5757c6f955c97 Author: Richard Gobeille Date: Sat Jan 15 07:44:48 2022 -0800 Duke3d: add line accidentally left out of b689f9974f32acfa6200ba354ee2e21aea10702d commit 72fc1299784c0376a55bd6638499119b9220e6b1 Author: Richard Gobeille Date: Sat Jan 15 04:27:22 2022 -0800 Duke3d: cool CON optimization commit ca215177b43bb4c6f3af3b5f94b1979648664aad Author: Richard Gobeille Date: Wed Nov 24 04:29:16 2021 -0800 Duke3d: fix frame time counter logic typo commit ade033601f6748954efcd25eda9c22582fedc9e4 Author: Richard Gobeille Date: Tue Jan 4 05:24:35 2022 -0800 Duke3d: move default settings for ud.cashman, .fta_on, and .god to CONFIG_SetDefaults() commit 6b269d6d481cb82a1033c1b1b716fac85bc857b8 Author: Richard Gobeille Date: Wed Jan 12 15:44:14 2022 -0800 Windows: update SDL to 2.0.20 commit 28afe344874523285348c263f89d3f30283e7247 Author: Richard Gobeille Date: Wed Jan 12 19:27:51 2022 -0800 engine: fix kzopen() defect introduced in e28b00cec3fb6165783c0b8402f4681e8a19f607 commit 054cf7050e5b800c1450f40c1e72e76bb6c40233 Author: Richard Gobeille Date: Wed Jan 12 18:54:08 2022 -0800 Duke3d: fix undefined behavior commit 0745c4cbf985cbbf4fb20688b8b83c7b3f47edce Author: Richard Gobeille Date: Wed Jan 12 16:48:46 2022 -0800 engine: revert part of 5ffe0d7ea85d722ee527c9f559b1e14dd78f9235 commit 2aa6ce56b809c8c4196cc6888cf22035de2f17cd Author: Richard Gobeille Date: Tue Jan 11 09:58:15 2022 -0800 audiolib: fix winmm spare buffer list corruption when switching MIDI drivers commit a747aebb022f720158ac2981cf4da5091023d36d Author: Richard Gobeille Date: Tue Jan 11 09:55:54 2022 -0800 audiolib: use _beginthreadex() instead of CreateThread() commit c1ba3989dfd2f90ab468a956ff11a11e1ccd339a Author: Richard Gobeille Date: Tue Jan 11 09:34:33 2022 -0800 Duke3d: comment out S_MusicVolume() call in S_SoundStartup() commit 01f3f52f8a473ec61d333fc37d942558bcb3d271 Author: Richard Gobeille Date: Tue Jan 11 09:33:39 2022 -0800 hoist alloca calls outside of loops commit 730f9ad2c422deeddf5788a7b7dbe70fe452769a Author: Richard Gobeille Date: Mon Jan 10 11:58:06 2022 -0800 audiolib: fix channel bounds check in adlib driver commit d2fc35fb536facd473dabaeff13cbfa17b7a4604 Author: Richard Gobeille Date: Mon Jan 10 11:19:59 2022 -0800 Duke3d: prevent potential overflows of szScratch[] in minidumper commit 3233482a0c9f9dfaae7fc12ac4f7dd229e0d9da7 Author: Richard Gobeille Date: Mon Jan 10 11:15:13 2022 -0800 engine: add EDUKE32_NORETURN commit ccabd37b8cb673eee4fb05e65913daf3c95df1e4 Author: Richard Gobeille Date: Thu Jan 6 11:51:14 2022 -0800 Duke3d: fix stupid projectile flag interaction bug between PROJECTILE_EXPLODEONTIMER and the ones that make them bounce This allowed projectiles with both PROJECTILE_EXPLODEONTIMER and PROJECTILE_BOUNCESOFFWHATEVER flags set to run .yvel until it was negative and then bounce forever. commit b106eec0f5c85232820975f3bee2fe6135e7092b Author: Richard Gobeille Date: Thu Jan 6 07:15:52 2022 -0800 engine: fix USE_OPENGL=0 builds commit 104803cdcba2cc1278f2ad74f2c7684afb928e4e Author: Richard Gobeille Date: Thu Jan 6 07:03:11 2022 -0800 editor: keep clipboard texture rot90 bit when pasting onto bottom walls commit 01b620912e28d754e5c8723db499e92fab47ea3c Author: Richard Gobeille Date: Tue Jan 4 06:38:26 2022 -0800 engine: only load SDL game controller DB after actually detecting a controller commit b689f9974f32acfa6200ba354ee2e21aea10702d Author: Richard Gobeille Date: Thu Dec 30 01:27:53 2021 -0800 engine: integrate loguru to replace the existing logging implementation from osd.cpp and rework many log messages across the codebase. commit 8845593aa8d83523bef7b89ce7a9595ac6e3a263 Author: Richard Gobeille Date: Tue Jan 4 00:26:26 2022 -0800 loguru: EDuke32-specific modifications commit aea1fd733fc7ea2594e63b404d10cd766d7f94dd Author: Richard Gobeille Date: Thu Dec 30 01:54:29 2021 -0800 engine: add loguru (https://github.com/emilk/loguru) This is actually the fork from https://github.com/dosbox-staging/loguru, but the guy at the first URL did most of the work. commit af3886737ccfd116c84634e3cbb4389c860f3304 Author: Richard Gobeille Date: Wed Jan 5 13:02:26 2022 -0800 Duke3d: improve Polymost and Polymer setup menus commit 7ff7ccc3ee0bb29612e24a1b977b44a50de1ad34 Author: Richard Gobeille Date: Thu Jan 6 01:59:06 2022 -0800 engine: add max texture size to glinfo struct commit d57210033e69ff6db626f4e3d3b22f00e5597f41 Author: Richard Gobeille Date: Wed Jan 5 10:35:15 2022 -0800 engine: change Polymost cvars around to be a little friendlier to users who want something other than the default lack of texture filtering, etc New cvar hierarchy: r_useindexedcolortextures overrides/disables r_anisotropy and r_usetileshades r_texfilter overrides/disables r_useindexedcolortextures (and thus re-enables r_anisotropy and r_usetileshades) This commit also fixes terminx/eduke32#235 commit 417eaea9910a84020fcb4f292157fd8537c57f2f Author: Richard Gobeille Date: Wed Dec 29 19:55:31 2021 -0800 Duke3d: fix .ogg sounds defined for Duke talk sometimes not playing when used in the skill selection menu We were hitting the FX_SoundActive() check for ud.skill_voice in G_NewGame() before the worker threads completed the decoder initialization work scheduled by the S_PlaySound() call in the MENU_SKILL case in Menu_EntryLinkActivate()--the code in G_NewGame() was proceeding to the next stage because FX_SoundActive() returned false, but our check occurred before it had a chance to return true. This also swaps the call to FX_StopAllSounds() in G_EnterLevel() out for a call to S_StopAllSounds() instead, and alters S_StopAllSounds() to set g_dukeTalk to false. Fixes terminx/eduke32#215 commit 8e68bd6f976ba3e6350c57deb5c19ac92a9a7b81 Author: Richard Gobeille Date: Mon Dec 13 16:47:52 2021 -0800 Duke3d: fix polymer savedfires thing commit bbb893473cc114d392029ac25e721fa42cc446a7 Author: Richard Gobeille Date: Tue Dec 28 02:02:35 2021 -0800 engine: fix CPUID branding string on platforms other than Windows commit d601f3fb0a902830a57e7748f3f638893632976b Author: Richard Gobeille Date: Sun Dec 26 21:30:07 2021 -0800 engine: use SDL_VERSION_ATLEAST macro instead of manual SDL_MINOR_VERSION etc checks commit 3113e79b215b864eb7bd66b78feb3cffba3b4946 Author: Richard Gobeille Date: Wed Nov 24 04:29:16 2021 -0800 Duke3d: clean up a couple sprite loops commit 3123c01897ffab5f27875f6da8a815f4467a0745 Author: Richard Gobeille Date: Wed Nov 24 04:29:16 2021 -0800 Makefile: bump CSTD and CXXSTD to gnu11 and gnu++14 respectively commit 8e45fb2f6544800212954d177ea4e0150904afa2 Author: Richard Gobeille Date: Sun Dec 12 21:54:31 2021 -0800 Duke3d: tweak EDUKE32_STANDALONE logic in a couple places, not intended to functionally change anything. commit 629b3f33073baf0171aa313bafc657b7d1feff16 Author: Richard Gobeille Date: Thu Dec 16 15:58:27 2021 -0800 mimalloc: update to 6ead2840ec620f1fc06297c310c902e56835c0a7 commit 3b9f04270107bf83e51159f1afbb138228fee818 Author: Richard Gobeille Date: Wed Nov 24 04:29:16 2021 -0800 smmalloc: update to e76a373929c756206edb4b2cb69e0e528daadb48 This looks like it's supposed to fix an issue with the implementation of realloc() in cases where resizing a block allocated from smmalloc requires the new block come from the generic allocator (mimalloc in our case). commit 4d56e26bac361a9e0aa1477eba1550bcf318e782 Author: Richard Gobeille Date: Mon Dec 27 20:34:58 2021 -0800 miniz: update to 13b21dddc733862f3a653809b671761849e18285 I think the only worthwhile change is a fix for use of uninitialized memory in tinfl_decompress_mem_to_callback() commit 0addeb6d133dee41401dbc0c9fa69a955bffe9f3 Author: Richard Gobeille Date: Mon Dec 27 22:19:15 2021 -0800 Duke3d: add static assert for NUMGAMEFUNCTIONS <= 64 commit 8fbd0d1dec67065b60afb922195edfbe3c344418 Author: Richard Gobeille Date: Mon Dec 27 22:07:57 2021 -0800 Duke3d: rename EDUKE32_STANDALONE variants of the inventory key names used in internal_gamefunction_names[] from ba7d12a3c2de83d3d979f1b7d6d9ac8d8da4d38c commit cb6c4e7724fd7c497c462504c64117c6f257447b Author: Richard Gobeille Date: Tue Dec 21 22:00:29 2021 -0800 engine: fix issue with GL_TEXTURE_MAX_ANISOTROPY_EXT commit 711983d894a344a66aeacee65aa050684b69b4e6 Author: Richard Gobeille Date: Mon Dec 20 04:17:01 2021 -0800 tools: update generateicon to produce data compatible with the current engine source commit a7a6cd043749947773cbf3e85ed66ffd6273f659 Author: Richard Gobeille Date: Mon Dec 20 02:58:04 2021 -0800 tools: fix compilation of Build utilities commit b0754d7822028893a5ba071c10466efea7efc384 Author: Richard Gobeille Date: Thu Dec 16 16:53:34 2021 -0800 engine: fix silly defect in our printf functions commit 92126d3f617e3044519433a079aebdf3bf98f772 Author: Richard Gobeille Date: Wed Dec 29 19:10:30 2021 -0800 Duke3d: rename gamefunc_Show_DukeMatch_Scores to gamefunc_Show_Scoreboard, ditch related EDUKE32_STANDALONE use Indirectly addresses array overrun issue in ba7d12a3c2de83d3d979f1b7d6d9ac8d8da4d38c commit b3db44f59cfa500be8e7f9a17354008a1e6e8fae Author: Richard Gobeille Date: Mon Dec 27 00:19:35 2021 -0800 Duke3d: minor changes to new control ordering introduced in 5fbeae0c5cacda5273a07f1f13e37867750e25c5 commit a4d88a13eb9183d45853129c837c8ceaf56028a1 Author: nukeykt Date: Wed Jan 5 18:36:49 2022 +0900 mapster32: take aspect and fov into account for hitscan vector calculation commit 5ffe0d7ea85d722ee527c9f559b1e14dd78f9235 Author: Dino Bollinger Date: Thu Jan 6 02:23:27 2022 -0800 Duke3D: Support for multiple simultaneously active Viewscreens commit 278ba013de6cbf21653bf3cdfeec183fca6a1717 Author: nukeykt Date: Wed Dec 29 02:37:07 2021 +0900 engine: fix TROR regression caused by 421b54a8abb51e91cc539ec3a323e8581e2e05f7 commit 5fbeae0c5cacda5273a07f1f13e37867750e25c5 Author: Dino Bollinger Date: Wed Dec 22 09:15:12 2021 +0100 Duke3D: Introduce modern default keybind ordering Can be changed with the cvar cl_keybindorder. Settings the value to 0 restores the original classic keybind order, 1 uses the modern ordering. Either mode is overridden by custom keybind orders. commit 8982a256c2a04e760e9cc69fb65b0e1d2621443b Author: Dino Bollinger Date: Fri Aug 13 16:47:35 2021 +0200 Duke3D: apply reordering to mouse and controller config as well commit ba7d12a3c2de83d3d979f1b7d6d9ac8d8da4d38c Author: Dino Bollinger Date: Sat Nov 20 00:01:03 2021 +0100 Duke3D: Implement reordering of keyboard menu entries via DEF command List the gamefunc names (or corresponding indices) separated by whitespace. This will define the order of gamefuncs on the keyboard configuration menu. Any omitted gamefuncs will not be listed in the menu. Usage: ``` keyconfig { gamefunc_Move_Forward gamefunc_Move_Backward gamefunc_Strafe_Left gamefunc_Strafe_Right ... } ``` commit 9107b89632265e0404e52ecfa5e6e44caae75343 Author: Dino Bollinger Date: Fri Aug 13 10:35:39 2021 +0200 Duke3D: Decouple keybind menu ordering from assigned gamefunc index commit 8ba7a41883401a79f84a3ddfbd2a88a419cceb09 Author: Dino Bollinger Date: Fri Aug 13 09:57:27 2021 +0200 Duke3D: replace NUMGAMEFUNCTIONS macro with an enum value commit 7c0a304ecc3b840525c52cfaaf1719aeaae18258 Author: Dino Bollinger Date: Thu Dec 23 09:39:47 2021 +0100 Duke3D: Fix an error with the bonus tile, and extend EVENT_GETBONUSTILE Within EVENT_GETBONUSTILE, you can now set ud.return[0] to ud.return[4] to change each frame of the bonus screen animation separately. commit c1d069e7c1b2a7a5b5e00c60586fbf628c5d567d Author: Dino Bollinger Date: Sat Nov 20 22:29:02 2021 +0100 Duke3D: Add event EVENT_GETBONUSTILE to change bonus screen pic The RETURN value will be set to the current base bonusscreen tile, and changing it will change the tiles displayed in the bonusscreen. commit 9bf153e0b9028aa195d57e8b52dd510c8d29d29b Author: Richard Gobeille Date: Tue Dec 14 20:11:03 2021 -0800 engine: fix building against SDL older than 2.0.9 commit 8167009e0617b622fc491cdc74e8df724f9d685b Author: Richard Gobeille Date: Thu Dec 16 02:30:51 2021 -0800 SW: use CONTROL_SetAnalogAxisSensitivity() instead of CONTROL_SetAnalogAxisScale() for mouse I don't think this is perfect but it should be an improvement. commit 740e1bcbc31156ee5d9064b18ab2aa243a676ea9 Author: Richard Gobeille Date: Sun Dec 12 21:54:31 2021 -0800 Duke3d: fix an error in the autoaim logic where the z coord wouldn't be adjusted for CSTAT_SPRITE_YCENTER when playing Fury in EDuke32 (retail Fury builds were not affected) commit 6353ffe2188aa441902175305926899a09abc531 Author: Richard Gobeille Date: Sun Dec 12 21:54:31 2021 -0800 Duke3d: add STANDALONE_EVAL macro commit 3cbf4001af2b168f0a38beed94c672b6e0bb45a4 Author: Richard Gobeille Date: Fri Dec 10 17:16:32 2021 -0800 Duke3d: add menu option to control OPL3 volume post-amplification commit 77aa09023e2ab8ff2eef7a9d4c8b15ceae8b041c Author: Richard Gobeille Date: Wed Nov 24 04:29:16 2021 -0800 Duke3d: add mjr4077au to contributors commit b85ed73eee0e806bfc9e405946c0c0dedf4f54ce Author: Richard Gobeille Date: Wed Nov 24 04:29:16 2021 -0800 Duke3d: fix misleading usage of A_CheckSpriteFlags() (comparison with 0 implied the function returns the flag bits instead of `true` or `false`; it does not) commit 487ba030b9fdda184e0b2c27f17f21767f15881b Author: Richard Gobeille Date: Wed Nov 24 04:29:16 2021 -0800 engine: extra const in libtess2 commit 544044d66173ea840244ebe33a575e0cfabf01c3 Author: Richard Gobeille Date: Wed Nov 24 04:29:16 2021 -0800 Duke3d: fix redundant assignment commit cd88671f0bdebc170862b0260dceb2cc2a48da1e Author: Richard Gobeille Date: Wed Dec 8 17:39:01 2021 -0800 audiolib: remove unused duplicate function that crept in during dev work on the WinMM MIDI driver commit defbbfb6d2ae939a33bd62fdd8cfeec9a1322f5b Author: Richard Gobeille Date: Wed Dec 8 17:25:06 2021 -0800 engine: fix use of value before validation in polymer_updatewall() commit f78340554fc77eebe474b16aaefbbea323658fae Author: Richard Gobeille Date: Wed Dec 8 13:21:36 2021 -0800 engine: prevent potential deferencing of null ptr commit 3a12ada9d04d2eca9e5cdad0c921166854ff5f68 Author: Richard Gobeille Date: Wed Dec 8 13:21:36 2021 -0800 engine: this sort of type punning isn't necessary anymore commit 0beeebf702dd2795a4bd2ef409404c1b1f867892 Author: Richard Gobeille Date: Wed Dec 8 13:21:36 2021 -0800 audiolib: update TinySoundFont to e86d986ed6ccb93b4ee41d2de656c49c721b18db commit 4c1939858f29184265dfd0710ca86910d749e55a Author: Richard Gobeille Date: Wed Dec 8 13:21:36 2021 -0800 engine: fix copy/paste error in screentextRender() For some reason, this error didn't propagate into screentextGetSize(). commit 63ae2ebaa8ad1c4c93f8aa44e764e2515e19ff05 Author: Richard Gobeille Date: Wed Dec 8 09:55:26 2021 -0800 audiolib: optimize modulo operations out of a few common OPL3 emulator functions commit 56db37016105704300b8f28ad6597f61f0a81ff4 Author: Richard Gobeille Date: Wed Dec 8 09:55:26 2021 -0800 audiolib: sort opl3_slot struct by member size commit 5aa3b1aa568fb233fac8ae0c45419609dacc2033 Author: Richard Gobeille Date: Wed Dec 8 09:55:26 2021 -0800 Duke3d: only fix16_to_int the player's angle once when throwing pipebombs or placing tripbombs commit 397d5f405332d4c0e1f0c84ceefe4745d4a630ff Author: Richard Gobeille Date: Wed Dec 8 09:54:08 2021 -0800 Duke3d: merge identical cases in switch commit 556e2eb64671ca7ac4cb3fbc8b6543cca90ed5a3 Author: Richard Gobeille Date: Wed Dec 8 09:42:46 2021 -0800 Duke3d: any compiler worth half a shit will optimize this away but I want the static analyzer to shut up about calling strlen within a loop commit 1c7f64f0d755ec21d1b2aac087d6119c7dd48058 Author: Richard Gobeille Date: Wed Dec 8 08:56:21 2021 -0800 engine: promote globalypanning to type of globalzd before shift commit 324edd1aae03b2c1b428de8a88e42a20bbf4f6c3 Author: Richard Gobeille Date: Wed Dec 8 08:54:45 2021 -0800 Duke3d: fix copy/paste error commit de4492fefa8c33df232705ad9ab7436a62ec97f6 Author: Richard Gobeille Date: Tue Dec 7 21:03:35 2021 -0800 engine: consolidate identical cases in softsurface_blitBuffer() switch statement commit 2c2ed17c2296d751104e75a5f1a7ac4f675799a7 Author: Richard Gobeille Date: Wed Dec 8 08:55:31 2021 -0800 This check wasn't doing anything commit 293a72841d32b578727ae8cfbb964a7ca11793e3 Author: Richard Gobeille Date: Wed Dec 8 08:35:39 2021 -0800 engine: prevent leak of address of object on stack in polymost_dorotatespritemodel() commit 2ba642e3248be4dea909baf56d5baa2dbef5066c Author: Richard Gobeille Date: Wed Dec 8 08:34:03 2021 -0800 engine: C++11 syntax for default constructors in vectormath lib commit 48af502a5d65bce28487cb353dd71d8664567e82 Author: Richard Gobeille Date: Wed Dec 8 07:40:03 2021 -0800 GetWindowLong -> GetWindowLongPtr commit dedc889477d673356e99100678999e165b686820 Author: Richard Gobeille Date: Wed Nov 24 04:29:16 2021 -0800 Makefile: add SDL_STATIC so Fury can static link SDL on Linux, but not any of its dependencies or other required libraries commit 573b07cedefb9109cecedd867d582e5deb3481df Author: Richard Gobeille Date: Wed Dec 8 07:51:24 2021 -0800 engine: fix potential crash in polymost_fillpolygon() commit ec4807edcb634dd876cd92e770f05fecf147fb0d Author: Richard Gobeille Date: Wed Dec 8 07:24:43 2021 -0800 engine: no need to set initDone twice commit 47dfd1d1a3baa04d3e225182133317ab5f340adb Author: Richard Gobeille Date: Wed Dec 8 07:23:18 2021 -0800 engine: fix faulty logic in OSD_SetLogFile() commit 86e2d456f7982b3936ca6c5932ed4e01196a35e1 Author: Richard Gobeille Date: Wed Dec 8 07:22:11 2021 -0800 Duke3d: these conditions are already checked above commit 489ae41e33cee823c999a17cba4ebf44881d0830 Author: Richard Gobeille Date: Tue Dec 7 21:02:43 2021 -0800 audiolib: fix undefined behavior commit 4af066e6d58f388386e6b5a1b4f806da4d32d037 Author: Richard Gobeille Date: Tue Dec 7 21:00:54 2021 -0800 Duke3d: fix accidental use of initprintf() instead of buildprint() commit 095ae9125d582b542bc0a6c42b629b58ad633194 Author: Richard Gobeille Date: Tue Dec 7 21:00:10 2021 -0800 engine: fix console debug output when loading hightile textures and model skins takes too long commit 9669860d898c0538407e872371a15c43f22599e2 Author: Richard Gobeille Date: Tue Dec 7 20:58:46 2021 -0800 audiolib: remove dead code branch commit 75290ed3069d4c282adb375610c290a1aaffe66e Author: Richard Gobeille Date: Tue Dec 7 20:47:07 2021 -0800 engine: wow I'm dumb sometimes commit 9f124036cff68d8d6670988cd289d28f5171ccac Author: Richard Gobeille Date: Tue Dec 7 20:11:04 2021 -0800 editor: fix possible file handle leak in osdcmd_artdump() commit a6dfd93a2a7628178da5b67bd8ba24183a066113 Author: Dino Bollinger Date: Thu Dec 9 16:52:08 2021 +0100 Duke3D: Only attempt to switch subweapon if we actually have the weapon This fixes a bug in World Tour where trying to switch to the flamethrower while the current weapon is the freezer, and you have flamethrower ammo but not the actual weapon itself, then this instead locks the weapon key, preventing you from switching back to the freezer from other weapons. This bug also affected the Shrinker, but only if CON code changes the 'gotweapon 11' value to 0 after the player obtains the weapon. commit dfee579e8bb8eaeb814a5b8293c3dd962e5e2e35 Author: Dino Bollinger Date: Wed Dec 1 00:29:52 2021 +0100 Duke3D: Remove the 'previousboardfilename' mapart hack This was a bandaid that prevented repeatedly loading the same mapart when loading savegames. This meant having to constantly update the buffer whenever clearing mapart, which is undesirable. Fixes mapart not reloading after quitting to title, or ending an episode and then loading a savegame. commit 888a987f5d909716f6adb564fb3be2eb93abdeb4 Author: Richard Gobeille Date: Tue Dec 7 10:21:08 2021 -0800 Duke3d: use FX_GetPosition() in S_GetSlot() to take the age of a voice into account when selecting a voice to cancel when attempting to play more than MAXSOUNDINSTANCES of a single sound simultaneously commit 71821e2c63185bd8d1ef293fbabfe8a51d606ae9 Author: Richard Gobeille Date: Tue Dec 7 13:18:34 2021 -0800 audiolib: basic MV_GetPosition() support for FMT_VOC/FMT_WAV commit c21ee6ed7493578b649aa87788b556af147d8601 Author: Richard Gobeille Date: Wed Dec 1 10:04:04 2021 -0800 Duke3d: move a debug assertion commit 8b9e3101dd0d7e0e19b610499bbf629ab511d4cb Author: Richard Gobeille Date: Wed Dec 1 11:35:48 2021 -0800 GLAD: bump GL version to 3.0, drop GLES APIs since we don't use them commit 10ca19f0dfafb7955dd3578ac72e1a1d8e3d95ac Author: Richard Gobeille Date: Fri Dec 3 14:19:11 2021 -0800 Duke3d: fix crash trying to play negative sound indexes from mistagged switches commit 95924490a286d26b6e75109b318f0ddb71d67c2e Author: Richard Gobeille Date: Fri Dec 3 14:07:25 2021 -0800 engine: tiny polymost optimization; swap 4 floating point divisions for multiplications in polymost_bindPth() commit 452f818fe7174bdb3031752cd067d4be4143df82 Author: Dino Bollinger Date: Wed Dec 8 10:02:43 2021 +0100 Duke3D: Reset all actor vars in prelevel() regardless of the sprite's statnum Previously, only sprites with statnum 0 would have their per-actor variables reset to the default on map load. This meant that sprites with statnums that were pre-defined in the map would inherit the actor var values of the sprites with corresponding spriteNums from the previous map. Additionally, the per-actor var reset is now performed before EVENT_PRELEVEL, meaning that any changes to actorvar that occur in this event will now persist. Previously, altering actor vars for sprites with statnum 0 in this event would not have any effect, as they would be reset to their defaults afterwards. commit 386ef41742002aa76fb833f5b0f9ec29233cac6e Author: Dino Bollinger Date: Tue Dec 7 14:39:28 2021 +0100 Duke3D: Disable Rumble menu item if no controller found commit a7ab79e69eef5ecd5ec482df897e42e456445e17 Author: Richard Gobeille Date: Wed Dec 1 10:16:22 2021 -0800 engine: fix more stupid errors in b6740a7b32d352e6d71a5be0bc118f381599933e commit 4822ad2005c110c7b9f1bd2bb58aa0280b8bed88 Author: Dino Bollinger Date: Tue Nov 30 15:40:48 2021 +0100 Duke3D: Prevent segfaults when no sounds are defined. commit f33c7ceaa122022f7c2426964ec5737062d754c5 Author: Dino Bollinger Date: Wed Dec 1 14:55:38 2021 +0100 Duke3D: Add sanity checking to CON decimals, hex constants and labels * Scripts no longer compile if a hex constant is malformed (e.g. 0x, 0xz) * Compiler will now warn if a decimal or hex constant isn't terminated in a sane manner. (example: digit is followed by letters: "100ab") * Compiler will now warn if a label starts with digits. This is done to prevent ambiguity between integer constants and actual labels. commit b047d370179f847ba4831a0b4e2dc691919bc436 Author: Richard Gobeille Date: Wed Nov 24 04:29:16 2021 -0800 engine: fix dumbass GL state oversights commit af2adccd758635f1b835e554fffb3e08f81932dd Author: Richard Gobeille Date: Wed Nov 24 04:29:16 2021 -0800 engine: fix stupid copy/paste error in b6740a7b32d352e6d71a5be0bc118f381599933e commit 38eba41b742b5e0cd79bec41a98a915f91621c74 Author: Richard Gobeille Date: Wed Nov 24 04:29:16 2021 -0800 Duke3d: WIP controller force feedback (rumble) support Currently hard-coded with no real customization; algorithm and range of values will certainly change but the current implementation attempts to automatically discern appropriate force feedback values based on the potential damage inflicted by projectiles the player fires, events occurring in the map such as explosions and earthquakes, and on the damage the player receives. A future commit will likely contain a way to send the force feedback impulses from CON. commit a81be4c725e6af05cba5187990f61eda55b71bd6 Author: Richard Gobeille Date: Wed Nov 24 04:29:16 2021 -0800 engine: work on controller features commit 0178c7c95f994a8c423f02bee49cdb7910e41c23 Author: Richard Gobeille Date: Wed Nov 24 04:29:16 2021 -0800 Duke3d: fix oversight in current A_RadiusDamage() implementation that allowed a sprite to inflict radius damage on itself commit a3426ec1f5ca81086feba9f19390c3411f02836d Author: Richard Gobeille Date: Wed Nov 24 04:29:16 2021 -0800 engine: fix animvpx commit 5bd6c57a64db9d526b0caefd6c529e6c4f5b5fc9 Author: Richard Gobeille Date: Wed Nov 24 04:29:16 2021 -0800 engine: unify some code duplication between gloadtile_hi() and mdloadskin() commit 32865f53bb4f4c8bc641e3f4a8e514a1b73395ba Author: Richard Gobeille Date: Wed Nov 24 04:29:16 2021 -0800 asyncplusplus: update to 7d44011c7d450488e6ab695d09eb959f7d38414b No functional changes here. commit a66705e1b02260553b4211bdb360d634f4b520cc Author: Richard Gobeille Date: Fri Nov 26 03:10:04 2021 -0800 Duke3d: fix Fury build commit 62e5ec77ca5f20feba88685a2599acdb55c9b092 Author: Jordon Moss Date: Sun Nov 28 16:04:16 2021 -0800 engine: Add parameter to mdgetskinmap enabling fallback to other skins if one for the current pal isn't found. commit 564c0ba2fc2516a36686ff489aabb0fb8adfc08e Author: Dino Bollinger Date: Sat Nov 20 23:04:40 2021 +0100 Duke3D: Add ud member "folsvel" and allow strafing in map follow mode `userdef[].folsvel` represents the strafe velocity. commit 06f542caa798551eb8fa40c94bd069c0bc4a1ba0 Author: Jordon Moss Date: Fri Nov 26 20:25:59 2021 -0400 engine: Fix regression causing KV6 voxels to render black. commit 7770275640d35bfadf7e188cbf6a1e328a17f28c Author: Dino Bollinger Date: Sat Nov 27 23:25:47 2021 +0100 Duke3D: Fix crash with jumping to menu options with letter keys commit 90da0fc1bff58debe97fc7154933acca9ee2d8f8 Author: Richard Gobeille Date: Wed Nov 24 12:26:23 2021 -0800 engine: allow r_pr_shadowdetail 6 (8192x8192) commit 3ca0f0f790b246b9cfa09785135cd64c0afa2314 Author: NY00123 Date: Fri Nov 12 00:24:50 2021 +0200 Duke3d: add mus_tryformats cvar and menu option to control loading OGG/FLAC replacements for MIDI Based on MR !175. commit cc924eebb9800479a96274424976a7a6cc130ea5 Author: Richard Gobeille Date: Tue Nov 23 01:07:55 2021 -0800 Duke3d: fix sound regression causing sound #0 (KICK_HIT) to play when doors were opened commit f456eb370b6c9984bfe427b5865a85332dd43731 Author: Richard Gobeille Date: Tue Nov 23 00:44:34 2021 -0800 Update gamecontrollerdb.txt commit b98b1c198f2edad755cd1b7239f60741ff0b3b6a Author: Richard Gobeille Date: Tue Nov 23 00:12:47 2021 -0800 engine: add missing buildgl_bindSamplerObject() calls commit 255ae1eb1a7fb5eb543eb65e4fc2435372bf3181 Author: Jordon Moss Date: Sun Nov 21 18:35:39 2021 -0400 engine: Get forcefilter working with models when sampler objects are enabled. Factored out some related code duplication. commit 7b325f1cbf2613d9a220da61c3d3f0dc99d4770e Author: Richard Gobeille Date: Fri Nov 12 22:24:44 2021 -0800 engine: add SAMPLER_NEAREST_NEAREST_CLAMP and SAMPLER_NEAREST_NEAREST_WRAP, samplers which use GL_NEAREST_MIPMAP_NEAREST for the minification filter It looks like mipmapping actually works with the indexed color texture shader in Polymost as-is, but it doesn't work with Polymer art mapping so we're disabling it there. commit b3a831c62c0ba47532810365b73fe7efb75a642c Author: Dino Bollinger Date: Wed Nov 24 15:55:41 2021 +0100 Duke3D: Add actor struct members `htfloorzoffset` and `htwaterzoffset` Values range from -128 to 127. The former defines the distance of the actor from all floors, the latter applies additively to the hardcoded offset applied when on lotag 1 sectors. Positive values lift the actor off the ground, negative values move the actor into the floor. The default values for both struct members is 0. To achieve a net zero displacement, htfloorzoffset needs to be set to -1, and htwaterzoffset must be set to 24. Also note that internally, the offset is multiplied by 256 to receive the actual z coordinates (like `iffloordistl`). commit 1cc6b192ff6958000c35f12b975f9f8e32f25f2a Author: nukeykt Date: Thu Nov 25 05:21:59 2021 +0900 engine: eliminate krecipasm in wall sprite rendering code commit 2cbb77c688e8a33fb9c2695fbb3bfb996c6c9ed8 Author: nukeykt Date: Thu Nov 25 04:28:45 2021 +0900 engine: fix integer overflow in wall sprite x coordinate calculations commit 76b84216be02b69c1bea08a942d4be86de6b1896 Author: Jordon Moss Date: Fri Nov 19 22:44:34 2021 -0400 engine: bind a sampler object when drawing voxels. commit 4d7b0b9c720bdd6d2acdfe47b633a57d3c642c8e Author: Richard C. Gobeille Date: Thu Nov 18 08:23:27 2021 -0800 Revert "Duke3d: ACTIVATOR/MASTERSWITCH parity for SE2, SE3, SE18, SE21, SE31, SE32, and SE36" This reverts commit fbf4ab5941b117b856c414022bd6c4a337cc6b43. commit b1de3ede2083a611e955ff325c6289f3145c50b5 Author: Richard Gobeille Date: Wed Nov 17 00:23:27 2021 -0800 mimalloc 2.0.3 commit 2e909fc45bd08403c7fd41fd8a8edc3593c98f75 Author: Richard Gobeille Date: Fri Nov 12 22:24:44 2021 -0800 audiolib: throw errors when vorbis and XMP decoder initialization in a worker thread fails, validate result of worker thread decoder initialization before allowing MV_Mix() to proceed with working with the voice Untested beyond the obvious stuff like verifying the non-failure cases still produce non-failure results. These errors were still being handled before this commit, but it was in more of a rudimentary "do nothing and silently fail" sort of way. commit 25b63ddc420f77098aaa2dba3362ef27c9207675 Author: Richard Gobeille Date: Fri Nov 12 22:24:44 2021 -0800 Duke3d: properly handle the rejection of sound data that can't be identified by file header again commit 1b880e5a8eb246cc840a9d92f81f69ea604fe8b4 Author: Richard Gobeille Date: Tue Nov 16 08:29:07 2021 -0800 engine: oops, this still needs to be called here for Polymer to work in the editor commit f5a0f0824b543dc8a2d7f2f8ef1eae39feef441f Author: Richard Gobeille Date: Fri Nov 12 22:24:44 2021 -0800 engine: fix warning commit 19c6fd7ddb80271f7a0b6e923dfdeaa10cde53c8 Author: Richard Gobeille Date: Fri Nov 12 22:24:44 2021 -0800 Fix some whitespace that ended up with tabs in it commit 7009ff785ea6fd261e33419099e8f8e51af5e5d5 Author: Jordon Moss Date: Thu Nov 18 19:20:39 2021 -0400 engine: Add linear sampler object, fixes forcefilter DEF token in polymost. commit dc16f81b2f4053d2b7ac449300acff1cc485abf6 Author: Andrea Capparuccini Date: Tue Nov 16 07:56:29 2021 -0800 VoidSW: Stuttering fix commit b733b4396a89b76edf84a18412defa5d0083904c Author: nukeykt Date: Mon Nov 15 01:27:47 2021 +0900 engine: fix integer overflow of globalzd in floor sprite rendering code This commit also simplifies previous x/y panning fix commit c4310a2ed3edba289c94c679361d67bfdbbcce0c Author: nukeykt Date: Sun Nov 14 12:52:51 2021 +0900 engine: fix integer overflow of x/y panning in floor sprite rendering code commit d90812371259c8dd28c606315f58d5d43e85522b Author: Dino Bollinger Date: Thu Jul 15 18:38:53 2021 +0200 Duke3D: Prevent savemapstate during gamemodes EOL, RESTART and DEMO This prevents accidentally overwriting the wrong map slot. commit 8e253a928791a8bbc3b303671134fc5855c2244e Author: Richard Gobeille Date: Fri Nov 12 22:04:04 2021 -0800 Revert "Windows: update SDL to bfd2f8993f173535efe436f8e60827cc44351bea" This reverts commit c1a128d71a92f6cc399b2a751fe8a81aeed5c553. commit 61f71049b5dc981d41a509f9957cefd99aa416cf Author: Dino Bollinger Date: Fri Nov 12 23:53:08 2021 +0100 Mapster32: Increase MAXSOUNDS to 16384 to match the game-side limit commit b3003aca2e436014f67dbfa6dce37c5d004d9e49 Author: Richard Gobeille Date: Fri Nov 12 07:53:56 2021 -0800 Duke3d: remove reset to previous projectile position from projectile bounce handling Please report any weirdness relating to bouncing projectiles impacting surfaces. commit 9467311b9ae433de7044e4a5b4de595959a33c5b Author: Richard Gobeille Date: Fri Nov 12 07:53:56 2021 -0800 Duke3d: make actors set to move vertically in CON act as if SFLAG_SMOOTHMOVE was explicitly enabled This smooths out stuff like octabrains and flying liztroops without making them look stupid when they move on the ground. commit a56a7521433f9ff5474bf00fe8146c7a586e743f Author: Richard Gobeille Date: Fri Nov 12 07:53:56 2021 -0800 engine: add amalgamated version of the vector math library found at https://github.com/glampert/vectormath commit 47e24d2b0f623e9d5292de900fa3da02277e62b4 Author: Richard Gobeille Date: Fri Nov 12 07:53:56 2021 -0800 engine: clean up r_persistentstreambuffer so you can turn it on and off without having to restart anything commit 839c192464cd550dd665ac779df986881a328057 Author: Richard Gobeille Date: Fri Nov 12 07:53:56 2021 -0800 engine: move all the cvars in polymost.cpp so that they're at least in the same spot commit c1a128d71a92f6cc399b2a751fe8a81aeed5c553 Author: Richard Gobeille Date: Fri Nov 12 08:38:52 2021 -0800 Windows: update SDL to bfd2f8993f173535efe436f8e60827cc44351bea commit e67e5391e19501159fa5341a81b37055563f9301 Author: Richard Gobeille Date: Fri Nov 12 08:38:52 2021 -0800 Duke3d: fix a few polymer lighting bugs, add interpolation to light positions, etc commit b6740a7b32d352e6d71a5be0bc118f381599933e Author: Richard Gobeille Date: Fri Nov 12 08:38:52 2021 -0800 engine: improve GL state management, add support for GL sampler objects, add libtess2 and implement in polymer in place of the GLU tesselator, drop dependency on libGLU, improve GL debug output (in debug builds), fix various GL resource leaks This should prevent a few more state changes, and address issues arising from rendermode changes wiping our state but not any of our accounting data for said state. Because libtess2 seems to be abandoned and because there were a few issues I needed to fix anyway, I went ahead and made a custom single-file header-only version for improved performance. commit 661883a52dc2d660cc3152df4a79e371c3b0f4d6 Author: Richard Gobeille Date: Fri Nov 12 07:02:06 2021 -0800 Duke3d: fix extra counters shown with r_showfps values greater than 1 to account for frames being rendered in places where they previously weren't commit 7304811fc30e5cbe6349ad0ccd2a56af0e513b3b Author: Richard Gobeille Date: Fri Nov 12 07:16:37 2021 -0800 engine: detect GL_ARB_sampler_objects, drop detection of GL_ARB_vertex_buffer_object, GL_EXT_texture_edge_clamp, and GL_SGIS_texture_edge_clamp commit 0e45faace13e6c7278f366dbcf432b1bf9cf0b1f Author: Richard Gobeille Date: Fri Nov 12 07:01:41 2021 -0800 glad: update to 0.1.34 commit 3ddb9dd235e94c7d2b24b905f0f6dfb0ab06c3be Author: Richard Gobeille Date: Fri Nov 12 07:26:53 2021 -0800 engine: remove unfinished x86_64 port of the original x86 classic renderer It never worked. commit a9ba29fc791844a9812bffb2c982ada0a1534fab Author: Richard Gobeille Date: Fri Nov 12 05:58:54 2021 -0800 mimalloc: re-add EDuke32-specific patch I accidentally lost when I updated it commit e08d1a9a1a6d1774708a1db7b1f91d4257359280 Author: Richard Gobeille Date: Sat Sep 4 14:36:47 2021 -0700 Fury: fix screen return-to-center when triggering save checkpoints, hopefully for good this time. :p commit 01f10a60f4aff93576b576b07b96aee45c9dc17f Author: Richard Gobeille Date: Sat Sep 4 14:36:47 2021 -0700 Duke3d: fix map console command to work correctly with coroutine setup Adds MODE_NEWGAME to player .gm commit cd55f332e9dd795fcb42f1cc09ab9e9b16d15a88 Author: Richard Gobeille Date: Sat Sep 4 14:36:47 2021 -0700 Duke3d: turn G_DrawFrame() into a coroutine that can just be resumed from wherever we need to Uses minicoro, https://github.com/edubart/minicoro commit 3c256ba1540c32b36c3009d2fac17182ca301093 Author: Richard Gobeille Date: Fri Nov 12 05:12:47 2021 -0800 Update SDL gamecontrollerdb.txt commit 5b22f2c246f6786a365b6626de07714c4342ca94 Author: Richard Gobeille Date: Tue Aug 31 18:56:25 2021 -0700 mimalloc: update to e96614961f1a6b2a3ab01e4b21fc600c23d0ba1b commit 6812b7447433252fa217ca406a4f8e8a7f8eb0bf Author: Richard Gobeille Date: Thu Nov 11 23:15:37 2021 -0800 Duke3d: sound fixes commit fb4369f817fe51813c853ec5df03026fe1f73204 Author: Richard Gobeille Date: Thu Nov 11 23:15:37 2021 -0800 audiolib: minor AdLib driver fixes This fixes a crash when restarting the sound system twice in a row with the OPL3 driver selected but an .ogg (or .flac or any other format) is playing instead, and makes a couple of things FORCE_INLINE in the process. commit 68c56c7bf57b72765b7d23a53b8939327dee3d47 Author: Richard Gobeille Date: Thu Nov 11 23:15:37 2021 -0800 audiolib: move libasync task to VoiceNode struct, explicitly wait on task completion before attempting to service a voice with MV_BeginService() This fixes crashes when attempting to service an .ogg voice immediately after starting playback, before the decoder has actually finished initializing. commit 37987dd0b4c2f6fc5c6ea3146a8a10b1d4133d84 Author: Richard Gobeille Date: Fri Nov 12 01:33:45 2021 -0800 Duke3d: fix warning commit 4685234627668fe229e238fdb13f308efddb474d Author: Jordon Moss Date: Thu Nov 11 13:53:44 2021 -0400 engine: Add parameter to hictinting_applypixcolor to allow disabling r/b channel swapping. Improved readability of hictinting_applypixcolor as well. commit 3ec0597d40bcd4646bda35420ff655a5fdbeedec Author: Richard Gobeille Date: Wed Nov 10 14:03:22 2021 -0800 Duke3d: jump to menu options when pressing letter keys commit d5a6729d27e88df889b290a84ab8bfc88ff771dc Author: Richard Gobeille Date: Thu Aug 12 14:28:20 2021 -0700 engine: move yax_updown[] reset to yax_update() commit 466b45d98bbbbb8db2c3c0852006f1c5f30df6ee Author: Richard Gobeille Date: Thu Aug 12 14:28:20 2021 -0700 Duke3d: add scroll wheel support back into file selection menus, add PgUp/PgDn and scroll wheel support to the little submenus used for selecting screen resolution and configuring the framerate limit etc commit ef06dff4d27f09107988a11fc8ce537019004c24 Author: Richard Gobeille Date: Thu Aug 12 14:28:20 2021 -0700 engine: don't use SDL_WINDOW_FULLSCREEN_DESKTOP and don't call SDL_SetWindowBordered in fullscreen commit bd1cd8cf46bbd8620d08660880bea807522a8c8b Author: Richard Gobeille Date: Thu Aug 12 14:28:20 2021 -0700 engine: ignore SDL_WINDOWEVENT_MOVED and SDL_WINDOWEVENT_RESIZED in fullscreen I'm not sure if this is going to end up being the correct thing to do here, but it's what we shipped in the Fury 2.0 binary. commit a4a34f19bbb61ff4d4d904651a4de666aab5f271 Author: Richard Gobeille Date: Thu Aug 12 14:28:20 2021 -0700 Duke3d: reformat information displayed within the save and load menus, add episode name and player health commit ee91e8cdd4bd0d36f0717acfabe488ca0de8df0d Author: Richard Gobeille Date: Thu Aug 12 14:28:20 2021 -0700 Duke3d: add display selection to menu, tweak menu framerate limit option I'm not very happy with the list of values for the framerate limiter. All methods of presenting these values to the end user seem to be terrible: linear slider bars are cumbersome and contain many unnecessary values, and simply presenting a field for a value to be entered into requires the end user know what they're doing. Ugh. commit e8527308973405289ee1788a4c18d1bdc85c6ebd Author: Richard Gobeille Date: Thu Aug 12 14:28:20 2021 -0700 engine: better multi-monitor support commit af57b22d246187d1b7ef6864ea63406ffa620417 Author: Richard Gobeille Date: Thu Aug 12 14:28:20 2021 -0700 engine: fix console logging issue on Linux introduced by logging rework TIL vsnprintf and _vsnprintf are not, in fact, the same thing. commit dac415581e7a8252477f925268f2cfc180895bc3 Author: Richard Gobeille Date: Thu Aug 12 14:28:20 2021 -0700 engine: remove r_vbos cvar (useless for a while now), modify voxmodel to store data converted to tris instead of quads that are converted during the VBO building pass This is going to need a little work to get going again on the couple of configurations that don't define USE_GLEXT (GEKKO and EDUKE32_GLES). Should USE_GLEXT even be a thing anymore? commit 5aeb2b33099961677a7210319e9bb0277d3c6c48 Author: Richard Gobeille Date: Thu Aug 5 15:27:58 2021 -0700 engine: adjust polymost z-fighting mitigation, add two new cvars: r_spritedepth and r_spritedepthmul r_spritedepth is the base multiplier for a sprite's position in the depth buffer and r_spritedepthmul controls the multiplier for a unique offset value assigned to each sprite drawn. commit 9a2a8c3e3d1b7773fa083c483cad2fe966026571 Author: Richard Gobeille Date: Wed Aug 4 13:09:27 2021 -0700 engine: mask angle precision related geometry intersection by calculating higher precision angle for intersecting sprite planes from intersecting wall's normal commit 468b8e47a134ef285eb26c76bee1c41a86d78b25 Author: Dino Bollinger Date: Sat Nov 6 17:30:13 2021 +0100 Engine: Fix updatesectorz() not checking z height in fallback, and add fallback optimization to updatesectorexclude() commit c423c6d50aa80cb0e5abfa523fbaa12d495f52aa Author: Jordon Moss Date: Tue Nov 9 19:02:23 2021 -0400 Engine: Make floor-aligned model z offset behaviour in Polymost consistent with Polymer. commit 1e2ea45e2bdc9078561eddab71d1afff9b6c7323 Author: Jordon Moss Date: Wed Nov 10 15:55:41 2021 -0400 engine: Fix a fuckup where I accidentally removed the color swap from gloadtile_art. commit 0dff2879231f7ae9fa00d4ba2fb5125b8b08922f Author: Jordon Moss Date: Wed Nov 3 16:14:25 2021 -0300 Fixed a bungle in gloadtile_hi. Only apply hictinting_applypixcolor if effect != 0. commit 8970754aafb25e4e68765cfeed3e94252dbd0893 Author: Richard Gobeille Date: Tue Nov 2 21:00:02 2021 -0700 engine: add "notrans" .def token for voxels to disable drawing with translucency in GL modes commit e3df8207322dbbdeabd907cce6160ae8693db13b Author: Dino Bollinger Date: Sat Sep 18 22:01:08 2021 +0200 Duke3D: Add the CON commands `getngcflags` and `setngcflags` Usage: ``` getngcflags [...] setngcflags [...] ``` Gets/sets the flags for the newgamechoices entries at the specified indices. The index list is variable-sized, up to a maximum of 3. This can be used to enable/disable the MEF_Hidden and MEF_Locked state. Supersedes the userdef struct members: `m_newgamecustomopen` and `m_newgamecustomsubopen`. commit 0516522f5f6b6c515129cf22b96341843997e3b1 Author: Dino Bollinger Date: Sat Sep 18 21:44:36 2021 +0200 Duke3D: Extend newgamechoices menu with a third layer of entries. Also permit usercontent flag on subentries. commit 65ae8627fe513e54c4d29572fc2fde90e16ac30e Author: Richard Gobeille Date: Mon Nov 1 00:26:55 2021 -0700 engine: address defect in c653ba7fc09257ed3590cd2ce29d155ef6752032 commit bfeaf6192211e7c5615081a9f53f886a0ab698fa Author: Richard Gobeille Date: Tue Sep 7 23:11:53 2021 -0700 Duke3d: fix S_ChangeSoundPitch()/CON_SETACTORSOUNDPITCH commit d8a22b7344fe20e068bf30c50d69379c64f88b5d Author: Richard Gobeille Date: Tue Sep 7 23:11:53 2021 -0700 Duke3d: improve S_StopAllSounds() (I think) commit 88047c890313b676f76a16d36562f79e4be1cc0a Author: Richard Gobeille Date: Tue Sep 7 23:11:53 2021 -0700 Duke3d: use .playing member of sound_t as bitfield, improve freeSlotQueue std::atomic usage commit 0730abdf1767cc587a987e0d5cdc4a156eeab84f Author: Richard Gobeille Date: Tue Sep 7 23:11:53 2021 -0700 audiolib: offload xmp_create_context()/xmp_load_module_from_memory() into worker thread commit 76b0d9cf0852a830d1f26f87d1e1526b5c1debe7 Author: Richard Gobeille Date: Tue Sep 7 23:11:53 2021 -0700 audiolib: offload initial ov_open_callbacks() etc calls for vorbis into worker threads to avoid VM stalls when playing tons of .oggs from script commit 991cbd067563dbcda9983756c6a57638ffa5ce90 Author: Richard Gobeille Date: Tue Sep 7 23:11:53 2021 -0700 engine: add libasync (async++), https://github.com/Amanieu/asyncplusplus/ commit 0fb5f94d8232cfbb7b2600b8862133c0fe81f627 Author: Richard Gobeille Date: Tue Sep 7 23:11:53 2021 -0700 engine: update libdivide to b322221677351ebb11f0a42fe9a9a2794da5bfe5, add libdivide_config.h engine: update libdivide to b322221677351ebb11f0a42fe9a9a2794da5bfe5, add libdivide_config.h commit 5beeb55f16eaeefadeb844c6e7a41a9bc0b237fe Author: Richard Gobeille Date: Thu Oct 28 03:26:18 2021 -0700 Duke3d: fix annoying GCC 11 warning The warning says you can silence it by surrounding sizeof(int32_t) with extra parentheses, but it doesn't work. commit c653ba7fc09257ed3590cd2ce29d155ef6752032 Author: Richard Gobeille Date: Tue Oct 19 17:17:42 2021 -0700 editor: remove call to calc_sector_reachability() from yax_updategrays() in favor of calling it explicitly when needed instead commit 752740cd913779f63799e84fa268709606d7ca3e Author: Richard Gobeille Date: Wed Oct 20 21:45:53 2021 -0700 engine: print commit hash from SDL_GetRevision() to log at startup when using SDL dev builds (odd-numbered patch level) This is admittedly terrible, but it shouldn't break unless the SDL_GetRevision() output format changes, in which case it just won't print the string anymore. commit b2e37a67478dfa8a32439e488bbd829409065b24 Author: Richard Gobeille Date: Thu Oct 21 15:32:59 2021 -0700 engine: prune SDL_mixer stuff from sdl_inc.h We will never NEED_SDL_MIXER. commit afc5d85d6e3b25e678c3ecec01e2a6b80af177ba Author: Richard Gobeille Date: Thu Oct 21 15:47:56 2021 -0700 audiolib: silence warnings commit 24a7594ce08bc65839bebfff58206ee92ed55603 Author: Richard Gobeille Date: Thu Oct 21 16:09:14 2021 -0700 Duke3d: add predefined TILE_ANIM and TILE_VIEWSCR tokens for CON commit 1b4676b1cd38ee1cafc69fc52f4df8d5f1721332 Author: Richard Gobeille Date: Sun Oct 24 17:51:59 2021 -0700 Duke3d: remove extra S_SoundIsValid() check from A_PlaySound() This is checked in both S_PlaySound() and S_PlaySound3D() anyway, and we need to get to that stage of execution in order for EVENT_SOUND to fire. commit d8de0524b8ab4b09609a494eb17484ce64e134e1 Author: Richard Gobeille Date: Wed Oct 27 01:50:47 2021 -0700 engine: fix tabs in random.h commit 097eb09db3412b2f4313739fc410bdf153bf60d9 Author: Richard Gobeille Date: Mon Oct 25 19:33:26 2021 -0700 Fury: fix skipping intro screens with left mouse button commit b51b553460b711b6965dda2e18e37b696312e191 Author: Richard Gobeille Date: Wed Oct 20 14:35:40 2021 -0700 Duke3d/MACT: change mouse sensitivity scale, move sensitivity cvars to MACT commit ac9d5fbdbe8949118cf27a29b0ebaa12b2b51f03 Author: Richard Gobeille Date: Sat Oct 16 17:02:57 2021 -0700 engine: fix compilation warning with RELEASE=0 builds commit b47b6ecfce8661dc215c2968d7768e9d070d23ce Author: Richard Gobeille Date: Tue Oct 5 09:27:34 2021 -0700 Duke3d: warn if attempting to load a savegame where all version fields match but userbytever, but let the player do it anyway. commit 9284eb27d98b8a53a1c949ff6c5b8691aa835ec0 Author: Richard Gobeille Date: Wed Oct 6 17:39:11 2021 -0700 Duke3d: assign gamefunc_Inventory to CONTROLLER_BUTTON_B by default, change CONTROLLER_BUTTON_RIGHTSTICK to gamefunc_Toggle_Crouch commit 48c5d453d5ade1b91727790d09ebc9b883e3fb83 Author: Richard Gobeille Date: Sun Sep 5 19:54:20 2021 -0700 Duke3d: better positioning for effect sprites spawned from projectiles commit df3dbe5088c9c703e3b77ecad0032571ac95655f Author: Richard Gobeille Date: Wed Sep 29 10:59:57 2021 -0700 engine: return -1 from kdfread_LZ4() if the size of the compressed data is allegedly less than zero commit 0a03cf7af46aee470e21853c3cf0bdfd57c93b26 Author: Richard Gobeille Date: Sun Oct 31 17:50:33 2021 -0700 engine: #ifndef NDEBUG screenshot_dir directory creation success console output commit e2cfad1f17a9db424627898fdff630b1201ba5c1 Author: Jordon Moss Date: Sun Oct 31 17:48:18 2021 -0700 engine: add screenshot_dir CVar. Defaults to "screenshots". commit a835847d6be005eaf945c17a29292acdc4ba69f0 Author: Jordon Moss Date: Tue Oct 26 13:41:39 2021 -0700 Engine: Apply tints on KV6 voxels; factor out shared code