Commit graph

16145 commits

Author SHA1 Message Date
Christoph Oelckers
f77336b25c - fixed: The color sliders in the player setup menu may not be selected when inactive. 2019-07-15 20:38:29 +02:00
Christoph Oelckers
ce7920727c - removed debug output. 2019-07-15 20:38:28 +02:00
Christoph Oelckers
2577c0843e - adjustments to the player menu so that the display isn't cut off on the smallest screen sizes. 2019-07-15 20:38:26 +02:00
Christoph Oelckers
bba2854796 - reimplemented new player setup menu as an OptionsMenu.
This is both for consistency and better localizability. The old code is retained to ensure that mods inheriting from the old menu continue to work.

# Conflicts:
#	src/menu/menudef.cpp
#	src/namedef.h
#	wadsrc/static/zscript/ui/menu/optionmenu.zs
2019-07-15 20:37:36 +02:00
Rachael Alexanderson
3cf84ee60b - improved backdrop texture a little bit. replaced with a CC0 texture designed in Krita 2019-07-15 20:34:06 +02:00
Christoph Oelckers
2ca0e82e79 - added missing files.
No idea why they weren't committed...
2019-07-15 19:56:06 +02:00
Christoph Oelckers
3700b0c7b8 - replaced the procedural backdrop texture with some warped noise texture.
This was done because the backdrop as implemented was the only texture in the entire game that had to be deleted and recreated each frame.
However, with Vulkan this would have necessitated quite a bit of synchronization with the render pipeline which wasn't really feasible just for this one single texture.
Now the texture manager can assume that once a texture was created it will be immutable and never has to change.

# Conflicts:
#	src/CMakeLists.txt
#	src/textures/backdroptexture.cpp
#	src/v_2ddrawer.cpp
2019-07-15 19:55:51 +02:00
alexey.lysiuk
15dbacca01 - added validation for presence of drop item classes
https://forum.zdoom.org/viewtopic.php?t=65307
2019-07-12 22:11:54 +02:00
drfrag
19df6559a8 - Print a warning instead of error out on unsupported ZScript version. 2019-07-11 18:20:57 +02:00
drfrag
1d77f880a4 - Fixed hack: CanPrint must return 0 or it'd signal to the mods that NO FONT can print the text (what Graf said). 2019-07-11 14:07:47 +02:00
drfrag
e5f7bf068c - Some ugly hackery to try to make it more compatible. 2019-07-11 14:07:20 +02:00
Christoph Oelckers
da5c1c90dc - let IWAD and PWAD BigFonts override BigUpper for consistency.
# Conflicts:
#	src/gamedata/fonts/font.cpp
#	src/gamedata/fonts/singlelumpfont.cpp
#	src/gamedata/fonts/v_font.cpp
2019-07-11 13:41:45 +02:00
Christoph Oelckers
8ff421104d - fixed: The lump renaming was not performed for Doom, even for those pieces where needed. 2019-07-11 13:26:37 +02:00
Christoph Oelckers
d14a48f8f4 - use BigUpper font for option menu captions.
# Conflicts:
#	src/gamedata/fonts/v_font.cpp

There's actually no BigUpper font here. (drfrag)
2019-07-11 13:24:40 +02:00
drfrag
08cd080597 - Added DrawOptionText function for the options menu. 2019-07-10 23:04:40 +02:00
drfrag
a6429a1ae1 - Added some dummy functions for the option menu. 2019-07-10 22:59:53 +02:00
alexey.lysiuk
660d930cf6 - do not set crouch player sprites on voodoo dolls
https://forum.zdoom.org/viewtopic.php?t=65257
2019-07-10 22:04:20 +02:00
alexey.lysiuk
c4780495e1 - fixed linking without DYN_FLUIDSYNTH defined
Undefined symbols for architecture x86_64:
  "CreateFluidSynthMIDIDevice(char const*, int)", referenced from:
      MIDIStreamer::CreateMIDIDevice(EMidiDevice, int) in music_midistream.o
2019-07-09 22:58:11 +02:00
Christoph Oelckers
d018b430f7 - made the class definitions of the MIDI devices private to the implementations. 2019-07-09 22:58:08 +02:00
alexey.lysiuk
a646b9cfa2 - fixed crash on starting ACS script without level
https://forum.zdoom.org/viewtopic.php?t=65287
2019-07-08 13:56:45 +02:00
alexey.lysiuk
0dbf2e3df7 - fixed LevelLocals.isFrozen() return value with JIT disabled
No more 'Number of parameters returned differs from what was expected by the caller' assertion failures
2019-07-08 13:56:35 +02:00
drfrag
ca9967d13b - Made automatic level compatibility optional.
As Enjay requested and Rachael suggested.
 I don't think i'm opening Pandora's box, what could go wrong?
2019-07-05 14:45:01 +02:00
alexey.lysiuk
9d8b4f6c05 - fixed missing dive and surface player sounds
https://forum.zdoom.org/viewtopic.php?t=65233
2019-07-05 13:33:55 +02:00
Major Cooke
7bf370dd63 'Fixed' spacing. 2019-07-03 21:48:06 +02:00
Major Cooke
e332d405f6 Re-ordered drawing a little.
# Conflicts:
#	src/g_statusbar/shared_sbar.cpp
2019-07-03 21:48:04 +02:00
Major Cooke
dfe8f19dd5 Added RenderUnderlay.
- Works exactly like RenderOverlay, but is drawn behind the status bar/huds instead.

