Subversion Repositories eduke32

Rev

Show changed files | Details | Compare with Previous | Blame | RSS feed

Filtering Options

Rev Age Author Path Log message Diff
8793 487d 18h hendricks266 /source/build/src/palette.cpp Replace hackish old PALETTE.DAT format detection with robust file length method  
8491 590d 22h hendricks266 /source/build/src/palette.cpp Replace color matching up to index 239 with the engine's fullbright mask

Should improve the color range available to non-Duke editors.
 
8490 590d 22h hendricks266 /source/build/src/palette.cpp Generate editorcolors[] from vgapal16[] at a better point in the startup process  
8488 590d 22h hendricks266 /source/build/src/palette.cpp Rename colmatch functions  
8487 590d 22h hendricks266 /source/build/src/palette.cpp Change PaletteIndexFullbrights from uint32_t[8] to uint8_t[32]  
8436 595d 19h hendricks266 /source/build/src/palette.cpp Fix the interpretation of old-format PALETTE.DAT

Backported from PCExhumed.
 
8433 595d 19h hendricks266 /source/build/src/palette.cpp Expose blackcol variable, containing the palette index closest to #000000

Backported from PCExhumed.
 
8432 595d 19h hendricks266 /source/build/src/palette.cpp Remove arbitrary check on numshades == 32

Backported from PCExhumed.
 
8300 617d 20h hendricks266 /source/build/src/palette.cpp SW: Fix an assertion failure in palette changing code  
8191 655d 5h terminx /source/build/src/palette.cpp Add fatal_exit(), a slightly different method of terminating the process upon error

On Windows, this writes an event to the system event log for later retrieval.
 
7705 771d 17h terminx /source/build/src/palette.cpp Added Xfree() function to accompany the Xmalloc() family of functions and change all uses of Bfree() to Xfree()

This was necessary because everything is already allocated with the Xmalloc() functions, but a future commit will make blocks allocated with those functions no longer compatible with the system implementation of free(), which Bfree() wraps.
 
7620 827d 18h pogokeen /source/build/src/palette.cpp Remove enabling/disabling of deprecated GL_TEXTURE_2D in Polymost.
For Polymer, temporarily workaround coupling with Polymost and usage of the fixed-function pipeline.
Additionally, fix typo in polymost_printtext256().
 
7359 887d 20h hendricks266 /source/build/src/palette.cpp Add buildvfs, abstraction layer for file I/O.

Currently it passes calls through to the system libraries as before.

Also adds an incomplete implementation on PhysFS.
 
7283 964d 3h terminx /source/build/src/palette.cpp Hendricks and I discussed "auto *" and we've come to the conclusion that it's bad form, so this corrects that.  
7139 1003d 21h hendricks266 /source/build/src/palette.cpp Refresh BUILDLIC copyright headers  
7130 1014d 5h terminx /source/build/src/palette.cpp Use range-based loops for simplicity  
6939 1117d 7h pogokeen /source/build/src/palette.cpp Support software renderer upscaling engine-side in sdlayer and sdlayer12 with various scaling factors (beyond just pixel doubling).
When glsurface is available, use GL to upscale the render buffer.
Additionally, fix build issues with sdlayer12 introduced by GLAD changes (r6656).
 
6932 1136d 14h pogokeen /source/build/src/palette.cpp glsurface.h/.cpp: change how the palette is handled and fix tinting/fading  
6919 1148d 10h pogokeen /source/build/src/palette.cpp When OpenGL is available, prefer using the new glsurface to blit the classic renderer's 8-bit buffer to the screen.  
6915 1150d 3h pogokeen /source/build/src/palette.cpp palette.cpp: don't call uploadbasepalette() if USE_OPENGL is not defined  

Show All