Build 5670
SVN-
General
Make sprite tails and label borders purple if the sprite is blocking.
SVN handles and Git names are merged into one person.
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.
Minor change of scope of a couple variables. DONT_BUILD.
Add .ssi to the list of file extensions loaded automatically when passing a directory with -game_dir
Fix a bug where cvars of type CVAR_UINT couldn't be set to values larger than a signed int due to clamping by atoi/atol.
Play DUKE_GETWEAPON6 in cheat menu
Revert r5601 in its entirety. This fixes MIDI playback on Windows.
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)
Nuke some troublesome default texcache setting detection/enforcement in game.c that looks redundant anyway.
Move daskinloader into mdloadskin and clean up it and gloadtile_hi against one another.
Eliminate the need for separate manifests for 32-bit and 64-bit builds by specifying a wildcard for processorArchitecture attributes.
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.
Add BuildGLErrorCheck(), useful for debugging GL.
Rename HICR_NOCOMPRESS to HICR_NODOWNSIZE, CACHEAD_NOCOMPRESS to CACHEAD_NODOWNSIZE, DAMETH_NOCOMPRESS to DAMETH_NODOWNSIZE, and HICR_NOSAVE to HICR_NOTEXCOMPRESS.
Remove OS version guard. Unsupported versions will fail to run in the first place due to missing symbol errors.
Fix animsounds
Fix CON_IFCUTSCENE
Fix anim definition problem
Android crap. DONT_BUILD.
Add some debug assertions for the hash table stuff.
Limit -fno-lto-odr-type-merging to GCC 5.x
Fix r5548
"i needed to comment out line 111 in source/sdlmusic.c to be able to compile r5606"
Pause and resume sounds instead of just stopping them when opening menus or pausing the game.
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.
VS project fixes, DONT_BUILD.
Add SFLAG_REALCLIPDIST to bypass hard-coded clipdist fuckery based on xrepeat and picnum. This also changes some bad uses of A_CheckSpriteTileFlags() into A_CheckSpriteFlags() instead.
Bring out yer dead!
Fix Polymer wall updating
Fix animsounds error message. DONT_BUILD.
Cheap hack to let Mapster32 read the visibility parameter from gamestartup when parsing the CONs for sound definitions.
Fix switch/case regressions introduced in r5577.
Fix potential build failure when static inline G_CheckForSpace{Ceiling,Floor} are declared without namesdyn.h first being included.
Exposed by lunatic_game.c when LUNATIC=1.
Fix unused-parameter warnings.
Fix discarded-qualifiers warnings.
Fix cast-qual warnings having to do with L_RunString.
Clean up some cvar definitions.
"4 spaces originally
2 spaces now 0 idea how that even happened"
Fix problem with C-CON sector and wall structure access. Oops.
Minor cleanup. DONT_BUILD.
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.
I still make off-by-one errors because I am a horrible programmer. :D
Update scripts that make 7-Zip packages to enable solid archives for better compression. DONT_BUILD.
I'm either clever, or an idiot. Or both.
Enable -Wwrite-strings and fix all instances where string constants were passed to functions accepting a char ptr.
Use XXH64 functions for editor undo/redo when building for 64-bit.
Fix some ENet const issues. DONT_BUILD.
Update ENet to v1.3.13. DONT_BUILD.