Build 6834
SVN-
Generale
Engine function name cleanup round 2
Nickname SVN e nomi Git sono unificati per persona.
Engine function name cleanup round 2
Fix NORM_(SPRITE|WALL|SECTOR) macros to use MAX$1 instead of ARRAY_SIZE, which would fail due to the structs not being statically allocated.
Patch prepared by Striker.
Temporarily remove the option to enable texture filtering when building with EDUKE32_STANDALONE until indexed colour texture rendering supports filtering.
Fix hitradius performance when affecting tons of walls
menus.cpp: disable palette emulation menu options when in Polymost and r_useindexedcolortextures is 1
menus.cpp: Allow setting anisotropy when not in Polymost regardless of whether r_useindexedcolortextures is set
polymost.cpp: fix shadeFactor not being set properly for non-indexed colour textures
center texel fetches for palette lookups and add various optimizations related to indexed texture changes
Polymost palette-indexed texture rendering
Add EVENT_DAMAGESPRITE, EVENT_POSTDAMAGESPRITE, EVENT_DAMAGEWALL, EVENT_DAMAGECEILING, and EVENT_DAMAGEFLOOR.
In these events, THISACTOR is the projectile (or source of damage), and RETURN is the sprite/wall/sector affected. Set RETURN to -1 to cancel any hardcoded effects. ud.return 1 through 5 are the parameters passed to hitradius if RADIUSEXPLOSION is the source of the damage. ud.return 1 is -1 otherwise. New tokens "damageeventtile" and "damageeventtilerange" or tiledata[].gameflags & SFLAG_DAMAGEEVENT to enable processing for receivers with corresponding tilenums. CON commands to replicate hardcoded effects (beyond switching tilenums, such as spawning glass) are forthcoming. Use of EVENT_DAMAGEHPLANE is hereby discouraged. Patch from Striker, based on work by Fox.
Fix smoothness of q16 mouse aiming
Fix Polymer issues introduced with change to Q16.16 view angles
Re-allow negative hitags on crack sprites.
Fix "too many sprites spawned" check
polymost.cpp: fix polymost_dorotatesprite() issue where sprites could be rendered with fractional positions and sizes leading to GL filtering imperfections.
workaround for texcache expecting all mipmap levels to be available
Fix building on Visual Studio after GLAD & Polymost changes
fix typo causing bug where persistentStreamBuffer was being reset to the config value when it should be disabled
fix bug where polymost2_drawVBO() wouldn't reset the bound buffer state properly for polymost1
adjust parenthesis to cease compiler warnings
streaming VBO optimizations for polymost_drawpoly()
polymost_dorotatesprite(): fix for Polymer bug introduced by Polymost drawarrays optimization
Moved BUILD engine defined CSTAT enums into the BUILD engine side of the code base.
Fix overflow issue with tsprite shade of gibs.
Patch from Fox.
Display sprite shadows in Polymer if dynamic lighting is disabled.
Patch from Fox.
Fix the aspect of save thumbnails in Polymost / Polymer in widescreen.
Patch from Fox.
Fix visibility in Polymer with r_usenewshading 4 and palette emulation off.
Move some visibility-related constants from Polymer "core" code elsewhere. Patch from Fox.
Revert the parts of r3159 corresponding to redefining lotag and hitag as unsigned, so that they are once again signed.
Any issues in Duke's code relating to misunderstanding these types are now restricted to Duke itself rather than changing the engine and potentially introducing new issues in all Build games.