2022-09-29 20:41:24 +00:00
|
|
|
#include "macunpack.h"
|
|
|
|
#ifdef STF
|
2022-09-29 17:52:53 +00:00
|
|
|
|
|
|
|
#include <stdint.h>
|
|
|
|
|
2018-03-23 00:30:02 +00:00
|
|
|
#define MAGIC "RTH"
|
|
|
|
|
|
|
|
#define S_MAGIC 0
|
|
|
|
#define S_FLENGTH 3
|
|
|
|
#define S_RSRCLNGTH 3 /* + NAMELENGTH */
|
|
|
|
#define S_DATALNGTH 7 /* + NAMELENGTH */
|
|
|
|
|
2022-09-29 20:41:24 +00:00
|
|
|
typedef struct stf_fileHdr {
|
2018-03-23 00:30:02 +00:00
|
|
|
char magic[3];
|
|
|
|
char flength;
|
|
|
|
char fname[32]; /* actually flength */
|
2022-09-29 17:52:53 +00:00
|
|
|
uint32_t rsrcLength;
|
|
|
|
uint32_t dataLength;
|
2022-09-29 20:41:24 +00:00
|
|
|
} stf_fileHdr;
|
|
|
|
|
2022-09-29 17:52:53 +00:00
|
|
|
void stf (uint32_t ibytes);
|
2022-09-29 20:41:24 +00:00
|
|
|
#endif
|