Skip to content

POD File Format Derivates

Jon Daniel edited this page Oct 9, 2024 · 82 revisions

EPD POD1 POD2 POD3 POD4 POD5 POD6 Terminal Reality Home

const std::pair<const char*, const char*> ident[last] =
{
     {"NONE", "\0NONE"},
     {"POD1", "\0POD1"},
     {"POD2", "POD2\0"},
     {"POD3", "POD3\0"},
     {"POD4", "POD4\0"},
     {"POD5", "POD5\0"},
     {"POD6", "POD6\0"},
     {"EPD" , "dtxe\0"}
};
const std::pair<u32<1>, enum section> checksum[last] =
{
     { 0u                                                                      , section::none   },
     { sizeof(tr::pod<1>::header)                                              , section::file   },
     { sizeof(tr::pod<2>::header::ident) + sizeof(tr::pod<2>::header::checksum), section::file   },
     { sizeof(tr::pod<3>::header::ident) + sizeof(tr::pod<3>::header::checksum), section::header },
     { sizeof(tr::pod<4>::header::ident) + sizeof(tr::pod<4>::header::checksum), section::header },
     { sizeof(tr::pod<5>::header::ident) + sizeof(tr::pod<5>::header::checksum), section::header },
     { sizeof(tr::pod<6>::header)                                              , section::file   },
     { sizeof(tr::epd::header)                                                 , section::file   },
};

Clone this wiki locally