view src/dmfiletmpl.h @ 2208:90ec1ec89c56

Revamp the palette handling in lib64gfx somewhat, add helper functions to lib64util for handling external palette file options and add support for specifying one of the "internal" palettes or external (.act) palette file to gfxconv and 64vw.
author Matti Hamalainen <ccr@tnsp.org>
date Fri, 14 Jun 2019 05:01:12 +0300
parents b01d04e44b6f
children
line wrap: on
line source

/*
 * DMLib
 * -- Plain streamed file I/O endianess functions
 * Programmed and designed by Matti 'ccr' Hamalainen
 * (C) Copyright 2011 Tecnic Software productions (TNSP)
 */

DM_DEFINE_FFUNC(le16, Uint16, LE16)
DM_DEFINE_FFUNC(le32, Uint32, LE32)
DM_DEFINE_FFUNC(le64, Uint64, LE64)

DM_DEFINE_FFUNC(be16, Uint16, BE16)
DM_DEFINE_FFUNC(be32, Uint32, BE32)
DM_DEFINE_FFUNC(be64, Uint64, BE64)