Merge branch 'master' into zmusic_work

# Conflicts:
#	src/sound/music/i_musicinterns.h
This commit is contained in:
Christoph Oelckers 2019-09-30 17:48:34 +02:00
commit 2b87941d7d
3 changed files with 6 additions and 2 deletions

View file

@ -1359,7 +1359,8 @@ if( APPLE )
set_target_properties(zdoom PROPERTIES
LINK_FLAGS "${LINK_FRAMEWORKS}"
MACOSX_BUNDLE_INFO_PLIST "${CMAKE_CURRENT_SOURCE_DIR}/posix/osx/zdoom-info.plist" )
MACOSX_BUNDLE_INFO_PLIST "${CMAKE_CURRENT_SOURCE_DIR}/posix/osx/zdoom-info.plist"
XCODE_ATTRIBUTE_CODE_SIGN_IDENTITY "" )
# Dymanic libraries like libvulkan.dylib or libMoltenVK.dylib will be loaded by dlopen()
# if placed in the directory with the main executable

View file

@ -205,7 +205,10 @@ namespace swrenderer
int shade = LightVisibility::LightLevelToShade(lightlevel, foggy, thread->Viewport.get());
if (psprite)
{
visibility = 0;
shade -= 24 * FRACUNIT;
}
BaseColormap = basecolormap;
ColormapNum = GETPALOOKUP(visibility, shade);

View file

@ -68,7 +68,7 @@ class AltHud ui
if (IndexFont == NULL) IndexFont = ConFont; // Emergency fallback
invgem_left = TexMan.CheckForTexture("INVGEML1", TexMan.Type_MiscPatch);
invgem_left = TexMan.CheckForTexture("INVGEMR1", TexMan.Type_MiscPatch);
invgem_right = TexMan.CheckForTexture("INVGEMR1", TexMan.Type_MiscPatch);
tnt1a0 = TexMan.CheckForTexture("TNT1A0", TexMan.Type_Sprite);
fragpic = TexMan.CheckForTexture("HU_FRAGS", TexMan.Type_MiscPatch);
statspace = SmallFont.StringWidth("Ac:");