Subversion Repositories eduke32

Rev

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

Filtering Options

Rev Age Author Path Log message Diff
8793 572d 7h hendricks266 /source/build/src/palette.cpp Replace hackish old PALETTE.DAT format detection with robust file length method  
8491 675d 11h 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 675d 11h hendricks266 /source/build/src/palette.cpp Generate editorcolors[] from vgapal16[] at a better point in the startup process  
8488 675d 11h hendricks266 /source/build/src/palette.cpp Rename colmatch functions  
8487 675d 11h hendricks266 /source/build/src/palette.cpp Change PaletteIndexFullbrights from uint32_t[8] to uint8_t[32]  
8436 680d 8h hendricks266 /source/build/src/palette.cpp Fix the interpretation of old-format PALETTE.DAT

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

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

Backported from PCExhumed.
 
8300 702d 9h hendricks266 /source/build/src/palette.cpp SW: Fix an assertion failure in palette changing code  
8191 739d 18h 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 856d 6h 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 912d 7h 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 972d 9h 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 1048d 16h 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 1088d 10h hendricks266 /source/build/src/palette.cpp Refresh BUILDLIC copyright headers  
7130 1098d 18h terminx /source/build/src/palette.cpp Use range-based loops for simplicity  
6939 1201d 20h 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 1221d 3h pogokeen /source/build/src/palette.cpp glsurface.h/.cpp: change how the palette is handled and fix tinting/fading  
6919 1232d 23h 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 1234d 16h pogokeen /source/build/src/palette.cpp palette.cpp: don't call uploadbasepalette() if USE_OPENGL is not defined  

Show All