2023-03-20 10:43:44 +00:00
|
|
|
/* Copyright (c) 2013-2023 Jeffrey Pfau
|
2015-05-29 07:03:09 +00:00
|
|
|
*
|
|
|
|
* This Source Code Form is subject to the terms of the Mozilla Public
|
|
|
|
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
|
|
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
2023-03-20 10:43:44 +00:00
|
|
|
#ifndef M_IMAGE_EXPORT_H
|
|
|
|
#define M_IMAGE_EXPORT_H
|
2015-05-29 07:03:09 +00:00
|
|
|
|
2016-12-31 01:00:22 +00:00
|
|
|
#include <mgba-util/common.h>
|
2015-05-29 07:03:09 +00:00
|
|
|
|
2016-12-27 05:01:55 +00:00
|
|
|
CXX_GUARD_START
|
|
|
|
|
2015-05-29 07:03:09 +00:00
|
|
|
struct VFile;
|
|
|
|
|
2023-03-20 10:43:44 +00:00
|
|
|
bool mPaletteExportRIFF(struct VFile* vf, size_t entries, const uint16_t* colors);
|
|
|
|
bool mPaletteExportACT(struct VFile* vf, size_t entries, const uint16_t* colors);
|
2015-05-29 07:03:09 +00:00
|
|
|
|
2016-12-27 05:01:55 +00:00
|
|
|
CXX_GUARD_END
|
|
|
|
|
2015-05-29 07:03:09 +00:00
|
|
|
#endif
|