[Ohrrpgce] SVN: teeemcee/12790 Try to avoid the pain of the render API's RGBPalette with masterpal_to_g
subversion at HamsterRepublic.com
subversion at HamsterRepublic.com
Thu Feb 17 21:27:43 PST 2022
teeemcee
2022-02-17 21:27:40 -0800 (Thu, 17 Feb 2022)
441
Try to avoid the pain of the render API's RGBPalette with masterpal_to_gfxpal kludge
I didn't want to remove RGBPalette because I think it'll be needed someday for
hardware accelerated rendering, but it's too obnoxious to use when the rest of
the codebase uses a RGBcolor FB array, and do all those expensive conversions.
Added unrollPalette16 so can use the render API with Palette16s
Deleted gfx_paletteCreate, can't imagine needing it.
---
U wip/allmodex.bas
U wip/allmodex.bi
U wip/backends.bas
U wip/common.rbas
U wip/surface.bi
U wip/surface.cpp
U wip/surface.h
More information about the Ohrrpgce
mailing list