Rachael Alexanderson
6049e806d1
- amend previous commit: add softpoly fix
2020-03-26 17:53:32 +01:00
Rachael Alexanderson
7c9d8a0b99
- fix nullptr crash in player.camera reference when player.camera is nullptr
2020-03-26 17:53:32 +01:00
nashmuhandes
f954df7a00
Don't draw weapon tags when player tries to switch weapons while they're dead
2020-03-25 14:44:41 +01:00
Rachael Alexanderson
ecb3ff0977
- add warp2 shader to softpoly2
2020-03-24 14:05:39 -04:00
Magnus Norddahl
175b697ba2
Implement warp effect
2020-03-24 17:49:21 +01:00
nashmuhandes
cb6514cc05
Added Actor.CopyBloodColor to copy another existing actor's blood color.
2020-03-23 21:04:59 +01:00
nashmuhandes
74db8b7684
Move the opaqueBlood member definition so that object size remains unchanged
2020-03-23 12:50:17 +01:00
nashmuhandes
dd0769de80
Opaque blood decals must be defined with 'OpaqueBlood' keyword in DECALDEF
2020-03-23 12:50:17 +01:00
nashmuhandes
8facd5f3f3
Colorize opaque decals using the bleeding actor's blood color, if the 'Shaded' keyword is omitted from the DECALDEF.
2020-03-23 12:50:17 +01:00
Rachael Alexanderson
5e262c6145
-- revert last 2 commits
2020-03-22 07:29:22 -04:00
Rachael Alexanderson
442bead31b
- undo the change from last commit for 5:4 monitors - turns out the scale is calculated differently for 1280x1024 and needs the buggy version to work correctly.
2020-03-22 07:23:13 -04:00
Rachael Alexanderson
e7bad7218f
- fix status bar scaling: use a fractional that takes full advantage of the precision type, rather than a static numerical constant. (this fixes rendering in very odd resolutions such as 1440x847)
2020-03-22 07:12:08 -04:00
Rachael Alexanderson
aa0df7479e
- remove assumption in DFrameBuffer::FillBorder that ultrawide screens will stretch an image, since it is no longer the case.
2020-03-22 06:47:34 -04:00
Magnus Norddahl
d19527cf87
Fix compile error when using std::sort with Visual Studio 16.5.0
2020-03-18 21:11:44 +01:00
Christoph Oelckers
d32e0b91c2
- clear the screen before drawing content, not afterward.
...
The intermission screens got it wrong and drew the black border over the image.
2020-03-17 08:50:00 +01:00
Christoph Oelckers
15d4fb8fcd
- fixed file existence check in TRNSLATE parser.
2020-03-17 07:57:59 +01:00
Christoph Oelckers
828cba13a1
- changed translation management so that the fonts also use translation IDs.
2020-03-16 17:23:30 +01:00
Christoph Oelckers
b7970ed763
- block StaticPointerSubstitution for non-player objects.
...
The only safe use of this function is to swap out PlayerPawns for morphing or respawning.
2020-03-16 09:21:37 +01:00
Christoph Oelckers
16ae7e3124
- fixed typo.
2020-03-15 12:19:22 +01:00
Christoph Oelckers
0c04cddd28
- allow specifying full palettes in translation definitions.
2020-03-15 10:22:42 +01:00
Christoph Oelckers
27b8284881
- forgot to remove the test settings for the fullscreen feature.
2020-03-15 10:02:19 +01:00
Christoph Oelckers
db5efddf12
- implemented better aspect ratio control for fullscreen images.
...
Due to backwards compatibility needs and for flexibility this needs to be controlled by a gameinfo setting (fullscreenautoaspect):
0: Treat all images as having an aspect ratio of 4:3, this is the default for compatibility reasons
1: Scale all images to fit the screen, i.e. either pillarbox or letterbox them.
2: Scale all images to fill the screen.
3: Scale all images so that the center 4:3 area is always fully visible. This is the recommended mode for 16:9 images designed to be shown with the sides being cropped on narrower displays.
A new DTA_ tag - DTA_FullscreenEx also exists which allows specifying the scale mode directly
2020-03-15 09:27:02 +01:00
Nash Muhandes
2edbbac759
Print weapon name tag when switching with "slot" command ( #1048 )
2020-03-14 14:17:04 +02:00
alexey.lysiuk
f46e80e2b4
- fixed FLineTraceData scripting definition
...
https://forum.zdoom.org/viewtopic.php?t=67795
2020-03-14 12:51:06 +02:00
alexey.lysiuk
b9d4ce052b
- replaced assert() in ZScript fields compilation code
...
Field pointer can be null if error occurred while compiling its definition
2020-03-14 12:50:10 +02:00
alexey.lysiuk
13e6ea7796
- added line break to 'No GENMIDI lump' message
...
'ST_Init: Init startup screen.' is no longer concatenated with the given line
2020-03-13 13:33:11 +02:00
Christoph Oelckers
a638cfbd6e
- fixed: player_t::GetPSprite cannot guarantee success
...
As a consequence it must return null in the failure case instead of asserting and all calls to this function must check for the failure case.
2020-03-11 00:56:29 +01:00
Christoph Oelckers
8613e47899
- default terrain's DamageTimeMask to a reasonable value.
...
Use 31, which is the default for damaging floor specials instead of 0.
2020-03-11 00:32:11 +01:00
Magnus Norddahl
920b322d72
Add missing segment clipping clamps for decals, sprites and wall sprites
2020-03-11 02:18:43 +01:00
Alexander Kromm
9daec9dc46
bring minimal save version back, as most of the savegames load fine
2020-03-08 18:46:37 +01:00
Alexander Kromm
b038c168c6
aggregate TMap into Dictionary instead of deriving from it
2020-03-08 18:46:37 +01:00
Alexander Kromm
3607ffaf66
fix Dictionary and DictionaryIterator memory leaks
2020-03-08 18:46:37 +01:00
alexey.lysiuk
fcf004ec39
- fixed infinite loop reporting '... before first state' errors
...
https://forum.zdoom.org/viewtopic.php?t=67729
2020-03-05 11:01:33 +02:00
Rachael Alexanderson
178cf40428
- fix debug assertion, cleanup vestigial A_PlaySound addition
2020-03-03 22:50:01 -05:00
Rachael Alexanderson
9e5444f8ae
- fixed: removed startTime from the wrong function internally.
2020-03-02 22:15:37 +01:00
Rachael Alexanderson
3d3a29979b
- remove addition from deprecated A_PlaySound
2020-03-02 22:15:37 +01:00
Rachael Alexanderson
5dfdac62ab
- add checking in S_StartSound for startTime length
2020-03-02 22:15:37 +01:00
Rachael Alexanderson
1b80b7bf2f
- ported over Nash's startTime for A_StartSound
2020-03-02 22:15:37 +01:00
Major Cooke
4cf7c6351d
Added A_StopSounds(int chanmin, int chanmax).
...
- If both channels are 0, completely silences the actor.
- Adapted A_StopAllSounds to call A_StopSounds(0,0);
2020-03-01 19:42:21 +01:00
Major Cooke
55284d46bf
Added A_StopAllSounds.
2020-02-29 19:19:51 +01:00
Christoph Oelckers
3a2eaf2bfd
- fixed: Windows must call the wide version of _mkdir for Unicode support.
2020-02-25 18:51:42 +01:00
alexey.lysiuk
5d6a490846
- prohibit core shaders overriding for OpenGL renderer
...
https://forum.zdoom.org/viewtopic.php?t=67519
2020-02-25 15:57:50 +02:00
alexey.lysiuk
56311b765e
- stop all sounds after exiting level regardless of intermission screen
...
https://forum.zdoom.org/viewtopic.php?t=67521
2020-02-23 16:16:23 +02:00
alexey.lysiuk
359e7927de
- fixed comparison with uninitialized data in MAPINFO parser
...
This issue was reported by Valgrind
2020-02-23 13:43:47 +02:00
Rachael Alexanderson
04ce0b6ec6
- use GAMENAMELOWERCASE macro for music config defaults
2020-02-23 08:12:41 +01:00
alexey.lysiuk
45617043f8
- fixed arguments order for ZMusic_Start() function
2020-02-22 13:08:10 +02:00
johannes hanika
5ee864ab5b
vid: remove explicit bit depth gl calls
...
this makes gzdoom start on xorg configured with 30bit/pixel deep
colour modes, too. it seems these explicit calls are not required,
and detection via SDL_GetWindowPixelFormat does not yet work with
extended bit depths, so detection + setting size to 8 or 10 depending
on the result is unreliable too (as of SDL 2.0.1).
2020-02-21 11:08:29 +02:00
Christoph Oelckers
5391382807
- removed CD audio support.
...
Mainly because this is an ancient deprecated feature on the system side that serves no good purpose anymore.
2020-02-18 21:53:30 +01:00
alexey.lysiuk
78bae1f166
- fixed wrong name assigned to dummy texture with zero ID
...
Texture created with image and name set to nullptr's is named after the very first lump, it's ALTHUDCF currenty
2020-02-17 15:37:56 +02:00
Christoph Oelckers
8ff888422e
- force Greek to use the standard font in Heretic and Hexen.
...
Unlike the other games where only 7 characters need to be added to their all caps fonts, for the Raven games' lowercase fonts all Greek characters need to be entirely redone which right now is entirely unrealistic.
This can be changed back once a workable font exists.
2020-02-16 13:52:44 +01:00
Christoph Oelckers
653336de24
- fix character substitution for mixed case fonts and text update.
2020-02-16 13:51:31 +01:00
Christoph Oelckers
7a6b133e93
- Greek letters for Strife's Big and Mini fonts.
2020-02-16 12:44:16 +01:00
Christoph Oelckers
f4edfa23dc
- reformattede getAlternative for compactness.
2020-02-16 08:58:57 +01:00
drfrag
68f338b134
- Fixed compilation with MinGW and did some cleanup.
2020-02-16 09:39:17 +02:00
Christoph Oelckers
e6aaab3c32
- remap accented Greek uppercase letters to their base variant instead of directly to the Latin/Cyrillic replacement.
2020-02-16 08:26:03 +01:00
Christoph Oelckers
9644e26ce3
- removed accented Greek characters from BigUpper font as well.
...
I think the same applies as for allcaps fonts, and aside from that the form of accents being used here is not correct for Greek anyway.
2020-02-16 00:04:22 +01:00
dondiego
e13e034cc4
SoftPoly only worked with Vulkan support on POSIX platforms ( #1036 )
...
* - CMake: fix wrong filename.
* - Fixed: SoftPoly only worked with Vulkan support on POSIX platforms.
2020-02-15 17:41:52 -05:00
Christoph Oelckers
7a86e7f043
- fix for Greek uppercase-only fonts.
...
In Greek for all-caps text there *must* not be any accents. As such, all accented characters now contain a default remap to the unaccented version and the accented characters in the already converted Doom Small and BigFont have been removed as these are all-caps fonts. Doom BigUpper still requires investigation how Smallcaps fonts need to be handled.
2020-02-15 23:32:52 +01:00
Magnus Norddahl
08e86b5bcc
- fix vulkan crash when there are no textures in player's view
2020-02-15 10:42:46 +01:00
Christoph Oelckers
c485256c74
Merge remote-tracking branch 'remotes/origin/zmusic_dll'
2020-02-15 10:22:45 +01:00
Christoph Oelckers
85ff05c0b2
- missed these in the last commit.
2020-02-15 10:16:38 +01:00
Magnus Norddahl
dd2d9f4182
- Fix vk_hdr looking for the wrong colorspace
2020-02-15 09:46:24 +01:00
Christoph Oelckers
6aed119403
- backported a few sound code fixes from Raze.
2020-02-15 09:32:05 +01:00
Christoph Oelckers
617b6cd987
- use floats for sprite depth sorting in the hardware renderer.
...
Fixed point is clearly insufficient here.
2020-02-15 09:22:30 +01:00
Chronos Ouroboros
6486380dd1
Fixed a crash when trying to include a missing mixin.
2020-02-14 22:26:30 -03:00
Danilo Spinella
bd216695cc
Add missing time.h include in cmdlib.h
2020-02-14 19:07:24 +01:00
alexey.lysiuk
2bde2d8268
- fixed 32-bit Linux build with SSE support enabled
2020-02-13 15:29:48 +02:00
alexey.lysiuk
c80bfcf9f6
- added missing #include
...
src/sound/music/i_soundfont.cpp:121:12: error: no viable overloaded '='
src/sound/music/i_soundfont.cpp:127:12: error: no viable overloaded '='
src/sound/music/i_soundfont.cpp:140:14: error: implicit instantiation of undefined template 'std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >'
2020-02-11 12:29:20 +02:00
Major Cooke
39a9a48ad6
Added source, inflictor and damage flags to AbsorbDamage.
2020-02-09 19:07:52 +01:00
alexey.lysiuk
a1b5ab6e9b
- added ZMusic library detection to CMake configuration
2020-02-09 15:51:50 +02:00
Christoph Oelckers
2dd3c28d05
- transitioned engine to use ZMusic as a DLL.
2020-02-09 08:56:49 +01:00
Chronos Ouroboros
d22a4c835c
Mixins now perform a deep copy of the AST. (Fixes default blocks in mixins)
2020-02-08 16:48:15 -03:00
Major Cooke
e13d43a576
Fixed colorization not being applicable to bottom wall textures.
2020-02-07 22:56:46 -06:00
Christoph Oelckers
77ed5b1fe8
- let freelook default to true.
2020-02-03 21:41:52 +01:00
Braden Obrzut
62e9e0cbbb
- Change updaterevision to a CMake script
...
The benefit to this is fairly small, but it does mean a little less work needs
to be done in the build scripts for cross compiling. The C version wasn't
especially concise so it was not obviously better in any way.
2020-02-02 11:43:36 +01:00
alexey.lysiuk
d527866e6d
- moved showing of start window banner to proper location in Cocoa backend
2020-02-02 11:29:17 +02:00
Christoph Oelckers
2817bc5508
- backported fix for loading VOC files.
...
In NAM there is one that needed a bit of extra treatment.
2020-02-01 17:34:06 +01:00
Chris Robinson
5b4c9eb7f6
Remove FSoundLoadBuffer since it wasn't doing anything
2020-02-01 17:11:26 +01:00
Chris Robinson
3c975f18bc
Remove LoadSoundBuffered since its no longer called
2020-02-01 17:11:26 +01:00
Chris Robinson
30bdd0c2d4
Get rid of the LoadSound3D method
...
It no longer does anything since there's no separate buffer for 3D sfx.
2020-02-01 17:11:26 +01:00
Chris Robinson
d823091446
Update a couple comments about monoized sounds
2020-02-01 17:11:26 +01:00
Chris Robinson
e88b1039a3
Stop sources immediately when the sound is forced to stop
...
The reason for the previous delay was to allow OpenAL Soft to fade the sound to
silence and avoid a sudden amplitude change, which can cause a "click" or "pop"
noise. However, with OpenAL Soft 1.20, this is a built-in feature of the mixer
so the extra complexity is unnecessary.
2020-02-01 17:11:26 +01:00
Chris Robinson
c095872b0a
Remove the 'monoize' option from sound loading
...
Unnecessary with the AL_SOFT_source_spatialize extension, which has been
available for over a year.
2020-02-01 17:11:26 +01:00
Chris Robinson
42fd84a09d
Remove the fallback for lack of AL_EXT_SOURCE_RADIUS
...
It's been available in OpenAL Soft for years and the fallback method wasn't very good.
2020-02-01 17:11:26 +01:00
alexey.lysiuk
c58e98cc7f
- fixed usage of floor sound with Plat_DownWaitUpStayLip special
...
https://forum.zdoom.org/viewtopic.php?t=67126
2020-01-31 13:21:14 +02:00
alexey.lysiuk
dd54c14380
- fixed code generation for very special if+switch combination
...
CheckReturn() must be called before emitting code, otherwise it will always return false for switch statements
Redundant jump instruction added because of that will point right after the end of function's code when if statement is the last one in the given function
This wasn't a problem for VM because bytecode in question was unreachable
JIT compiler tries to generate native code for a bogus jump destination, and this leads to out-of-bounds read from labels array
https://forum.zdoom.org/viewtopic.php?t=67149
2020-01-30 18:01:52 +02:00
alexey.lysiuk
f9906ae6cd
- fixed I_FindAttr() to handle symlinks on POSIX platforms
2020-01-26 11:04:06 +02:00
alexey.lysiuk
d425d8d9ca
- put common POSIX system code to a separate file
2020-01-26 11:01:13 +02:00
alexey.lysiuk
bf18eab54b
- fixed sprite and particle colors when not affected by dynlights
...
When gl_light_sprites and/or gl_light_particles CVARs were unset, random values could be used their colors
https://forum.zdoom.org/viewtopic.php?t=67066
2020-01-23 17:20:20 +02:00
alexey.lysiuk
0d758014dd
- exposed Level.MusicVolume to ZScript
2020-01-20 22:05:15 +01:00
alexey.lysiuk
a05a5a8f00
- fixed calling a function on string CVar
...
https://forum.zdoom.org/viewtopic.php?t=66768
2020-01-19 16:49:51 +01:00
alexey.lysiuk
5a19010699
- added ability to filter VM disassembly dump
...
Use '-dumpdisasm something' to output functions with 'something' in their printable names
Open and close output file only once when processing code generated by Dehacked, and calculate its sizes as well
2020-01-19 16:48:35 +02:00
Rachael Alexanderson
14dc46772c
- add check for unity version of Nerve.wad
...
- infrastructure in place in case Nerve.wad changes again, this can be extended
2020-01-18 22:19:42 +01:00
alexey.lysiuk
747c6dcbc9
- customized invulnerability colormap does not interfere with Powerup.ColorMap
...
https://forum.zdoom.org/viewtopic.php?t=66955
2020-01-18 17:27:45 +01:00
Magnus Norddahl
e43894213e
Remove softpoly specific matrix and vector classes
2020-01-18 13:56:37 +01:00
Magnus Norddahl
43562c94d0
Seems the clamp was required
2020-01-18 12:55:36 +01:00
Magnus Norddahl
e68b46cb6a
Implement special colormap support for softpoly
2020-01-17 21:58:33 +01:00
Alexander Kromm
bdb4bdeb09
save and restore config-only variables from proper sections
2020-01-17 19:24:17 +01:00
Magnus Norddahl
3b336a1476
Fix broken fixed camera light for walls
2020-01-17 01:15:44 +01:00
Alexander Kromm
7973ab9c6b
make nosave standalone CVar flag, alongside server and user
2020-01-16 17:52:58 +01:00
Alexander Kromm
f85e3fb9a0
make nosave cvars set their value bypassing network code
...
This may look as a workaround, it is not.
nosave cvars are meant to be used as a storage for statistical data that doesn't
affect gameplay. That's why this data isn't saved to the savefile in the first
place. Therefore, there is no point in sending this data over network. It would
have no meaning on machines other than local.
2020-01-14 15:50:20 +01:00
alexey.lysiuk
efd2f8a1a8
- implemented screenshots in softpoly backend
2020-01-14 12:14:03 +02:00
Christoph Oelckers
dc3b36ebda
- we are past 4.3 now.
2020-01-12 23:22:41 +01:00
alexey.lysiuk
7092a0a8f0
- fixed Linux and macOS implementations of I_FindAttr()
...
At the moment, we assume that dirent struct has d_type member, and DT_DIR is defined
This is true for supported versions of macOS, and Linux with glibc
https://forum.zdoom.org/viewtopic.php?t=66945
2020-01-12 23:03:59 +02:00
Christoph Oelckers
583734861e
- compatibility workaround for using Scroll_Texture_Model with a line id of 0.
...
This would do very bad things if not being checked for.
2020-01-12 13:21:15 +01:00
Christoph Oelckers
e3eae62af2
- store CVARs non-destructively in savegames.
...
The old method using a single string with a backslash as separator is unable to handle anything with actual backslashes in the data.
It now uses a JSON object with each CVAR being a separate key.
2020-01-12 12:59:08 +01:00
alexey.lysiuk
f32aff3396
- fixed A_PlaySound() called from Dehacked
...
The recently added argument was missing from PlaySound code pointer handling
Verified other Dehacked functions, and changed one incorrect comment
2020-01-12 11:48:45 +02:00
Christoph Oelckers
d636acb002
- GAMESIG was never supposed to be used in printed output. Replaced all occurences with GAMENAME.
2020-01-12 09:43:47 +01:00
Christoph Oelckers
1d0ece26b6
- missed a warning.
2020-01-12 08:26:07 +01:00
Christoph Oelckers
9e13d3c60d
- fixed: The directory scanner for reading a directory into the WAD file system and ScanDirectory were not Unicode capable on Windows.
...
Both now use the Unicode capable I_Find* interface instead of duplicating all its functionality in multiple platform dependent incarnations.
2020-01-12 08:18:47 +01:00
Kevin Caccamo
91589d9799
Attempt to optimize check for ML_DRAWFULLHEIGHT
...
It is less likely that a line will have the ML_DRAWFULLHEIGHT flag than its' ceiling will be above the neighbouring sector's ceiling and vice versa.
2020-01-11 13:24:02 +01:00
Kevin Caccamo
d73a5f5e16
Use != 0 after ANDing with the relevant flags
...
This is mostly a "just in case" measure, in case I did something wrong with the previous commits.
2020-01-11 13:24:02 +01:00
Kevin Caccamo
2ff92e91d2
Fix ML_DRAWFULLHEIGHT flag check
2020-01-11 13:24:02 +01:00
Kevin Caccamo
7ca6e7e5c1
Add handling for drawfullheight flag
...
Parse drawfullheight flag in UDMF
Draw full height for walls if the linedef has this flag
2020-01-11 13:24:02 +01:00
Kevin Caccamo
b443d0755e
Change ML_NOSKYWALLS and add ML_DRAWFULLHEIGHT
...
ML_DRAWFULLHEIGHT will be used to draw walls from the front/back sector's floor to the other sector's ceiling.
2020-01-11 13:24:02 +01:00
Kevin Caccamo
9b598017f9
Add more ways to prevent GZDoom from drawing skybox walls
...
Add noskywalls flag to sectors and linedefs
2020-01-11 13:24:02 +01:00
alexey.lysiuk
f9fa07dca5
- restored old values for CHAN_... constants
...
https://forum.zdoom.org/viewtopic.php?t=66929
2020-01-11 13:27:10 +02:00
alexey.lysiuk
3185e359b9
- added workaround for GLSL noise functions on macOS
...
There is no chance that Apple will fix their OpenGL drivers
The only viable solution is to preprocess these functions out, and put zeroes instead of them
2020-01-10 13:52:17 +02:00
alexey.lysiuk
1bc67cf7b9
- added ability to use static SDL2 library
...
This is intended for developers only, e.g. for testing SDL backend on macOS
2020-01-09 15:37:01 +02:00
alexey.lysiuk
442f953d67
- fixed invalid context warnings with Cocoa backend
...
A bunch of 'CGContext<...>: invalid context 0x0' messages were printed to console during OpenGL view creation and resizing
2020-01-07 14:37:25 +02:00
alexey.lysiuk
7e050010aa
- removed obsolete softpoly render modes
...
https://forum.zdoom.org/viewtopic.php?t=66888
2020-01-06 14:31:34 +02:00
alexey.lysiuk
fca492df2b
- fixed compilation of debug target with older macOS SDKs
...
src/posix/cocoa/i_video.mm:633:31: error: property 'layer' not found on object of type 'id'
2020-01-06 14:26:16 +02:00
Alexander Kromm
eeddd72458
fix nosave cvar keyword (saved to config, not saved to savegame)
2020-01-06 12:07:07 +01:00
alexey.lysiuk
cad14d1c93
- fixed resolving of music aliases with full filenames
...
https://forum.zdoom.org/viewtopic.php?t=66815
2020-01-06 11:15:17 +02:00
alexey.lysiuk
83f46c4b2f
- fixed erroneous override of default language strings
...
If the default identifier is present in LANGUAGE lump, following entries were treated as default as well
https://forum.zdoom.org/viewtopic.php?t=66873
2020-01-06 10:22:42 +02:00
Chronos Ouroboros
a83fff0eb4
Disabled default blocks in mixins for now.
2020-01-05 19:07:03 -03:00
Rachael Alexanderson
98ee0a7035
- move colorization parser from 'textures' to 'gldefs'
2020-01-05 16:30:01 -05:00
Alexander Kromm
b209fd9572
add "nosave" cvar token
...
It makes a cvar value not be saved in a save file.
2020-01-05 17:36:44 +01:00
Christoph Oelckers
26784d7453
- reverted the clamping when assigning to FScanner::Number.
...
This broke unsigned integer parsing without explicitly declaring the constant unsigned.
2020-01-05 00:17:58 +01:00
Rachael Alexanderson
cb7a097ed4
- vid_scalemode 1 now only goes down to 640x400 at minimum, instead of 320x200
2020-01-04 15:05:35 -05:00
Petr Mrázek
3c20d5fe88
- Run the Alsa MIDI thread every 40ms or so, use non-blocking sequencer
2020-01-04 20:19:36 +01:00
Chronos Ouroboros
a588c24c4f
Fixed some incorrect parentheses in S_PlaySoundPitch.
2020-01-04 15:34:43 -03:00
Chronos Ouroboros
6ccbccc3de
Removed a redundant switch and added a default case to the mixin parsing code to shut GCC up.
2020-01-04 15:11:31 -03:00
Christoph Oelckers
b7e1a35e6f
- cleaned up the parameters of A_StartSound.
...
There were two booleans that could be merged into the flag word.
This also fixes a bug with CHAN_NOSTOP not working for local sounds because it checked the wrong sound source for the playing sound.
2020-01-04 14:25:55 +01:00
alexey.lysiuk
651dfbc49f
- fixed a few compilation warnings
...
src/d_main.cpp:280:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
src/rendering/r_videoscale.cpp:147:22: warning: comparison of integers of different signs: 'int' and 'unsigned long' [-Wsign-compare]
src/sound/s_reverbedit.cpp:250:18: warning: comparison of integers of different signs: 'size_t' (aka 'unsigned long') and 'int' [-Wsign-compare]
2020-01-04 12:59:26 +02:00
Christoph Oelckers
8b3c03d416
- fixed Doom64 style lighting.
...
The check for the presence of Doom64 style lighting was done too early before the line lists in the sector were created.
2020-01-04 10:45:22 +01:00
Christoph Oelckers
4253fb6b4a
Merge branch 'zmusic_dll'
...
# Conflicts:
# libraries/zmusic/zmusic/configuration.cpp
2020-01-04 09:48:04 +01:00
Magnus Norddahl
fca3da8af4
Update and clarify the licenses for the postprocess, vulkan and softpoly parts
2020-01-03 05:52:01 +01:00
Christoph Oelckers
8898448014
- refactored the MIDI list code.
...
Let's hope nothing got broken on the Linux side, the recent submission's code was not usable.
2020-01-02 14:21:26 +01:00
Rachael Alexanderson
f398819ce3
- due to issues with chat, scoreboard, and the stat screen, disable 320x200 in multiplayer for now
2020-01-02 06:47:17 -05:00
Christoph Oelckers
f442d2dc54
- made the sound decoding interface DLL friendly and added compile switches to the MIDI players so that different licenses can be uses as compile target.
2020-01-02 12:43:37 +01:00
alexey.lysiuk
d4ac797602
- made load game failure a bit more resilient
...
https://www.doomworld.com/forum/topic/111069-savestate-problems-with-gzdoom/
2020-01-02 13:40:14 +02:00
Christoph Oelckers
71cd4ef488
Merge branch 'master' of https://github.com/coelckers/gzdoom
...
# Conflicts:
# libraries/zmusic/zmusic/mididefs.h
# libraries/zmusic/zmusic/zmusic.h
2020-01-02 08:45:48 +01:00
Petr Mrázek
ea1b8de405
- Support for MIDI on Linux via alsa sequencer
2020-01-02 08:29:39 +01:00
Rachael Alexanderson
118e3db5ca
- r_videoscale: make the compiler manage vScaleTable's size
2020-01-01 23:23:20 -05:00
Christoph Oelckers
d2ca1ea4e0
- rewrote the ZMusic interface so that it is free of C++ constructs.
...
Now it is ready to put in a DLL.
2020-01-02 01:26:01 +01:00
Christoph Oelckers
0d000344ca
- replaced the C++ based file access wrapper in ZMusic with a C compatible version.
2020-01-01 22:54:27 +01:00
Christoph Oelckers
527fb40a5f
- there's no need to let the XM Vorbis decoder run through the client - all related functionality is part of ZMusic itself.
2020-01-01 20:58:15 +01:00
Christoph Oelckers
47d70c839d
- made adjustments to the remaining parts of the function interface.
2020-01-01 20:47:33 +01:00
Christoph Oelckers
7923d25cce
- made the ZMusic interface more DLL friendly: Reworked all functions not to throw exceptions across the library boundary and made a few definitions internal.
...
Not complete yet.
2020-01-01 20:01:38 +01:00