- dug out Dynamo's BigFont for Exhumed from the forum.

This is not the font from GDX, it was a separate creation. The only character in here from GDX is the question mark because it was missing.
This commit is contained in:
Christoph Oelckers 2020-09-08 01:12:23 +02:00
parent bf761af9aa
commit 29d990991b
65 changed files with 17 additions and 5 deletions

View file

@ -40,6 +40,7 @@
#include "templates.h"
#include "palettecontainer.h"
#include "files.h"
#include "c_dispatch.h"
PaletteContainer GPalette;
FColorMatcher ColorMatcher;
@ -820,4 +821,15 @@ bool FRemapTable::AddColors(int start, int count, const uint8_t*colors, int tran
}
CCMD(exportpalette)
{
FILE* f = fopen("palette.pal", "wb");
if (!f) return;
for (int i = 0; i < 256; i++)
{
fputc(GPalette.BaseColors[i].r, f);
fputc(GPalette.BaseColors[i].g, f);
fputc(GPalette.BaseColors[i].b, f);
}
fclose(f);
}