Commit graph

18388 commits

Author SHA1 Message Date
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
2acdf5cfab - added autonames for the shareware games
They still need to access some internal filters, despite blocking loading addons.
2020-03-11 00:38:26 +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
Major Cooke
70f9b649aa Changed Pre/Post(Un)Morph to take the other actor and a boolean indicating direction.
- 'current' is true for the actor that is the new body, false for the old body.
2020-03-08 15:29:09 +01:00
Major Cooke
33b343ef31 Added Pre(Un)Morph and Post(Un)Morph functions.
- cls: The other class's cast type which the actor is transitioning from/to.
2020-03-08 15:29:09 +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
9f83195460 - added Romanian to the language selection menu. 2020-02-20 19:02:59 +01: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
4237e64081 - text update. 2020-02-16 22:55:28 +01: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
94bc68c514 - Greek characters for old console font. 2020-02-16 09:37:58 +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
670ef100f7 - added the 7 Greek characters to Strife's SmallFont that cannot be done by remapping to existing Latin or Cyrillic letters. 2020-02-16 00:13:43 +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
Magnus Norddahl
a056307218 Upgrade glslang to 8.13.3559 (stable release January 6, 2020) 2020-02-15 08:51:03 +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
56fff271a1 - added ZMusic to Travis CI configuration 2020-02-11 12:29:46 +02:00