1/*
2 * LegacyClonk
3 *
4 * Copyright (c) 1998-2000, Matthes Bender (RedWolf Design)
5 * Copyright (c) 2017-2019, The LegacyClonk Team and contributors
6 *
7 * Distributed under the terms of the ISC license; see accompanying file
8 * "COPYING" for details.
9 *
10 * "Clonk" is a registered trademark of Matthes Bender, used with permission.
11 * See accompanying file "TRADEMARK" for details.
12 *
13 * To redistribute this file separately, substitute the full license texts
14 * for the above references.
15 */
16
17/* Another C4Group bitmap-to-surface loader and saver */
18
19#pragma once
20
21#include "C4ForwardDeclarations.h"
22
23#include <cstdint>
24
25class C4Surface;
26
27C4Surface *GroupReadSurface(C4Group &hGroup, uint8_t *bpPalette = nullptr);
28CSurface8 *GroupReadSurface8(C4Group &hGroup);
29C4Surface *GroupReadSurfacePNG(C4Group &hGroup);
30CSurface8 *GroupReadSurfaceOwnPal8(C4Group &hGroup);
31