Build 9218
GIT-
Fix regression causing the last heat seeker to be a normal missile
Show details
It was caused by the fix for crashing when firing outside the map. Also port said fix to the bunny rockets.
SVN handles and Git names are merged into one person.
Fix regression causing the last heat seeker to be a normal missile
It was caused by the fix for crashing when firing outside the map. Also port said fix to the bunny rockets.
This should hopefully be a better way of fixing the lack of
interpolation of player turning/aiming/movement, while being carried by a sector object, without SO interpolation. This is a continuation of 73a0aa394e906a65633d61f3c749c9b9b7e66aaa and bf31bc2987a3eccd31d343622327bd4ee0f9c5a1, aiming to fix a jitter in case the player is continuously getting pushed by a wall (e.g., on the boat in level 5). Basically, this moves the relevant assignments from track.cpp:MovePlayer and MovePoints to player.cpp:DoPlayerMove. Unless a call to one of these functions has been missed, pushwall and clipmove can be called from player.cpp in the following instances, which should be covered: - Via DoPlayerMove, which is the function getting the fix now. - Via DoPlayerSlide, which is called in the beginning of DoPlayerMove. - Via DoPlayerCurrent when called from DoPlayerCrawl/DoPlayerWade, followed by DoPlayerMove. - Via DoPlayerCurrent when called from DoPlayerDive, followed by DoPlayerMove if the player doesn't stop diving.
While not exactly a favorite of mine, this fixes the floorz updates
of the secret rotating pillar in level 1 with SO interpolation. The drill in level 2 is also covered. So far, SetVatorActive seems to be the only place where interpolation of ceiling/floorz may be set, outside of the SO interpolation code.
Fix warning: function 'MNU_ClearFlags' is not needed and will not be emitted [-Wunneeded-internal-declaration]
Fix music volume slider
Call FunctionKeys from getinput only if the latter is called
from faketimerhandler. This should fix the timing of playing an RTS file's sound and sending the corresponding message.
Fix aiming in coop view
Migrate the player's RevolveAng field to Q16.16 format.
This fixes truncations of q16ang in MovePlayer. One known fixed issue is a minor micro-shaking effect, reproduced while standing on a non-moving SO (e.g., the bus in level 1). The latter is also related to the use of camq16ang. Based in idea on patch from mjr4077au.
We can revert the change of siang to q16 now
Revert commented out horiz->q16horiz renames in DSPRINTF strings
Fix typo in DoPlayerTeleportToSprite, following the migration to q16 angles
Revert the changes from JFSW commit 7d0deafe81b0ffa30d77cfe242e454f8b4487a1f
related to the definitions of RANDOM_NEG in bunny.cpp, ripper.cpp and ripper2.cpp. Do so in a way that isn't re-introducing compiler warnings. This partially fixes compatibility with demos made for SW 1.2. Additionally, replace the 3 separate definitions of RANDOM_NEG with a common one within game.h.
Fix a few memory access errors related to demo support
Modify MenuLevel and RunLevel by using CON_Quit,
toggling MultiPlayQuitFlag on instead of QuitFlag in multiplayer games if a player tries to close the window. Further update MNU_QuitCustom to use CON_Quit. - In RunLevel, this fixes quit of game for all players. - In MenuLevel, this leads to transmit of PACKET_TYPE_MENU_LEVEL_QUIT. However, the work isn't complete, since the game isn't shut down on the peers' sides, leading to possibly undesired side-effects. Currently known issue: - If the master closes the window, the scores won't be shown for the master. Reason is that waitforeverybody will terminate the app.
Fix a bug in getpackets, making SW's Master-Slave code usable,
including 3+ players sessions.
Fix potential blank 3DR logo
From JFSW commit 18d1c68893693e68d0ce7d41bd1eacbec5655d4f
Fix potential buffer overrun in colormap
From JFSW commit 18d1c68893693e68d0ce7d41bd1eacbec5655d4f
Clamp tsprz of Bouncing Betty mines to their floorz if beneath the floor
This fixes their invisibility in Polymost.
Add Redux's workaround for glitchy fist HUD sprites in widescreen
Fix mirrors in Polymost
Thanks to NY00123.
Fix -Wformat-security warning
Fix FindDistance3D calls to not z>>4 at the call site
This is handled by the function itself now. Fixes the distance issue with the ceiling fan.
Detect absence of pic_yinyang and use pic_shuriken1 for cursor instead
Fixes menu usability with game data versions before 1.2
Avoid memory leaks when playing a new music file
Add GRP scanning for the Europe, UK, and "Special Edition" versions
These have no differences that affect gameplay. Europe - slightly corrupted tile #28 UK - slightly corrupted tiles #2811, #4349 "Special Edition" - added CREDITS.TXT I have confirmed that the corrupt versions were actually mastered that way. Thanks to RoyBatty.
Fix crash issues when Track sprites are set up incorrectly
Fix assertions and OOB so that the player can noclip OOB
Fix cheats only granting one Uzi instead of two
Fix CONTROL_ClearUserInput so menu input is reliable
Fix NUMGAMEFUNCTIONS and mouse button select menu
Fix saves
Dynamically-allocated structs strike again.
Fix Mac and Linux compilation of common.cpp
Fix "MV_GetVoice(): bad handle" log spam
Fix widescreen flickering in end of level screen
Fix non-debug builds on Windows
Fix keyboard input
Fix an assertion failure in palette changing code
Fix OOB access when viewing a mirror
Fix mouse aiming
Fix 3D Realms and ANM palettes
Fix MIDI music
Fix file loading and init sequence
Fix -Waggressive-loop-optimizations
Fix -Wrestrict
Fix more -Wformat-overflow
Fix -Wabsolute-value
Fix -Wpointer-bool-conversion