30 Dec 2018
This commit is contained in:
parent
48aca00fae
commit
c8407e62ad
12
change.log
12
change.log
|
@ -16,6 +16,18 @@ VGUI: - a VGUI implementation code in xash.dll
|
|||
Memory: - a memory manager in xash.dll
|
||||
Physic: - a server physics code in xash.dll
|
||||
|
||||
build 4344
|
||||
|
||||
Render: added scroll-side effect on world surfaces like Doom (and for Doom Remake)
|
||||
Client: quake demos with invalid proto no more invoked Host_Error, just stopped.
|
||||
Render: implenet custom external palette for Quake Wrapper
|
||||
Render: disable luma-pixels for non-Quake palette
|
||||
Render: allow HD-textures on alias models
|
||||
Console: disable colored strings on non-luminance conchars to avoid color degradation
|
||||
ImageLib: more reliable alpha detection for .lmp images
|
||||
ImageLib: check 'conchars' image by matched size
|
||||
|
||||
|
||||
build 4312
|
||||
|
||||
Client: demos moved from folder that called "demos" into the root of gamefolder
|
||||
|
|
|
@ -293,10 +293,14 @@ qboolean Image_LoadLMP( const char *name, const byte *buffer, size_t filesize )
|
|||
{
|
||||
int numcolors;
|
||||
|
||||
if( fin[0] == 255 )
|
||||
for( i = 0; i < pixels; i++ )
|
||||
{
|
||||
image.flags |= IMAGE_HAS_ALPHA;
|
||||
rendermode = LUMP_MASKED;
|
||||
if( fin[i] == 255 )
|
||||
{
|
||||
image.flags |= IMAGE_HAS_ALPHA;
|
||||
rendermode = LUMP_MASKED;
|
||||
break;
|
||||
}
|
||||
}
|
||||
pal = fin + pixels;
|
||||
numcolors = *(short *)pal;
|
||||
|
|
Reference in New Issue