Commit graph

16741 commits

Author SHA1 Message Date
drfrag
796c25b056 - Add missing DrawTextureTags.
DTA_FlipY, DTA_SrcX, DTA_SrcY, DTA_SrcWidth and DTA_SrcHeight.
2020-06-09 18:42:52 +02:00
nashmuhandes
7d20e74603 Fixed wrong MINDEMOVERSION which was committed in 95f447927a 2020-06-08 15:50:37 +02:00
Kevin Caccamo
8081f6fcbe Fix Bag of Holding not increasing Firemace ammo capacity 2020-06-08 15:50:35 +02:00
drfrag
5cd3f66dd2 - Bumped ZScript version. 2020-06-08 14:44:15 +02:00
alexey.lysiuk
f30265849f - timidity++: better handling of soundfont terminal preset record 2020-06-08 14:42:24 +02:00
Marisa Kirisame
4ca8d538b3 Hotfix: LineTrace now reports the correct number of portal crossings. 2020-06-07 15:52:15 +02:00
alexey.lysiuk
a0758d6a92 - fixed incomplete disabling of number field menu option
https://forum.zdoom.org/viewtopic.php?t=68075
2020-06-07 15:09:07 +02:00
alexey.lysiuk
c00dddea68 - tighten rules for action functions called from Decorate
FxVMFunctionCall (previously used to call action functions from Decorate) skipped self pointer compatibility checks

https://forum.zdoom.org/viewtopic.php?t=68678
2020-06-07 14:51:48 +02:00
Christoph Oelckers
100897b406 - fixed: The full dotted lump filter string was never used.
The code added all partial matches to the file system but not the full match.

# Conflicts:
#	src/resourcefiles/resourcefile.cpp
2020-06-07 14:35:29 +02:00
alexey.lysiuk
8c877cb36a - fixed (un)morphing of more than one actor from ACS
https://forum.zdoom.org/viewtopic.php?t=68847

# Conflicts:
#	src/p_acs.cpp
2020-06-07 14:35:19 +02:00
alexey.lysiuk
55bbc4a86b - fixed setup of JIT functions that require extra frame space
https://forum.zdoom.org/viewtopic.php?t=68816
2020-06-07 14:35:05 +02:00
Alexander Kromm
d28ba37af2 make various getter and pure-math methods clearscope, and where applicable, const
Original PR: https://github.com/coelckers/gzdoom/pull/532

Status of the original PR

1. Actor
- [already in] deltaangle
- [already in] absangle
- [already in] AngleToVector
- [already in] RotateVector
- [already in] Normalize180
- [already in] BobSin
- [already in] GetDefaultSpeed
- [this PR] GetBobOffset
- [this PR] InStateSequence
- [already in] FindState
- [already in] GetDropItems
- [this PR] DistanceBySpeed
- [this PR] AccuracyFactor
- [not in original PR, for PlayerInfo.isTotallyFrozen] isFrozen

2. PlayerInfo
- [this PR] GetUserName
- [this PR] GetColor
- [this PR] GetDisplayColor
- [this PR] GetColorSet
- [this PR] GetPlayerClassNum
- [this PR] GetSkin
- [this PR] GetNeverSwitch
- [this PR] GetGender
- [this PR] GetTeam
- [this PR] GetAutoaim
- [this PR] GetNoAutostartMap
- [this PR] GetClassicFlight
- [this PR] IsTotallyFrozen

3. C++ methods, to match ZScript:

- [scriptified] AActor::AccuracyFactor() to Actor.AccuracyFactor
- [this PR] AActor::DistanceBySpeed(AActor *, double) — it is a combination of getter and pure math
- [this PR] AActor::Distance2D(AActor *, bool) — called by DistanceBySpeed
- [this PR] AActor::Distance2D(AActor *, double, double, bool) — called by DistanceBySpeed
- [not in original PR, for PlayerInfo.isTotallyFrozen] AActor::isFrozen

# Conflicts:
#	src/actor.h
#	src/actorinlines.h
2020-06-07 14:34:48 +02:00
Christoph Oelckers
90476761a4 - manually merged PR for kill count in Requiem MAP23. 2020-06-07 14:34:26 +02:00
Christoph Oelckers
0a5919aa02 - there is no mace ammo in the bag of holding. 2020-06-07 14:34:23 +02:00
Christoph Oelckers
3106b46481 - advanced coordinate control for overlays over DTA_Fullscreen images.
Manually merged, there were severe conflicts.

# Conflicts:
#	src/textures/textures.h
#	src/v_draw.cpp
#	src/v_video.h
2020-06-07 14:15:59 +02:00
Christoph Oelckers
ebc4e2215f - fixed: the last frame of the intermission screen wasn't rendered. 2020-06-07 13:28:14 +02:00
Christoph Oelckers
bbceaa1fcb - added limited support for replacing the intermission backgrounds in Doom 1 with widescreen images.
Due to how the placement works here, it is only usable with fullscreenautoaspect mode 3.

# Conflicts:
#	src/wi_stuff.cpp
2020-06-07 13:28:12 +02:00
Christoph Oelckers
96cd602de1 - added a compatibility option for a bad teleporter in the final Strife map. 2020-06-07 13:28:10 +02:00
Christoph Oelckers
17add7f47f - don't let CHANF_AUTO hijack other channels.
With CHANF_OVERLAP this isn't needed anymore - any sound started on CHAN_AUTO can actually play on this channel with overlap implicitly allowed.
This has the added advantage that these sounds can be reliably accessed with other function by using CHAN_AUTO.

