Commit graph

16745 commits

Author SHA1 Message Date
drfrag
e88706542c - Fixed compilation: error C4984: 'if constexpr' is a C++17 language extension
(Thanks Gutawer)
2020-10-17 18:57:15 +02:00
Christoph Oelckers
b8496b6def fixed side_t::SetSpecialColor.
This never set the needed flags to make the color appear.
2020-10-17 18:44:10 +02:00
Christoph Oelckers
5ed6e07b84 - clear intermediate entries when inserting an object beyond the end of an array. 2020-10-17 18:44:07 +02:00
Christoph Oelckers
dabfd221e3 - fixed: Array.Insert must zero all elements before the new one if something gets inserted outside the existing range. 2020-10-17 18:44:05 +02:00
Christoph Oelckers
bbbbc6885f - ensure that sfxinfo_t is always fully initialized, regardless how the setup is performed.
The recent pitch additions did not do this on all possible paths.

# Conflicts:
#	src/sound/s_advsound.cpp
2020-10-17 18:44:03 +02:00
Christoph Oelckers
7a5c34730b - moved game specific data out of the sound backend.
In Raze I already had a user data array for that so this gets used here, too, now.
Also copied a few other fixes.

# Conflicts:
#	src/sound/s_soundinternal.h
2020-10-17 18:44:00 +02:00
Christoph Oelckers
79140f3c7c - minor sound code cleanup
# Conflicts:
#	src/sound/backend/oalsound.cpp

# Conflicts:
#	src/sound/s_environment.cpp
#	src/sound/s_sound.cpp
2020-10-17 18:43:58 +02:00
Christoph Oelckers
7a93eeace5 - added missing decal assignments to the medium macs spheres for Heretic. 2020-10-17 10:56:44 +02:00
Christoph Oelckers
75b90cdbf2 - disabled negative gravity check.
According to reports on the forum this does not cause bad behavior.
2020-10-17 10:56:42 +02:00
drfrag
6ba3eba4d3 - Include cleanup in the libraries folder. 2020-10-16 14:28:48 +02:00
Wohlstand
877f6be22e
libADLMIDI and libOPNMIDI: Fixed an infinite loop caused the stuck 2020-10-16 11:55:34 +03:00
Wohlstand
1f6a197bbb libOPNMIDI: Small fix of the build 2020-10-15 13:44:34 +03:00
Wohlstand
2d5fa2bba6 libADLMIDI: Apply the set of recent bugfixes 2020-10-15 13:41:56 +03:00
drfrag
d97ec56b8e - This is 3.87. 2020-10-12 14:53:05 +02:00
Wohlstand
51079ac0cb libADLMIDI & libOPNMIDI: Apply the important fix
Fixed an incorrect timer processing when using a real-time interface.
This bug does directly affect the case of ZMusic which does use of RealTime API of both libraries.
2020-10-11 10:28:35 +02:00
drfrag
2ca095543f - Add some missing functions to menus. 2020-10-10 15:04:59 +02:00
alexey.lysiuk
698886e5db - converted level global variable into real pointer
# Conflicts:
#	src/g_levellocals.h
2020-10-10 15:04:56 +02:00
alexey.lysiuk
039bc65615 - fixed: next secret map was ignored in ending sequence
https://forum.zdoom.org/viewtopic.php?t=70132

