mirror of
https://notabug.org/scuti/lib3ddevil1
synced 2024-11-25 16:28:57 +05:30
21 lines
415 B
C
21 lines
415 B
C
#ifndef DEVIL1PLD_H
|
|
#define DEVIL1PLD_H
|
|
|
|
#include <stdint.h>
|
|
struct PldHeader {
|
|
int32_t numOffset;
|
|
// array of numOffset elements
|
|
uint32_t *offsets; // <format=hex>
|
|
};
|
|
|
|
// input: contents of the .pld file.
|
|
// allocates heap memory
|
|
struct PldHeader *getpldh(const char*);
|
|
|
|
// frees heap memory
|
|
void destroypldh(struct PldHeader*);
|
|
|
|
// input: a pld header struct.
|
|
void showpldh(struct PldHeader*);
|
|
|
|
#endif |