raze/polymer/eduke32
helixhorned ebbb3e304d Tweak the conditions under which setbrightness() invalidates GL textures.
Previously, we checked whether the faded palette has changed (by way of CRC)
and invalidated the textures then unless the preserve flags were set.  This
however could lead to wrongly invalidating them under unfortunate circumstances,
e.g. basepal change from CON + tints at the same time before r2620 which
reverted r2232.

Now, only invalidate them if the corresponding preserve flags are clear AND
 * the base palette has really changed OR
 * the palette CRC changed and we were running on software gamma
The latter means that performance-killing invalidations may still happen on
GL platforms lacking HW gamma (for ATI, it's currently only disabled in 8-bit
fullscreen).

Also have a new global 'basepalreset' to fake a basepal change for
setbrightness(), currently used when changing renderers so that going from
Polymer to Polymost and back again will invalidate the Polymer textures
on the second change, potentially re-applying a basepal highpal. (Still
with me?)

git-svn-id: https://svn.eduke32.com/eduke32@2636 1a8010ca-5511-0410-912e-c29ae57300e0
2012-05-05 22:22:34 +00:00
..
Apple numgrpfiles --> NUMGRPFILES in Apple/GameListSource.game.m 2012-03-28 19:44:14 +00:00
build Tweak the conditions under which setbrightness() invalidates GL textures. 2012-05-05 22:22:34 +00:00
eobj
eobj_win
installer
obj
obj_win
psd Add the source .psd files for the EDuke32 logo and program icon to the repository. Though they are .psd, they are effectively vector because they utilize paths. 2012-02-25 02:57:59 +00:00
rsrc cosmetic: 2012-02-25 02:57:25 +00:00
samples Add samples/aspect.map for calibrating aspect-related settings and testing. 2012-04-09 19:22:15 +00:00
source Gray out CONTRAST and BRIGHTNESS sliders if no hardware gamma is available. 2012-05-05 22:22:19 +00:00
Windows Fix building ebacktrace1.dll with versions of binutils/libbfd after 2.20.51-1. This removes the need to link and depend on libintl (for now). 2012-03-05 07:25:55 +00:00
backtrace.dll
buildlic.txt
ChangeLog
ChangeLog.html
eduke32.sln
eduke32.vcproj
eduke32.vcxproj Multiplayer improvements 2011-02-25 21:50:19 +00:00
eduke32.vcxproj.filters Multiplayer improvements 2011-02-25 21:50:19 +00:00
eduke32.vcxproj.user
GNU.TXT
libiconv2.dll
libintl3.dll
m32help.hlp * Lazy hightile loading in Mapster32 tile selector (first display all as lowtiles, then load each one while allowing movement) 2011-03-23 17:41:01 +00:00
MakeDistributions
Makefile Some leftover stuff from the Wii patch. 2012-05-01 12:41:35 +00:00
Makefile.common Makefile.common: comment out usage of llvm versions of ar and ranlib with clang. 2012-03-26 22:03:51 +00:00
Makefile.deps Trivial stuff that got accumulated and not committed. 2012-03-13 20:07:40 +00:00
Makefile.msvc Fix the MSVC build, common.c was only added to the GNU Makefile. 2012-04-01 00:26:01 +00:00
names.h add two tile labels which Todd forgot to move from GAME.CON to DEFS.CON and therefore did not make it to names.h 2011-08-20 23:27:46 +00:00
nedmalloc.dll Rebuild nedmalloc.dll using newest git sources 2012-02-19 04:07:14 +00:00
osxbuild.sh osxbuild.sh: more options and designation of presets 2012-03-26 05:07:42 +00:00
SEHELP.HLP
STHELP.HLP
tiles.cfg move tiles.cfg out of eduke32/samples/ into eduke32/ and update synthesis.sh to reflect that 2011-07-28 21:12:02 +00:00