# Conflicts:
#	src/g_level.cpp
2020-10-10 13:53:04 +02:00
drfrag
7137e39e0a - Hacked a level member into thinkers. 2020-10-10 13:53:02 +02:00
Player701
d764412121 - Fixed a lift in Double Impact E1M7 that could not be used more than twice from the lower area. 2020-10-09 20:15:40 +02:00
Player701
d3f023013b - Force node rebuilding for Double Impact E1M3 (bad subsector) 2020-10-09 14:48:35 +02:00
Player701
eaa96c16c4 - Force node rebuilding for Akeldama MAP26 (bad subsectors) (#1206) 2020-10-09 14:48:33 +02:00
Player701
a1f566f7b8 - Do not error out if some states are missing in an abstract weapon class 2020-10-06 20:29:31 +02:00
drfrag
d6775e9322 - Different fix for the previous bug, better safe than sorry. 2020-10-06 01:53:57 +02:00
drfrag
e3ed066b82 - Fixed: NetServerInfo was not being saved after the exit cleanup. 2020-10-05 17:57:11 +02:00
drfrag
d597a3919d - Missing strings. 2020-10-04 12:50:46 +02:00
drfrag
bc6c4467e3 - Bump LASTRUNVERSION. 2020-10-04 12:50:43 +02:00
Christoph Oelckers
ceaea1548d - added config migration handling for the changes to adl_volume_model.
# Conflicts:
#	src/gameconfigfile.cpp
2020-10-04 12:50:42 +02:00
Wohlstand
586c2a2093 Added new parameters in favor of libADLMIDI and libOPNMIDI update
# Conflicts:
#	wadsrc/static/language.csv
2020-10-04 12:50:40 +02:00
Wohlstand
b07330c428 libADLMIDI: Fixed a mistake with Volume Model setup
Don't set a bank number instead of a volume model!
2020-10-04 12:50:38 +02:00
Wohlstand
15eb7bc110 Re-compute all sound delays inside of GENMIDI.GS.wopl 2020-10-04 12:50:36 +02:00
Wohlstand
58b65837b5 Added a short ReadME for all banks 2020-10-04 12:50:34 +02:00
Wohlstand
81d3814ebf Updated the set of extra FM banks 2020-10-04 12:50:32 +02:00
Wohlstand
7d2a670d6e Updated default xg.wopn bank 2020-10-04 12:50:30 +02:00
Vitaly Novichkov
daf6321dbc ADLMIDI: Set the different gain per volume model
Different volume models were means louder or quiter sounding of the rest of notes in the song. And to avoid the mess between volume models, let's use different gain factor for each volume model?
2020-10-04 12:50:28 +02:00
Wohlstand
d4bd1a369f ADL & OPN: Added SysEx calls
They are supported by those engines and needed for XG and GS specific controls: GS custom drums are working and supported!
2020-10-04 12:50:26 +02:00
Wohlstand
3b37bcf684 ADLMIDI: Don't even try to load custom bank if disabled 2020-10-04 12:50:24 +02:00
Wohlstand
a574025373 OPNMIDI: Fixed an inability to load a custom bank 2020-10-04 12:50:22 +02:00
Wohlstand
b00f8c5431 ADL & OPN MIDI: Fixed some MSVC warnings 2020-10-04 12:50:20 +02:00
Wohlstand
0458a02d9f OPNMIDI: Try to remive the unistd header at PMDWin emulator
Seems it doesn't required here...
2020-10-04 12:50:18 +02:00
Wohlstand
115388800f Use the "Auto" volume model by default at libADLMIDI
After a small set of tests, it's fine to use the "AUTO" volume model by default.
Every embedded bank and every WOPL file has a setting of a volume model that matches to the behavior of the original OPL2/3 driver of each volume model.
2020-10-04 12:50:17 +02:00
Wohlstand
243aa96931 Update default bank and some settings of libADLMIDI 2020-10-04 12:50:14 +02:00
Christoph Oelckers
e504b2682e - embedded the default OPN bank directly in the binary so that it works, even if no custom bank is set. 2020-10-04 12:50:12 +02:00
Wohlstand
87d46ddd11 Update libOPNMIDI library to 1.5.0
## 1.5.0   2020-09-28
 * Drum note length expanding is now supported in real-time mode (Thanks to [Jean Pierre Cimalando](https://github.com/jpcima) for a work!)
 * Added support for OPNA chip with Neko Project II Kai YM2602 emulator usage (Thanks to [Jean Pierre Cimalando](https://github.com/jpcima) for a work!)
 * Added VGM file dumper which allows to output OPN2 commands into VGM file. (A new MIDI to VGM tool is now created with basing on libOPNMIDI)
 * Fixed an incorrect work of CC-121 (See https://github.com/Wohlstand/libADLMIDI/issues/227 for details)
 * Internality has been refactored and improved
2020-10-04 12:50:10 +02:00
Wohlstand
e6ce41bdde Update libADLMIDI up to 1.5.0
## 1.5.0   2020-09-28
 * Drum note length expanding is now supported in real-time mode (Thanks to [Jean Pierre Cimalando](https://github.com/jpcima) for a work!)
 * Channels manager has been improved (Thanks to [Jean Pierre Cimalando](https://github.com/jpcima) for a work!)
 * Nuked OPL3 1.8 emulator got some optimizations ported from 1.7 where they are was applied previously (Thanks to [Jean Pierre Cimalando](https://github.com/jpcima) for a work!)
 * Reworked rhythm-mode percussions system, WOPL banks with rhythm-mode percussions
 * Added Public Domain Opal OPL3 emulator made by Reality (a team who originally made the Reality Adlib Tracker) (Thanks to [Jean Pierre Cimalando](https://github.com/jpcima) for a work!)
 * Added LGPL licensed JavaOPL3 emulator made by Robson Cozendey in Java and later rewritten into C++ for GZDoom (Thanks to [Jean Pierre Cimalando](https://github.com/jpcima) for a work!)
 * Fully rewritten an embedded bank database format, embedded banks now supports a wider set (more than 127:127 instruments in one bank)
 * Improved accuracy of the DMX volume model, include the buggy AM interpretation
 * Improved accuracy of Apogee volume model, include the bug of AM instruments
 * Improved accuracy of the Win9X volume model
 * Removed C++ extras. C++-bounded instruments tester is useless since a real-time MIDI API can completely replace it
 * Added AIL volume model
 * Added Generic FM variant of Win9X volume model
 * Fixed an incorrect work of CC-121 (See https://github.com/Wohlstand/libADLMIDI/issues/227 for details)
 * Added HMI volume model (Thanks to [Alexey Khokholov](https://github.com/nukeykt) for help with research!)
 * Added frequency models, assigned to every volume model: AIL, HMI, DMX, Apogee, 9X, and the Generic formula

# Conflicts:
#	libraries/adlmidi/adldata.cpp
#	libraries/adlmidi/adldata.hh
#	libraries/adlmidi/adlmidi.hpp
2020-10-04 12:50:08 +02:00
Player701
c9364fb3d0 - Added NORANDOMPUFFZ flag to A_Saw 2020-10-04 11:14:39 +02:00
nashmuhandes
e82c840622 - Fix weapon bobbing interpolation
There was a visual issue where the weapon bobbing would only start interpolating after the player's movement velocity exceeds a certain value.

(Thanks to @Doom2fan for the solution)
2020-10-04 11:14:36 +02:00
Christoph Oelckers
4c401f8185 - minor cleanup on "Configure Controls"
* Merged chat and scoreboard bindings into a "Multiplayer" submenu.
* Reordered items by importance. Chat at position #2 was nonsense.
* Moved weapon state actions from "Action" to "Weapon" menu, because the menu was already quite large and these are not standard actions.

# Conflicts:
#	wadsrc/static/language.csv
#	wadsrc/static/menudef.txt

# Conflicts:
#	wadsrc/static/menudef.txt
2020-10-03 17:47:47 +02:00
drfrag
20f5b6e92d - Fixed warning. 2020-10-03 12:32:37 +02:00
Christoph Oelckers
636d46c1ed - AActor size reduction
* a few shorter fields were moved into alignment gaps
* the visible angles are now stored as floats. Since these are only used for rendering the loss of precision is negligible, but this shortens AActor by 16 bytes alone.
2020-10-03 11:51:30 +02:00