# Conflicts:
#	src/events.cpp
#	src/events.h
2019-07-03 21:48:01 +02:00
drfrag
c3482b75fc - Make joystick input in the background CVAR controlled. 2019-07-03 20:52:03 +02:00
alexey.lysiuk
f340d411c3 - added validation of LevelCompatibility.Apply() signature
# Conflicts:
#	src/compatibility.cpp
2019-07-03 13:49:36 +02:00
Erick Tenorio
ce0b4b1ead - DOOM2.WAD fixes 2019-07-02 14:50:15 +02:00
drfrag
29264b764b - Allow background gamepad input on linux as well. 2019-07-02 13:54:05 +02:00
drfrag
3f9643e1ca - Clarify ZScript version error message. 2019-07-01 11:35:54 +02:00
Magnus Norddahl
fc38b6bbf9 - fix querying for the wrong interface when the UNICODE define is set 2019-06-30 21:41:28 +02:00
Magnus Norddahl
36b7a7d189 - remove dead code 2019-06-30 21:41:25 +02:00
alexey.lysiuk
7a545226f1 - updated bzip2 to version 1.0.7
https://www.sourceware.org/bzip2/
https://www.sourceware.org/pub/bzip2/bzip2-1.0.7.tar.gz
2019-06-29 13:09:30 +02:00
alexey.lysiuk
d90d590484 - added detection of macOS Catalina 2019-06-29 13:09:27 +02:00
drfrag
ed0890c7b6 - Allow acquiring DirectInput joysticks in the background for fake splitscreen. 2019-06-28 02:47:42 +02:00
Christoph Oelckers
f1126bf70e - removed unnecessary variable clear.
It actually broke multiplayer since "replaced the assignment operator in player_t with a named function." (drfrag)
2019-06-28 00:03:37 +02:00
Christoph Oelckers
7d168c0146 - removed UTF-8 marker. 2019-06-26 14:28:03 +02:00
Rachael Alexanderson
1215653941 - add missing newline to PrintMiscActorInfo 2019-06-26 14:27:51 +02:00
drfrag
82d7419d34 - Hopefully fixed dithering in the present shader so it works on older hardware. 2019-06-26 11:46:11 +02:00
drfrag
3ed0541647 Revert "- Fixed dithering in the present shader."
This reverts commit b359b65f35.

It gave a shader compile error on hardware not supporting GL 4.2.
2019-06-26 03:26:57 +02:00
alexey.lysiuk
102cd3855c - fixed: endgame menu no longer resets player's userinfo
User CVARs can be stored in member variables for quicker access
Unconditional call to G_CheckDemoStatus() destructs and recreates such CVARs
Dangling pointers could be accessed during the last game tick, e.g. from event handlers

https://forum.zdoom.org/viewtopic.php?t=65150
2019-06-23 18:52:45 +02:00
Kevin Caccamo
3923a92f11 Expand UDMF and ZScript API for side's own additive colors
Add 'useowncoloradd_{top,mid,bottom}' sidedef properties to the UDMF 
spec
Only use side's additive colors if 'useowncoloradd_(top|mid|bottom)' is 
set.
Rename UseOwnColors flag to UseOwnSpecialColors
Add UseOwnAdditiveColor flag to side_t::part
Add EnableAdditiveColor to side_t
Add Side.EnableAdditiveColor to ZScript API
2019-06-23 14:11:08 +02:00
Kevin Caccamo
2c08a77f2c Minor fixes for additive colour ZScript API
Sector.SetAdditiveColor actually called Sector.SetSpecialColor
Add use boolean property, used to determine whether or not to override the sector's additive wall colour with the side's additive colour.
2019-06-23 14:11:06 +02:00
Kevin Caccamo
d503d1ce9b Add additive color before applying object colors
Based on what I saw in this video (https://youtu.be/Yx1tflavea8), the 
additive colors are applied before the object colors
2019-06-23 14:11:03 +02:00
Kevin Caccamo
6ae47bad88 Rework implementation as per the new specification
The new specification is more flexible, and allows assigning additive
colors to individual parts of a sector (walls, sprites, flats) and even
individual parts of a side (top, middle, bottom)

Add AdditiveColors arrays to sector_t and side_t::part
Initialize AdditiveColors arrays to 0
Export AdditiveColors to ZScript
Save AdditiveColors in saved game files
Use colors from AdditiveColors arrays when setting the additive color
for the render state
Add code to parse the new UDMF additive color properties
Remove additive color slot from sector color/part enum
Add SetAdditiveColor to sector_t and side_t
Add GetAdditiveColor to side_t
Export new methods and additive color arrays to ZScript

# Conflicts:
#	src/hwrenderer/scene/hw_sprites.cpp
#	src/hwrenderer/scene/hw_walls.cpp
#	src/hwrenderer/scene/hw_weapon.cpp

# Conflicts:
#	src/gl/scene/gl_walls_draw.cpp
#	src/gl/scene/gl_weapon.cpp
#	src/hwrenderer/scene/hw_flats.cpp
#	src/r_defs.h
2019-06-23 14:10:41 +02:00
Kevin Caccamo
1a29fb9616 Change some of the names of the additive color properties 2019-06-23 13:40:19 +02:00
Kevin Caccamo
ac1d23592e Update additive colour info in GZDoom UDMF specs 2019-06-23 13:39:49 +02:00
Kevin Caccamo
1027687d9f Add info about additive material colors to udmf_zdoom.txt 2019-06-23 13:39:46 +02:00
drfrag
e7ecdc9f9e - Fixed compilation but i don't think this will work. 2019-06-23 13:39:24 +02:00