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
a50a5101bc
- fixed another typo.
2020-03-15 15:56:35 +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
nashmuhandes
7a141f3aa3
Add help messages for most of the deprecated stuff in ZScript.
2020-03-14 12:56:03 +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
4201c4fbb5
- fixed A_FireCGun.
2020-03-11 19:47:23 +01: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
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