lib3ddevil1/include/devil1pld.h

18 lines
348 B
C
Raw Normal View History

#ifndef DEVIL1PLD_H
#define DEVIL1PLD_H
#include <stdint.h>
#pragma pack(1)
struct PldHeader {
int32_t numOffset;
// array of numOffset elements
uint32_t *offsets; // <format=hex>
};
// input: a pld header struct.
void showpldh(struct PldHeader *);
// input: contents of the .pld file.
struct PldHeader *getpldh(const char*);
#endif