GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing github.com — formats/templates/triton/triton_hdv.bt at main · hogsy/formats Expand file tree/ Copy pathtriton_hdv.btMore file actions 44 lines (35 loc) · 847 Bytes / Copy pathtriton_hdv.btFile metadata and controls44 lines (35 loc) · 847 Bytes 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 // Triton, HDV format // Template created by Mark "hogsy" Sowden <[email protected]> struct hdv_header { char identity[ 32 ];// includes start indicator before text string uint32_t faceOffset; uint32_t vertOffset; uint32_t fileSize[ 2 ]; char unk0[ 8 ]; uint16_t numVerts; uint16_t version; uint16_t numFaces;// -2, due to some left-over data // the rest of this is unknown - skip to the face offsets once done here! }; struct hdv_face { char unk0[ 2 ]; uint8_t flags;// ? char unk1[ 9 ]; uint16_t vertices[ 4 ]; char unk2[ 16 ]; }; struct hdv_vertex { int32_t x; int32_t y; int32_t z; }; struct hdv_header header; // read in all verts FSeek( header.vertOffset ); struct hdv_vertex vertices[ header.numVerts ]; // read in all faces FSeek( header.faceOffset ); struct hdv_face faces[ header.numFaces ]; |
| You are visitor 01402877 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |