2
0
mirror of https://github.com/dpethes/rerogue.git synced 2025-06-07 18:58:32 +02:00

hmt parser: save texture images for image type 1

This commit is contained in:
dpethes 2014-10-20 16:10:08 +02:00
parent f185759871
commit 72f438b0d8

View File

@ -33,7 +33,7 @@ end;
procedure SaveImage(var image: TRSImage; const outname: string);
begin
case image.type_ of
0: pnm_save(outname + '.pnm', image.pixels, image.width, image.height);
0, 1: pnm_save(outname + '.pnm', image.pixels, image.width, image.height);
//3: WriteTga(outname + '.tga', image.pixels, image.width, image.height, image.width * image.height * 4);
4: pgm_save(outname + '.pgm', image.pixels, image.width, image.height);
else