Build 8792
SVN-
General
Pack the struct SW_PACKET. While this makes demo playback
Show details
functional with existing demo files, the code is known to be incompatible with demos made for SW 1.2.
SVN handles and Git names are merged into one person.
Pack the struct SW_PACKET. While this makes demo playback
functional with existing demo files, the code is known to be incompatible with demos made for SW 1.2.
WT Incinerator projectile velocity hotfix from Nuke.YKT
Implement WT episode 5 ending
Implement WT's widescreen tiles
Implement hardcoded WT stuff
Includes the new weapon, enemy projectiles, and breakable objects. Patch from Nuke.YKT. I edited it some, mostly to add the proper "if (WORLDTOUR)" checks.
Fix negative viewtypes to match what World Tour expects
Cleanup some Duke game logic, mostly to allow easier chaining to the default case
Update TinySoundFont to 21c07c0bcd702e7adf3db349ac926914b98d17ce
Clean up audiolib format detection a little bit
Misc audiolib cleanup changes
This was split from another commit to make the other commit clearer. These changes don't really do much of anything.
Revert the change of call to FAF_DrawRooms into a conditional one,
as done in r8766, since this breaks status bar output in tiled overhead map with Polymost. Do add comment about this for now.
Restore previously selected .sf2 filename when the file selector is canceled by pressing esc
Remove a bunch of dead code relating to reading and writing configuration data in eduke32.cfg for stuff we don't even support anymore, or that is saved in settings.cfg now instead
Move mouse x-scale and y-scale to the main mouse setup menu and get rid of Advanced Mouse
This also normalizes the scale sliders to a displayed range of 0 - 1.0, and adds in_mousexscale and in_mouseyscale cvars to hold the values.
Update TinySoundFont to 031e4fecc37f8dc59725127941ae3d1f64867ff0
Rename SF2_Load() to SF2_LoadBank() and fix the newline at the end of the error message that occurs if passed a bad filename
Update TinySoundFont to 91c24e1620a8f9c13be1aa21698757e5ad5a95a6
Make TinySoundFont effect sample block size configurable via cvar
Expand Nuke.YKT's patch from SVN r7414 to cover all 32-bit platforms.
Fixes non-deterministic white rectangles rendering bug in PCExhumed.
Remove unused FAF_DebugView variable from sw/src/brooms.cpp. The
corresponding variable in rooms.cpp is used if DEBUG is defined to nonzero.
sw/src/draw.cpp: Don't draw rooms if textured overhead map is drawn
later. This also turns out to fix a Polymost-specific bug revealed in SVN r8711. Further remove a call to PicInView which does nothing.
Fix crash in menu file selector when no files OR directories are available to display
Fix FURY=1 build
Fix stupid menu bug
GCC 9.3.0 Windows build fix
Fix GCC 9.3.0 signedness warning
Add file selector for choosing which .sf2 bank to use
This also adds a menu option for OPL3 stereo mode. Windows MME output device selection is probably next (this can already be done through the console).
Stylistic changes to driver_winmm
This changes the code formatting and style of driver_winmm to better match our style guidelines.
Move a couple things around in the audiolib headers so we can access them from the game code
Make quitting by closing the window, now done via CON_Quit,
a bit more usable in multiplayer, hiding the engine's console.
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.
sw/src/game.cpp:StatScreen crash bug fix: For a given player p,
use p->TeamColor instead of User[p->PlayerSprite]->spal, since it's possible the player left before the map was loaded.
Add a few calls to handleevents around key press loops. Also check
quitevent in the game, and further call getpackets within StatScreen.
Make sure StatScreen is called around the same time for
all players after level change. This is done by adding calls to getpackets within the BonusScreen and StatScreen while loops. It is related to a change from the DOS versions of 1997. Basically, dosendpackets immediately sends all packets via the commit driver under DOS, while in the mmulti port in use here, sending might be postponed. This was leading to a problem with the game entering waitforeverybody before showing the stats. In particular, it initially attempted to send a PACKET_TYPE_PLAYER_READY message, which could get postponed in the manner described above. In case it received PACKET_TYPE_PLAYER_READY messages from all other peers before the time arrived for sending pending packets, though, waitforeverybody would return, eventually leading to a call to StatScreen/BonusScreen, without sending the pending message until the user in question continued. Other peers would have to wait for the given player to confirm level change before they could see their own stat screens.
Engine compatibility update: ksqrt
Add userdata field to DemandFeed
Backported from Rednukem.
Fix OOB in polymost_spriteIsModelOrVoxel
Revert r8712
I forgot this bunch of SDL2 headers like an idiot
Fix IF crouch jumping and unintentional automatic crouching under sprites
ifndef EDUKE32_STANDALONE a couple more hard-coded Duke3D sound IDs that were missed previously
Reduce width of a couple fields in memberlabel_t
Make gamestructures a proper object
sw/src/game.cpp: Fix crash following an abort of InitGame while
processing multiplayer params or waiting for players. It's been decided that Control won't call TerminateGame in this case, one implication being that voidsw.cfg is not updated.
Do limit Master/Slave support to 2-players sessions.
Thanks to LittleTijn for testing and inspecting.
mmulti.cpp: Resurrect P2P multiplayer with 3+ players from SVN r129
sw/src/game.cpp: Update processing of multiplayer-related arguments,
mostly from JFSW commits 7a95dee807c735de6588372e268af7a5c7cdc533 and 6137b48d6d432c34d94d08fea527b89539cc3adb. In particular, this makes Master/Slave usable for 2-player sessions, with SW's networking code behaving as if these were actually Peer-2-Peer sessions. Thanks to JonoF for his work on the support.
sw/src/draw.cpp:ResizeView: Make map zooming less dependent
on the frame rate
sw/src/menus.cpp: Remove nonexisting MNU_ClearDialog function prototype
sw/src/weapon.cpp: Comment out unused MissileSeek and ComboMissileSeek
params, but leave them for documentation. Note that currently, the only use of ComboMissileSeek is in the saveable_weapon_code array.
Comment out function parameters accessed only in commented out code
Mark function parameters as unused in cases we can't easily change
the functions' signatures (often due to being used as callbacks/hooks)
Take care of unused parameters in sw/src/menus.cpp:MNU_DoMenu.
Note that the passed type is always ct_mainmenu.
sw/src/player.cpp: Remove unused globals related to mouse status
sw/src/player.cpp: A bit more complicated cases of unused vars
Handle cases in which the result of an expression
with (possible) side-effects is written to an unused var.
sw/src/inv.cpp: Move unused global pal arrays to #if 0 block
Comment out unused vars, which would become
used if previously commented out code was uncommented (including a few instances of uninitialized var reads).