Commit graph

19086 commits

Author SHA1 Message Date
Christoph Oelckers
3db56651f4 - avoid using plain char pointers to store script data for FraggleScript. 2020-04-11 14:00:07 +02:00
Christoph Oelckers
5865c4dcca - use FString to manage strings in bot code. 2020-04-11 14:00:07 +02:00
Christoph Oelckers
6bfdf904b9 - removed use of copystring in Dehacked code and cleaned up the list of includes in cmdlib.cpp 2020-04-11 14:00:07 +02:00
Christoph Oelckers
30577e8a50 - Text update. 2020-04-11 14:00:07 +02:00
Blue
52f1c8a0d1 Added $OPTVAL_MBFSTRICT to menudef.txt, and added corresponding case 7 to the compatmode cvar in d_main.cpp 2020-04-08 18:51:38 +02:00
Magnus Norddahl
0d7eb9da58 Revert "- Fix legacy input state getting out of sync when raw mouse input grabs or releases the events"
This reverts commit b4424b2d4d.
2020-04-08 16:21:16 +02:00
Lucy Phipps
2c1a42ae55
remove gl_texture_usehires since it's unused now
GLTEXMNU_ENABLEHIRES in language.csv is unused too
2020-04-05 13:22:32 +01:00
Christoph Oelckers
5490ffcd77 - removed the obsolete Doomsday 1.8-style texture pack support.
This poorly integrated into the texture system and wasn't compatible with modern texture packs anymore so its usefulness was questionable.
2020-04-04 12:55:24 +02:00
Erick Tenorio
b2a17dfdc2
- REQUIEM.WAD fixes (#1050)
Fixes for various maps in the Requiem megawad.

Idgames: https://www.doomworld.com/idgames/levels/doom2/megawads/requiem
2020-04-02 05:35:51 -04:00
drfrag
8336e80f48 - Fixed sprites sunk into water on Carmack with HQ resize modes. 2020-04-01 14:25:10 +02:00
dondiego
4bfb0e937f
- Fixed tutti-frutti and crash with liquid warp effects on the Carmack renderer when texture resizing was disabled. (#1063) 2020-03-31 19:17:41 -04:00
dondiego
cc0594df2e
- Use g_sin for the SoftPoly warp effects as Graf suggested. (#1061) 2020-03-31 10:25:46 -04:00
drfrag
cfafe65069 - OS detection cleanup. 2020-03-31 09:34:20 +02:00
Major Cooke
09a5771ad4 - Fixed: SPECTRAL flag didn't check for DMG_FORCED before aborting DamageMobj. 2020-03-30 12:16:16 +02:00
Magnus Norddahl
b4424b2d4d - Fix legacy input state getting out of sync when raw mouse input grabs or releases the events
- Remove the need to center the mouse by specifying RIDEV_INPUTSINK (RIDEV_CAPTUREMOUSE does not take effect unless it is also an input sink)
2020-03-29 07:48:58 +02:00
alexey.lysiuk
43eb262571 - fixed compilation of Cocoa backend
src/utility/i_time.h:6:15: error: redefinition of 'TimeScale' as different kind of symbol
2020-03-28 15:38:45 +02:00
alexey.lysiuk
51b46f1408 - removed detection of unsupported macOS versions 2020-03-28 15:38:05 +02:00
Christoph Oelckers
fabe772833 - moved high level code out of i_time.cpp. 2020-03-27 12:39:56 +01:00
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
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