# Conflicts:
#	src/v_2ddrawer.cpp
2020-06-07 13:27:02 +02:00
Christoph Oelckers
af10281799 - fixed some double to float conversion warnings. 2020-06-04 10:50:36 +02:00
Christoph Oelckers
f0fa3b3d27 - Strife dynamic light tweaks by ReaperAA. 2020-06-04 01:52:32 +02:00
Christoph Oelckers
8ec5a4616b - fixed: vertically mirrored textures should not be subjected to empty space optimizations because the algorithm cannot deal with the inverted case.
# Conflicts:
#	src/gl/scene/gl_wall.h
2020-06-04 01:52:21 +02:00
Christoph Oelckers
30327ffa4f - fixed: the 3D floor processing code in the renderer did not restore the render style after finishing.
Normally this won't be noticable, the only exception is if the last processed 3D floor had additive translucency and colored fog - this case is special because for additive rendering the fog color needs to be disabled.

# Conflicts:
#	src/gl/scene/gl_walls.cpp
2020-06-04 01:46:14 +02:00
Edoardo Prezioso
09fbbfb1c6 - Fixed OpenAL regression with looping sounds with playing length 0.
If such case occurs, the starttime parameter passed to the sound functions is ignored and truncated to 0.
2020-06-03 17:08:47 +02:00
drfrag
61e198f83d - Missing string for Brazilian Portuguese (Daniel). 2020-06-03 14:50:53 +02:00
drfrag
a695d6ee34 - Change default key bindings: add arrow keys to the left-handed preset and set mouse3 to activate items for the modern presets. 2020-06-03 12:21:01 +02:00
Christoph Oelckers
55390b2403 - fixed floorclipping checks for 3D floors.
Neither the setup nor the in-game checks were correct, because this code comes from a time where ceilings could not have a terrain, meaning that 3D floors couldn't have one.
2020-06-03 11:23:30 +02:00
Christoph Oelckers
b43d87c4cd - reject all 0-special lines for activation.
This is to ensure consistency between all callers of this function.
2020-06-03 00:07:25 +02:00
Christoph Oelckers
d8db13a539 - use modulo, not bitwise and-ing to check the damage delay for terrain based damage.
This was apparently overlooked when refactoring the damage system 4 years ago.
2020-06-03 00:07:23 +02:00
drfrag
524d8ee524 - Present the iwad selection box also with only one iwad. 2020-06-02 16:38:33 +02:00
drfrag
049090a314 - Missing string. 2020-06-01 10:39:13 +02:00
Hugo Locurcio
03c9906b55 Add a cvar to control weapon bobbing while firing
This simulates a feature found in Crispy Doom, which keeps the
weapon bobbing while firing. This leads to a "smoother" appearance
which may look a bit prettier to some people.

The default value of 0 preserves the old behavior.
2020-06-01 10:39:09 +02:00
drfrag
0ec9af91a9 - Fixed crash printing weapon name tags. 2020-05-31 16:41:01 +02:00
drfrag
a05df40a6e - Fixed crash on maps with out of range sidedef and sector numbers, adapted from PRBoom.
# Conflicts:
#	src/p_setup.cpp
2020-05-29 23:50:49 +02:00
drfrag
98de1423ea - Reload fake fonts, people keep doing it and that made some mods incompatible. 2020-05-27 23:41:38 +02:00
Christoph Oelckers
42b037d708 - fixed: TRF_ALLACTORS did not consider actors without any flag being set. 2020-05-26 00:30:11 +02:00
Christoph Oelckers
b731a0e2c4 - fixed use of Powerup.Strength in PowerInvisibility.
An integer division made the feature useless.
2020-05-26 00:30:09 +02:00
Christoph Oelckers
bf6c2676c1 - fixed bad Heretic light definitions. 2020-05-26 00:30:07 +02:00
Christoph Oelckers
8c9cf5234a - fixed missing sound for Polyobj_MoveTo. 2020-05-26 00:30:05 +02:00
Marisa Kirisame
be13bbb9a2 Add mapinfo option to disable merging of identical pickup messages on same tic
# Conflicts:
#	src/g_inventory/a_pickups.cpp
2020-05-24 11:04:20 +02:00
Christoph Oelckers
6851103a87 - attenuated lights for Strife. 2020-05-22 21:35:57 +02:00
alexey.lysiuk
c386a71c3c - added #include to fix compilation with MSVC 16.6.0
https://forum.zdoom.org/viewtopic.php?t=68641

# Conflicts:
#	src/files_decompress.cpp
#	src/sound/s_music.cpp
2020-05-22 21:35:55 +02:00
Alexander Kromm
a8282c3ec6 fix "'ictionary' is freed outside the GC process" warning 2020-05-22 21:35:51 +02:00
drfrag
aa224a7448 - Fixed jump key in Hexen for the modern keyboard presets. 2020-05-21 20:13:57 +02:00
drfrag
3df769c9d5 - Replace the "IJKL" keyboard preset with "OKL;". 2020-05-19 14:20:57 +02:00
alexey.lysiuk
2f50d5521a - fixed aiming camera that didn't follow target
https://forum.zdoom.org/viewtopic.php?t=68600
2020-05-18 14:23:43 +02:00
alexey.lysiuk
8dd30ab922 - restored warning about missing aiming camera target 2020-05-18 14:23:41 +02:00
drfrag
2f3be44470 - Restored original colors for player setup icon backdrop. 2020-05-17 14:04:43 +02:00
Major Cooke
36bf930575 Enforce the reflective flag as well. 2020-05-17 02:10:14 +02:00
Major Cooke
ac015c4bb9 Fixed an issue where multiple invulnerability powerups could cancel each other out from just one expiring. 2020-05-17 02:10:12 +02:00