mirror of
https://github.com/ZDoom/Raze.git
synced 2025-05-29 16:31:43 +00:00
- 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:
parent
bf761af9aa
commit
29d990991b
65 changed files with 17 additions and 5 deletions
|
@ -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);
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue