PCExhumed - r11374 - Built: Mon Apr 20 08:00:01 UTC 2020 --- commit 1c1795e9f47ab8d0b16b09e6da9d562c24f3c24b Merge: 48a4a0450 c4e58ebe9 Author: Evan Ramos Date: Sun Apr 19 15:46:56 2020 -0500 Merge remote-tracking branch 'eduke32/master' commit c4e58ebe97755ae0d9267a9470e47d56d94473ee Author: Richard C. Gobeille Date: Tue Apr 14 20:57:05 2020 -0700 Duke3d: fix stupid input scaling bug commit 29f60f5416953f481936eeeff5942676b8ce5d44 Author: Richard C. Gobeille Date: Tue Apr 14 19:04:19 2020 -0700 Mapster32: slash resets sprite slope commit cca9170c1460eb4f13d58f7ba5ba17bd335da1e4 Author: NY00123 Date: Tue Apr 14 22:59:45 2020 +0300 Use pragma pack in sw/src/network.h instead of the locally defined PACKED macro. This is more consistent with the current Duke3D codebase, and further fixes build with older versions of MinGW GCC, in which attribute packed is broken without specifying -mno-ms-bitfields. commit 1051f00155c28cf9ddd6aa1390090aa2150f81cc Author: NY00123 Date: Tue Apr 14 22:35:08 2020 +0300 SW: Remove unused wfe_Clock variable commit 4f83a75712c8b7e5bccf46324f8e0ce92fa19285 Author: NY00123 Date: Tue Apr 14 22:31:46 2020 +0300 sw/src/game.cpp: Add missing wfe_Esc callback from SW 1.2 after minor adjustments. Originally recreated for sw-src-and-build-addendum-20190129.7z. commit e572a420967040b3a708d484ef148b179582719d Author: NY00123 Date: Tue Apr 14 21:09:45 2020 +0300 Fix usage of possibly wrong address in sw/src/player.cpp:DoPlayerHorizon commit adba7fad4eece3e47bcc4cc09c484d1b9eced75e Author: NY00123 Date: Tue Apr 14 20:42:35 2020 +0300 mmulti.cpp: Change PAKRATE to 250 (4ms) as previously done in SVN r365, and also as currently in use in EDuke32-OldMP. commit f436b11c50d363060d3f6b6ab5de6b045d1be5ca Author: NY00123 Date: Tue Apr 14 20:39:04 2020 +0300 sw/src/network.cpp: I think that it's safe to enable the sync check on the slave side in Master/Slave mode. commit 54fe355dd3b2dd3f07a1131bc025356c91e761f9 Author: NY00123 Date: Tue Apr 14 19:09:56 2020 +0300 SW: This hopefully resolves issues with leaving multiplayer games commit 6bf8d9cc3069fb74a1ed3308bed0cdd38173fb34 Author: NY00123 Date: Tue Apr 14 18:17:08 2020 +0300 SW: Interpolate sector objects in non-demo, single player games. Let's see if this is breaking anything. commit 3b29b1c8bd25b1430c12a6488d7ba13dc7554818 Author: NY00123 Date: Tue Apr 14 00:15:03 2020 +0300 Another change modifying saved game format in SW: Increase MAXINTERPOLATIONS from 1024 to MAXSPRITES. commit 4fd724107abcfae9dcef153e4f0dd5f92fb6ce42 Author: NY00123 Date: Tue Apr 14 00:09:18 2020 +0300 SW change breaking compatibility with existing saved games: Remove startofdynamicinterpolations and short_startofdynamicinterpolations. commit f91e681be26f64cadc5b520b2d264ba8ea38dfa7 Author: NY00123 Date: Tue Apr 14 00:13:38 2020 +0300 SW: Reset the number of interpolations on level load commit 742ae8a6c7636449eb0731fd93ae714eab652414 Author: NY00123 Date: Tue Apr 14 18:57:09 2020 +0300 SW: Let's replace the macro PEDANTIC_MODE with variable PedanticMode commit 73a0aa394e906a65633d61f3c749c9b9b7e66aaa Author: NY00123 Date: Mon Apr 13 22:47:19 2020 +0300 Interpolation fixes for SW: draw.cpp: Fix the lack of interpolation while walking on a sector object, like the bus roof or the floor of the train in Seppuku Station. track.cpp: Make sure the player's location and angle aren't mistakenly interpolated while standing on a moving sector object as a consequence. commit 4129b794f089ed12618358262c28893a1343df37 Merge: 12086fff8 4b3321e99 Author: Richard Gobeille Date: Mon Apr 13 15:02:32 2020 -0700 Merge branch 'Engine_StutterFixes' into 'master' build/src/sdlayer.cpp: Add new CVARs r_glfinish & r_finishbeforeswap. See merge request terminx/eduke32!1 commit 4b3321e99653f2bf3a059ad265f541dd709bec44 Author: Richard Gobeille Date: Mon Apr 13 15:00:50 2020 -0700 Update source/build/src/sdlayer.cpp, source/build/src/polymost.cpp, source/build/src/baselayer.cpp, source/build/include/baselayer.h files commit e15e2efe6a450b0cd23aef19b70067b54c1ee1a1 Author: Mitchell Richters Date: Mon Apr 13 18:16:55 2020 +1000 build/src/sdlayer.cpp: Add new CVAR r_glfinish to make 'glFinish()' optional. - Issues requiring glFinish() aren't really apparent on Linux, therefore not needed. - Running glFinish() can have an detrimental impact of Polymer users depending on whether they use the HRP or not. commit c92fe8f70d1cdbfa84a58ce143e945bed3ea2ae3 Author: Mitchell Richters Date: Thu Apr 9 22:17:03 2020 +1000 build/src/sdlayer.cpp: Add new CVAR r_finishbeforeswap. - glFinish() after swapping stabilises stuttering issues and has minimum performance impact. - glFinish() before swapping stabilises should be better but sometimes isn't, and is needed for KMT not to tear. Offer as an option. commit 12086fff81e90d6bc060a7d6aeb80b6d15bc066e Author: NY00123 Date: Sun Apr 12 23:52:26 2020 +0300 Add mjr4077au to the VoidSW credits commit 234a272b37184d3b91257bc1e8f89fc973b84e83 Author: NY00123 Date: Sun Apr 12 23:28:32 2020 +0300 SW: Rename q16avel -> q16angvel and q16horz -> q16aimvel. While it is understandable that avel and horz came from Duke3D, having both q16horiz and q16horz in the updated SW_PACKET struct can be confusing, and the alternative notation is more consistent with the original struct field names of angvel and aimvel, as well as the differing uses of the name angvel still present in player.cpp. commit 1f5a4cfae6e2aa7a2587b49b2254be40d8d38c66 Author: NY00123 Date: Sat Apr 11 14:52:22 2020 +0300 SW (DoPlayerTurn): The 180-degrees turns should be clockwise commit 62c2ab050af3925f99b74d666428909362cfbbf8 Author: NY00123 Date: Sat Apr 11 13:08:20 2020 +0300 sw/src/player.cpp:PlayerAutoLook: Modify function to test for PF_MOUSE_AIMING_ON only if PEDANTIC_MODE == FALSE commit 1972c16122f8786951643560c9808615833299ec Author: NY00123 Date: Sun Apr 5 23:41:04 2020 +0300 Revert SVN commit 8677; It wasn't sufficient in case one of the players toggled mouse aiming in the middle of a game, and it worked even worse in Master/Slave mode. Additionally, tying input to frame rate made the problem disappear. commit af68572d4f283b9c8cd734a96423b391d3c2591f Author: NY00123 Date: Sat Apr 11 12:39:27 2020 +0300 SW: This is a better place for a slave which quits to set QuitFlag commit d3403822b9b6125201a290ae0614d0b339c55586 Author: NY00123 Date: Sat Apr 11 11:26:06 2020 +0300 SW: Use the old interpolation path in drawscreen if player is dead commit 87beaad8ab8fdc421a87712ed2ac35113bc1e26d Author: NY00123 Date: Sat Apr 11 11:19:06 2020 +0300 SW: With the input tied to frame rate, disable aiming while the player is dead, and also disable horizontal aiming while on a ladder. commit 618e73a841920b5042a007b73a5131695c97a2a9 Author: NY00123 Date: Sat Apr 11 11:03:37 2020 +0300 SW: Make horiz centering a bit less immediate again commit 88a7a6c6531c179c30625a0fccd14014eaf54741 Author: Mitchell Richters Date: Sat Apr 11 10:17:59 2020 +0300 SW: Tie player input to frame rate. commit 5c68222bba55a4e7bb0ba50daaeb0c0b0ac2ebc9 Author: Mitchell Richters Date: Sat Apr 11 01:07:41 2020 +0300 SW: Add and use elapsedInputTicks and scaleAdjustmentToInterval as one more step before tying input to frame rate. commit 3e82292d7383be8a6356bffc379ce0ca87749376 Author: NY00123 Date: Sat Apr 11 00:23:42 2020 +0300 SW: Add the q16ang and q16horiz fields to SW_PACKET. These will be filled by faketimerhandler with the current player's most recent camq16ang and camq16horiz values, respectively. commit aba6b2f36d7fb3680d1b36a8ec1dbdf989d39fe0 Author: NY00123 Date: Sat Apr 11 00:06:59 2020 +0300 SW: Modify DoPlayerTurn/DoPlayerHorizon to make it possible for them to modify the player's camq16ang/camq16horiz field instead of q16ang/q16horiz. Additionally, pass to them the change in angle/horiz via a parameter, as an alternative to direct access to the corresponding player input field. commit b371d767ebd0c408b897fdff65cd1ab977e2d8de Author: NY00123 Date: Fri Apr 10 23:13:44 2020 +0300 SW - First step in tying player input to frame rate: Add the camq16ang and camq16horiz fields to the player struct. With the exception of DoPlayerTurn and DoPlayerHorizon, whenever code in player.cpp updates player's q16ang/q16horiz, also write the updated values to camq16ang/camq16horiz. These variables' preceding values are never used in these functions. commit 9cc7a326ba3cbeab9a51c3a898b7e1501d0917fb Author: NY00123 Date: Sat Apr 4 01:40:01 2020 +0300 sw/src/game.cpp:LoadLevel: Rename q16ang -> ang commit a84d0009ac094463fa2af1b5c5694bda7c87223b Author: NY00123 Date: Sat Apr 4 00:51:51 2020 +0300 SW: We can revert the change of siang to q16 now commit b26899be201b4a5eebfd868d91fd2a87064063da Author: NY00123 Date: Sat Apr 4 00:49:57 2020 +0300 sw/src/draw.cpp:drawscreen: We can set the pp->si* fields just once, a bit later. commit c2f620aca02b57569aea2472a3e4c1942aad5b3a Author: NY00123 Date: Sat Apr 4 00:43:51 2020 +0300 SW: Revert commented out horiz->q16horiz renames in DSPRINTF strings commit 5b3467aff4b9f574150d0ea703972502e61a9462 Author: NY00123 Date: Sat Apr 4 00:35:10 2020 +0300 SW: Fix typo in DoPlayerTeleportToSprite, following the migration to q16 angles commit 6edb2068954a857429b7c76aac3fac68a6976012 Author: NY00123 Date: Fri Apr 3 23:48:16 2020 +0300 Fix multiplayer desync after the change to q16 angle and horiz. Note that this includes non-portable unaligned accesses, but this already applies to surrounding code. Just add comments for now. commit 96c0005a045f13f833a4b30acbdc00ee4d105e61 Author: NY00123 Date: Fri Apr 3 23:26:38 2020 +0300 SW: Trim q16 angle and horiz during demo playback/recording. This uses the newly introduced PEDANTIC_MODE macro. commit fe5db301c21a14d73759c4a1c7ccc1e038fc3991 Author: NY00123 Date: Fri Apr 3 22:08:21 2020 +0300 sw/src/player.cpp:DoPlayerTurn: Increase turning precision with q16 angle. This uses the new NORM_Q16ANGLE macro. commit 25bce29df10df6d30f14b92b25f8186d8caa7a0e Author: NY00123 Date: Fri Apr 3 21:38:52 2020 +0300 Another fix for "SW: Refinements for Q16.16 implementation", including an amend to a change from "SW: Make all the changes compile with GCC.": Pass q16-formatted angles to drawroomstotile. commit 8a88061bbc7ed56befdd34b2511401739cc55efc Author: NY00123 Date: Fri Apr 3 21:34:47 2020 +0300 Consistency fix for "SW: Refinements for Q16.16 implementation.": Additionally update the commented out implementation of drawroomstotile commit 5249472f74284b5903b650aaa83d1af644cb70a8 Author: NY00123 Date: Fri Apr 3 15:09:53 2020 +0300 Fix compatibility with existing demo files after the migration to q16 angle and horiz. The original SW_PACKET structure, named OLD_SW_PACKET here, is used while accessing demo files. commit 4110d6a081a48fc9448e87cd01b71e55286a9f2a Author: Mitchell Richters Date: Fri Apr 3 19:20:57 2020 +0300 SW: Make all the changes compile with GCC. commit b48ea760da2cc3fe8db72066abbc5ca4f6ef0869 Author: Mitchell Richters Date: Fri Apr 3 19:18:47 2020 +0300 SW: Make it actually work. commit 01d4c3ecb704335fa8fe49b9476fc1b0e79e0131 Author: Mitchell Richters Date: Mon Mar 30 01:02:55 2020 +1100 SW: Refinements for Q16.16 implementation. commit 0fc47dd3e6810d4954ed859775e72b7114a5f412 Author: Mitchell Richters Date: Sun Mar 29 19:03:00 2020 +1100 SW: Use Q16.16 for angle. commit 896f5768ecebadd128a7706d2c0af11282193079 Author: Mitchell Richters Date: Sat Mar 28 22:31:02 2020 +1100 SW: Use Q16.16 for horiz. commit 9de4735731dfce29237604c90ce19cc1c10a843f Author: nukeykt Date: Wed Apr 8 14:10:40 2020 +0900 Correctly display sloped sprites in side view mode commit 5e5cfd9a53f825cc3f2befdb437a214ff0af8eb2 Author: Jordon Moss Date: Thu Apr 9 23:03:18 2020 -0300 Fix player sprite disappearing and chat indicator using the wrong sprite when typing. commit 61e40bccfd6a78f41df87d368039a8e335186a60 Author: Jordon Moss Date: Thu Apr 9 19:02:50 2020 -0300 Re-added a check in VM_Move that probably should't have been removed.