Subversion Repositories eduke32

Rev

Go to most recent revision | Show changed files | Directory listing | RSS feed

Filtering Options

Rev Age Author Path Log message Diff
8783 489d 14h terminx /source/ Clean up audiolib format detection a little bit  
8782 489d 14h terminx /source/ 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.
 
8781 492d 2h ny00123 /source/ SW: Revert the automapping changes from r5207. Using engine-side code
brought back in r7873, this should restore the behaviors of DOS v1.2.
 
8780 492d 2h ny00123 /source/ Add set of polymost2d to 0 which was missed in r8711 to resizeglcheck.
Fixes tiled automap rendering in SW, without breaking the status bar
as in the case of r8766.
 
8779 492d 2h ny00123 /source/ 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.
 
8778 492d 11h terminx /source/ Restore previously selected .sf2 filename when the file selector is canceled by pressing esc  
8777 492d 11h terminx /source/ 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  
8776 492d 11h terminx /source/ 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.
 
8775 492d 11h terminx /source/ Update TinySoundFont to 031e4fecc37f8dc59725127941ae3d1f64867ff0  
8774 492d 11h terminx /source/ Rename SF2_Load() to SF2_LoadBank() and fix the newline at the end of the error message that occurs if passed a bad filename  
8773 492d 11h terminx /source/ Remove the leading slash from the .sf2 bank filename if it's the only slash in the string  
8772 492d 11h terminx /source/ Improve handling of menu options that may be hidden in-between visits to a menu  
8771 492d 11h terminx /source/ Refresh ud.config.MusicDevice and the menu sound configuration display variables after applying new settings

This helps keep the menu state synchronized with the actual sound system state in cases where the requested configuration was rejected for some reason (unsupported playback frequency, missing .sf2 file, etc).
 
8770 494d 18h terminx /source/ Update TinySoundFont to 91c24e1620a8f9c13be1aa21698757e5ad5a95a6  
8769 494d 18h terminx /source/ Make TinySoundFont effect sample block size configurable via cvar  
8768 495d 4h ny00123 /source/ Expand Nuke.YKT's patch from SVN r7414 to cover all 32-bit platforms.
Fixes non-deterministic white rectangles rendering bug in PCExhumed.
 
8767 495d 4h ny00123 /source/ Remove unused FAF_DebugView variable from sw/src/brooms.cpp. The
corresponding variable in rooms.cpp is used if DEBUG is defined
to nonzero.
 
8766 495d 4h ny00123 /source/ 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.
 
8765 495d 23h terminx /source/ Fix crash in menu file selector when no files OR directories are available to display  
8764 496d 0h terminx /source/ Fix FURY=1 build  
8763 496d 16h terminx /source/ Fix stupid menu bug  
8762 496d 20h terminx /source/ GCC 9.3.0 Windows build fix  
8761 496d 20h terminx /source/ Fix GCC 9.3.0 signedness warning  
8760 496d 20h terminx /source/ 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).
 
8759 496d 20h terminx /source/ Stylistic changes to driver_winmm

This changes the code formatting and style of driver_winmm to better match our style guidelines.
 
8758 496d 20h terminx /source/ Move a couple things around in the audiolib headers so we can access them from the game code  
8757 496d 20h terminx /source/ The most minor of audiolib cleanups  
8756 496d 20h terminx /source/ Fix swinging doors not automatically closing anymore after rebounding if they hit a player or actor when trying to close  
8755 496d 20h terminx /source/ More SF2 work

Now automatically detects a .sf2 file placed in the game directory if the mus_sf2_bank cvar is unset.
 
8754 496d 20h terminx /source/ Clamp SF2 sustain and attenuation  
8752 496d 20h terminx /source/ sf2 synthesizer WIP

Patch from Nuke.YKT.
 
8751 500d 8h ny00123 /source/ SW: Make quitting by closing the window, now done via CON_Quit,
a bit more usable in multiplayer, hiding the engine's console.
 
8750 500d 8h ny00123 /source/ SW: 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.
 
8749 500d 8h ny00123 /source/ 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.
 
8748 500d 8h ny00123 /source/ SW: Add a few calls to handleevents around key press loops. Also check
quitevent in the game, and further call getpackets within StatScreen.
 
8747 500d 8h ny00123 /source/ SW: 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.
 
8746 500d 8h ny00123 /source/ sw/src/game.cpp:NewLevel: Wait for all peers when master player quits.  
8745 500d 8h ny00123 /source/ sw/src/network.cpp:MyCommPlayerQuit: When master player decides to quit,
make sure all players quit the game. Don't internally change the list
of players, just prepare to quit.
 
8744 500d 8h ny00123 /source/ sw/src/game.cpp:getinput: Make sure slave actually quits the game  
8743 500d 8h ny00123 /source/ SW: Fix a bug in getpackets, making SW's Master-Slave code usable,
including 3+ players sessions.