PCExhumed - r12515 - Built: Mon Aug 23 03:33:01 UTC 2021 --- commit 7ee4e530fbb937ea7611c59aa5747acb02d04c09 Merge: fa2e10541 a564d2774 Author: Evan Ramos Date: Sun Aug 22 17:07:56 2021 -0500 Merge remote-tracking branch 'eduke32/master' commit a564d27747b8f132df99dd995fcf553b6a71e20a Author: Dino Bollinger Date: Sun Aug 22 02:03:10 2021 +0200 Duke3D: Fix POLYMER=0 builds commit c624dd64dec0f45e1baa2c1f9180e0292472e616 Author: Dino Bollinger Date: Mon Aug 16 12:26:43 2021 +0200 Duke3D: Improve the CON_ADDLOGVAR command Changes: - Passing struct members and player vars as argument now works. - If struct members are accessed without specifying the index, the command will display which index was used by the CON VM. - Enable use of constant values for array indexing in addlogvar - Enable logging of integer constants with addlogvar - General refactoring and code improvement. commit b042d9b750e098ddc5a373fba2ae12340d6f7d58 Author: Dino Bollinger Date: Sun Aug 22 14:12:59 2021 -0700 defineskill and undefineskill changes commit d1b3b702ba776119db042e6ba4e6b06d5f909f01 Author: Richard Gobeille Date: Wed Jul 28 01:12:19 2021 -0700 Duke3d: remove the extra flag passed to mouseLockToWindow() in GAME_onshowosd() that made it just show/hide the cursor instead of actually grabbing and ungrabbing input Truth be told, I don't even remember why this hack was necessary. Let me know if anything breaks. Fixes terminx/eduke32#143. commit 22043487fec00d7aada211b46c4ebf50e7c04b6e Author: Dino Bollinger Date: Sat Aug 21 22:20:08 2021 +0200 Mapster32: Expose 8 additional clipboard variables as READONLY to M32 CON These variables include: * `tempxpanning` * `tempypanning` * `tempxvel` * `tempyvel` * `tempzvel` * `tempstatnum` * `tempblend` * `tempsectnum` commit e28d400aee813cb7afabef8a7fd628829481cca3 Author: Richard C. Gobeille Date: Thu Jul 29 08:09:15 2021 -0700 Duke3d: fix savegame MUSICANDSFX issues Fixes terminx/eduke32#75 and terminx/eduke32#179. commit d595a39d2c1e041889c8848778c1d6a22e206900 Author: Richard Gobeille Date: Fri Aug 20 02:23:51 2021 -0700 Duke3d: fix issue with Polymer lights sometimes not appearing after the player dies and respawns Fixes terminx/eduke32#188 commit b4d1041f0bb2b44915efa50c6e52ff730f33bbf6 Author: Richard Gobeille Date: Wed Aug 18 15:57:42 2021 -0700 editor: skip drawing sprites in textured view if the sector is grayed out commit 0ffad6461ae87e94207415809a6e1f99c5260016 Author: Richard Gobeille Date: Sat Jul 24 01:32:27 2021 -0700 engine: use bitmap_set/bitmap_test in cansee() commit 6467e6fe5815a3c00979a3f8643e881c263dfcad Author: Richard Gobeille Date: Tue Jul 20 06:55:28 2021 -0700 Duke3d: use array notation instead of pointer arithmetic for dereferences of actor execptr commit f9952017c7fc0c3b48019823ccc0ed11db9b7f77 Author: Richard Gobeille Date: Mon Jul 19 00:08:18 2021 -0700 engine: improvements to the updatesector family of functions Implements the concept outlined in MR 114 and adds some additional checks to prevent more calls to getsectordist() than necessary commit 785390e980c0b7b0b88240748f90cb254fa7f57f Author: Richard Gobeille Date: Sun Jul 18 22:48:10 2021 -0700 engine: guard some modified behavior in pushmove() with an enginecompatibilitymode == ENGINE_EDUKE32 check commit fade7be387ddecd1cf04d340921eeb1ea5ed27e8 Author: Richard Gobeille Date: Sun Jul 18 06:46:50 2021 -0700 engine: move compatibility loops at the end of clipmove() to their own clipmove_compat() function commit fe8316af60b2b473883f2913ab3c0000adcb019a Author: Richard Gobeille Date: Thu Jul 15 09:51:42 2021 -0700 Duke3d: open menu with right mouse button during demo playback commit 949c1be7d271584956f0b58b98827e1f14c8f15f Author: Richard Gobeille Date: Wed Jul 14 06:20:58 2021 -0700 Duke3d: don't overwrite player name passed with -name parameter with that stored in the cfg, and don't save a name entered with -name to the cfg commit 43ed8c87ad5552f6d2b0f0245eeaa23dfd6f5346 Author: Richard Gobeille Date: Wed Jul 14 00:24:15 2021 -0700 engine: I think this needs to be set for interaction with clipshapes through TROR to work correctly commit 600ce46af679a5eaa47111c19f6348066b0a38d9 Author: Richard Gobeille Date: Sun Aug 15 17:50:49 2021 -0700 Duke3d: remove extra camera smoothing from G_DrawRooms, it's no longer required commit dc2f3016161adb29bf9355be4bda404ccea342b4 Author: Richard C. Gobeille Date: Sat Jul 10 01:22:51 2021 -0700 engine: fix rotatesprite interpolation issues commit 0f928a1fd5eb23e37c48d7eb547a176ff9cf6eab Author: Richard Gobeille Date: Sun Aug 15 17:50:11 2021 -0700 engine: fix timer problems, move calc_smoothratio to engine commit 96b52a86b45628d0926bcd43634da770d102238f Author: Richard Gobeille Date: Mon Aug 2 11:18:18 2021 -0700 editor: fix sector visibility value printed in message shown when using alt -/+ commit aab2d041dd3d0a1a0095b5b7ecb893c8b4e868af Author: Richard Gobeille Date: Thu Jul 29 10:01:08 2021 -0700 Duke3d: fix annoying cycling back and forth between QUOTE_SQUISHED and QUOTE_DEAD when the player is squished This also gets rid of the constant forced all-white CON_PALFROM by making CON_IFSQUISHED return false for players that are already dead. commit a975dfe8b665f5df6dfdbf00815adaa53bdd123b Author: Richard Gobeille Date: Thu Jul 29 09:56:06 2021 -0700 Duke3d: fix player/actors being squished in sloped sectors that actually have enough room for them Fixes terminx/eduke32#128 commit d9cf57cd6ded14666f44296a808f21a8c297b3bd Author: Richard Gobeille Date: Thu Aug 5 13:39:50 2021 -0700 engine: slightly optimize gethiq16angle() commit 98c0a9e6036321649d1593f0a903b7b3ba9b2cbd Author: Richard Gobeille Date: Tue Jul 20 15:12:14 2021 -0700 Duke3d: fix bug where pressing pause or triggering automatic savegames through script would cause the player's view to return to center commit d41f2e009bc58ae86841efb7da2bef3aab895fd1 Author: Richard Gobeille Date: Sun Jul 11 20:24:13 2021 -0700 Duke3d: skip "SLIDE_ABOVE_ENEMY" processing in A_GetZLimits() if the calling sprite isn't moving Fixes terminx/eduke32#28. commit 2f86aef1cec426939dbe0f03b9d0a635362b1666 Author: Richard Gobeille Date: Wed Aug 4 13:10:15 2021 -0700 editor: fix stupid bug where changing sprite angles or aligning wall textures with , and . didn't flag the map as having been changed commit 15d472a0f650b6b4123d626dc9f78a54e8a41764 Author: Richard Gobeille Date: Thu Jul 22 09:09:46 2021 -0700 engine: don't allow clipupdatesector() to move a point into null space Fixes terminx/eduke32#176 commit 67ef47dcff3571afb330342c9b056c9e759e46ad Author: Richard C. Gobeille Date: Wed Jul 7 06:13:56 2021 -0700 Duke3d: fix stupid bug in Menu_CheckHiddenSelection() commit de0667de684d305edff2f116f12f946227eba1ed Author: Richard Gobeille Date: Tue Jul 27 12:09:25 2021 -0700 Duke3d: make CON_DEBUG break to debugger in debug builds commit e6dfe5aa4117aebe61ba79ffff532a70dea905a5 Author: Richard Gobeille Date: Mon Jul 26 09:21:37 2021 -0700 engine: update debugbreak.h from git and modify to use IsDebuggerPresent() on Windows commit 3b1678c8b4cebfcd5b8313e86af484d0a871c680 Author: Richard Gobeille Date: Fri Jul 23 11:15:10 2021 -0700 Duke3d: fix assertion to check for sectnum -1 commit b9f31defec5680e9e48b0a3549023427d4f5e0ed Author: Richard C. Gobeille Date: Wed Aug 4 17:05:51 2021 -0700 engine: revise 5857f70f189d695b3427fa9be57f4fbca8c72ffe commit d14a3c39448a169724915af4d2763ad72302c0fb Author: Richard C. Gobeille Date: Thu Jul 8 14:34:36 2021 -0700 editor: allow printext256 in 2d mode, add "ifin2d3dmode" for scripts to detect PIP usage commit d3c082c729ea69b84d5f15800ee84b016b45e34c Author: Richard Gobeille Date: Thu Jul 29 12:36:52 2021 -0700 Duke3d: fix access to sector[-1] through ps->cursectnum Geez, I don't think I've seen one of these in years. commit a295c27255feb873a67c90219621a2d0156b2e6b Author: Richard Gobeille Date: Mon Jul 26 07:03:29 2021 -0700 Duke3d: fix sprites jittering when demo playback is paused commit 6220750116c17662ee6e487d29f8b938123d1a50 Author: Richard Gobeille Date: Thu Jul 22 10:50:08 2021 -0700 engine: fix copy/paste error in 24e5d5fc15bde29de7d6ced1a919dc76f6a8987e commit 9a88756d4b236d55900018dc1d1f47b2b7aea1d9 Author: Richard C. Gobeille Date: Thu Jul 8 17:26:29 2021 -0700 editor: fix floor and ceiling texture corruption issue in 2d3d mode window commit 0aef664d9de357342c68fbc176d3a7e52fbfea67 Author: Richard Gobeille Date: Wed Jul 14 10:34:38 2021 -0700 engine: fix crash in classic mode voxel rendering commit 77edda9a2068d704634a29894f6a9b93f8b21577 Author: Richard Gobeille Date: Thu Jul 29 02:53:45 2021 -0700 engine: fix shading issue on slopes in classic mode Apparently broken since 2014! commit 07fce3559b396f2899dbd4128f0ceeef33ba82a7 Author: Richard Gobeille Date: Tue Jul 13 01:25:48 2021 -0700 Duke3d: don't allow writing settings.cfg if we haven't tried to read it first I haven't personally encountered it, but Striker says there's some situation where this can happen if the startup window is aborted in a certain way. commit 9239f0957d2e5279e7837a7e3e67841773dd0760 Author: Richard Gobeille Date: Sun Jul 18 05:10:56 2021 -0700 animvpx: restore GL state between frames because programs that stream the window contents blow it commit f8c567fabecbcc76b1dd31bc4fd3b0fb917efcc7 Author: Richard Gobeille Date: Mon Jul 12 23:53:41 2021 -0700 engine: update miniz commit 5b2f2977e3db7915724a5a59610ed7b4f0320e71 Author: Richard Gobeille Date: Mon Jul 12 03:14:23 2021 -0700 engine: detect a couple situations where a corrupt map could cause a crash commit 8330594a0bff56e77c88b082b03d42c049b68e34 Author: Richard C. Gobeille Date: Wed Jul 7 06:00:35 2021 -0700 Duke3d: dead code removal commit 9d0191c8bfe252186e072ed2e4ec30f619134e08 Author: Richard C. Gobeille Date: Tue Jul 6 22:53:42 2021 -0700 Duke3d: fix crash in controller setup menu if no axes are bound to analog_turning or analog_lookingupanddown commit 6544e80e3cb9b79e55652fe1a97ff0c1fb283d5b Author: Richard Gobeille Date: Sat Jul 31 05:25:57 2021 -0700 Duke3d: force repeated music changes with shift+f5 to print their track names to the log, strip leading slash commit f772f179179c896a62af748c411461884e53243b Author: Richard Gobeille Date: Wed Jul 14 05:47:29 2021 -0700 audiolib: unfuck WinMM driver commit 67bd19a8a60564fc1638dfb354e91deece955d0c Author: Richard Gobeille Date: Sun Jul 11 22:53:30 2021 -0700 audiolib: make mus_al_postamp a float and change volume calculation in AdLibDrv_MIDI_Service to FP math Fixes terminx/eduke32#106, more or less. commit cdfbceec97c88002f00b23e470f21143500bc455 Author: Richard Gobeille Date: Sun Jul 11 22:52:27 2021 -0700 Duke3d/audiolib: restore MUSIC_GetSongPosition() and MUSIC_SetSongPosition() and use them in the menu when switching MIDI renderers commit 042f102eeba30237ed394284a60283281a1cd0a1 Author: Richard C. Gobeille Date: Tue Jul 6 20:15:59 2021 -0700 Duke3d: clamp menu slider positions to the 0-100 range so values that are out of bounds don't result in stupid looking slidebars with the slider floating off in empty space commit 604124bc8106034d25ec87f29c5c4bb2ea81c10d Author: Richard Gobeille Date: Tue Jul 20 06:57:25 2021 -0700 Duke3d: fix issue with corrupt actor actions in hub map states loaded from savegames made with different CONs commit 447db6ac42e88a8edc6b6986663f79126fd84747 Author: Richard Gobeille Date: Fri Jul 16 11:28:11 2021 -0700 audiolib: address locking issue with 6ce050b4 commit 44b220f1516960d2ac894d5ea4225ae67c64b4bd Author: Richard C. Gobeille Date: Tue Jul 6 18:20:26 2021 -0700 Duke3d: minor MenuMouseData_t cleanup that should have been done in commit 97445542 commit 846c2f832dd65a9d28c14412db4460eea8e0bd2f Author: Richard Gobeille Date: Wed Jul 14 14:39:42 2021 -0700 Duke3d: don't use autostep_sbw step height when swimming downward underwater commit ca377fb9802b47f2c2ce41715b0f01927f7c2308 Author: Richard Gobeille Date: Thu Jul 29 12:40:07 2021 -0700 engine: guard polymost sky z-buffer hack behind a cvar commit 25734ed53e6d13f8a9717d83a9ec321947224cdd Author: Richard C. Gobeille Date: Fri Jul 9 16:42:34 2021 -0700 audiolib: update libxmp-lite commit cf6ac70342fe1d1d42527d018651b16b152ae029 Author: Richard Gobeille Date: Wed Jul 14 01:57:18 2021 -0700 audiolib: update TinySoundFont to bf574519e601202c3a9d27a74f345921277eed39 commit ef78dc72b3390e02756288930bcbb67be3615390 Author: Richard C. Gobeille Date: Sun Jul 4 20:12:43 2021 -0700 Duke3d: fix orotscrnang player member commit 0b7d679801c51873f0df62c56ab99174f15768bb Author: Richard C. Gobeille Date: Mon Jul 5 15:43:50 2021 -0700 Duke3d: add player olook_ang This adds smoothing to the look left and look right keys. commit b2e5587d70c14973a1de44954de45bc795d2190e Author: Richard C. Gobeille Date: Sun Jul 4 19:29:18 2021 -0700 Duke3d: fix terminx/eduke32#162 This feels like it could break something else, but it seemed OK when testing. commit b059713b033d0deb686773a03ad8b7b4a527f3ce Author: Richard Gobeille Date: Wed Aug 11 17:12:36 2021 -0700 audiolib: this probably fixes XA looping, broken by me in 3cbb6adf commit c0b011828f1abb711633afa328027472d625cdab Author: Dino Bollinger Date: Sat Aug 21 22:26:51 2021 +0200 Engine: Initialize blend to 0 when inserting sprites This fixes a bug where stale blend values could be transferred over from a previously loaded map. commit d032a9949f4be84599e042ca223c5377bd7a7e72 Author: Pierre-Loup A. Griffais Date: Sat Feb 13 23:54:34 2021 -0800 Polymer: update sectors if visibility changed. Bugged since forever and would have floors and ceilings stay put when alt-wheeling in mapster. commit 70bb998c49d7c3954ae235021a0bc12d3886ce99 Author: Pierre-Loup A. Griffais Date: Sat Feb 13 22:36:16 2021 -0800 Don't compute lights for parallaxed geometry we either won't draw or won't need lights. This should save a bit of work in the general case with skies, too. commit 7ea7ebc7d6671cf44f9dc2b3e904cce500478f69 Author: Pierre-Loup A. Griffais Date: Mon Aug 16 15:17:13 2021 -0700 engine: polymer: 'fix' texture scale on relative floors Classic relative scaling apparently had some numerical artifacts related to length of firstwall. Cribbing the logic added in 6fc6b7d5 in Polymost along with bumping the precision of the intermediate terms seems to make it line up fully. Rooftop floor in E1L1 and surrounding ledges are good test cases for this. commit 58b10f68775cf1840465ac0c0b7856b7c6efc18c Author: Pierre-Loup A. Griffais Date: Sat Aug 14 14:28:11 2021 -0700 engine: polymer: fix angle precision with sector relative tile alignment commit 0c7079dffead943f2cd962ac8a4f5212e9031ceb Author: Dino Bollinger Date: Sat Aug 14 14:55:52 2021 +0200 Engine: fix parsing of voxel definition in error cases Fixes terminx/eduke32#185 commit 15086e5673714874d8738d60f17e317bc5f5b266 Author: Dino Bollinger Date: Sat Aug 14 14:44:42 2021 +0200 Duke3D: Fix `unbind` console command not updating the keyboard config commit 0ca1b0c5abe37d55eb4d86d5c798c2e0ceffd1ba Author: Dino Bollinger Date: Thu Aug 12 18:49:48 2021 +0200 Duke3D: Add DUKEWT_CRC to the grpinfo tokens commit 31f78560f05c81cb2e1a917d76166976bf0f2b3d Author: Dino Bollinger Date: Thu Aug 12 21:33:17 2021 +0200 Duke3D: Fix two typos in the menu code Fixes terminx/eduke32#182 commit a192bf45a31f77d84c936590636e3a581bb5a5f6 Author: Dino Bollinger Date: Thu Aug 5 16:33:32 2021 +0200 Duke3D: Re-enable remote activation of viewscreen using yvel of 1 A viewscreen placed in the map with a yvel of 1 will always display its camera feed if the player is within active range. If set to 0, the screen will only show the tile on manual activation. If yvel is 1, and the screen is connected to a camera, it will display the view of that camera. Otherwise, it will show the view of the Viewscreen's owner, the direction in which it is looking being dictated by angle and shade of that sprite. The xvel of the viewscreen now defines the active range. If less or equal to 0, the default distance of 8192 is used. Note that this is currently restricted to one active screen at a time. Fixes terminx/eduke32#41 commit e1d9171f6a166f5ab7b7fd7a2aad6a2992fce5c1 Author: nukeykt Date: Mon Aug 9 06:24:20 2021 +0900 engine: make 512px tall tile checks non inclusive commit 34e646ed9241752c857f0a259be9ae66c617b6dc Author: nukeykt Date: Mon Aug 9 03:37:24 2021 +0900 engine: fix shading of tall tiles in ASM version of classic renderer