Build 5694
SVN-
Fix shading on ART tiles with fullbrights displayed without masking, such as on a whitewall.
SVN handles and Git names are merged into one person.
Fix shading on ART tiles with fullbrights displayed without masking, such as on a whitewall.
Clean up texcache_enabled.
Fix drawing voxels with ids >= 256
Make sprite tails and label borders purple if the sprite is blocking.
Fix Mapster32 sprite selection colors when using a tiles.cfg that defines tile groups using colors from the bright half of the original 16-color palette.
In layman's terms, this fixes the effect sprites flashing black in 2d mode.
Don't squish the player in lotag 1 sectors that have a SE7.
Add one-bit alpha detection for hightile and model skins.
Add r_texcompr 2, which compresses ART in addition to hightile.
Add HICR_ARTIMMUNITY and DAMETH_ARTIMMUNITY, which currently function identically to NOTEXCOMPRESS and NODOWNSIZE combined, and are only used when:
1. Using an ART tile 2. Using a hightile defined through the tilefromtexture "texture" subtoken 3. Using a hightile that, if downsized, will be smaller than the ART tile for that tilenum (tenuous)
Move daskinloader into mdloadskin and clean up it and gloadtile_hi against one another.
Refactor all GL internal texture format decision making into uploadtexture().
This directly achieves the following: * Eliminated codedup. * Recently introduced GL ES performance downsampling now applies to model skins. * Replaces the alpha/art format distinction with {RGB/no alpha, RGBA/one-bit alpha (ART transparency), RGBA/full alpha}. * Cleanly allows multiple fallback formats for each type. * Ready for further commits.
Rename HICR_NOCOMPRESS to HICR_NODOWNSIZE, CACHEAD_NOCOMPRESS to CACHEAD_NODOWNSIZE, DAMETH_NOCOMPRESS to DAMETH_NODOWNSIZE, and HICR_NOSAVE to HICR_NOTEXCOMPRESS.
Fix Polymost issue reported at https://forums.duke4.net/topic/8470-weirdness-of-players-sprite-in-view-modef7/
Implement Mapster32's CON_FOR into EDuke32.
Fix Polymer wall updating
Cheap hack to let Mapster32 read the visibility parameter from gamestartup when parsing the CONs for sound definitions.
Fix problem with C-CON sector and wall structure access. Oops.
Fix issue with the info message for toggling floor texture expansion bit in Mapster32 only reading the value from the sector's ceiling instead of what you were actually pointing at.
Introduce USE_GLEXT macro and use it to conditionally compile out all GL ARB function calls when compiling for GL ES platforms.
This replaces the previous hack where we kept the dynamic pointers null and simply never tried calling any of them by a conspiracy of default runtime settings and disabled menu options. Code affected: VBO support for models, VPX GLSL decoding, texture compression (texture cache), and multitexturing (glow/detail maps). This commit also replaces EDUKE32_GLES conditionals with USE_GLEXT where appropriate. I didn't touch polymer.c because it depends too heavily on extensions for conditionally compiling them to make sense.
Fix POLYMER=0 warnings introduced in r5496.