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