diff options
| author | relnev <relnev@5198baeb-e213-0410-be47-fc2ff85ca46f> | 2003-01-08 09:05:22 +0000 |
|---|---|---|
| committer | relnev <relnev@5198baeb-e213-0410-be47-fc2ff85ca46f> | 2003-01-08 09:05:22 +0000 |
| commit | 8efed35df02822682576bae088f5b6a5c78e8dc9 (patch) | |
| tree | da099501696fe5456a95e85c98d5b746176419ee /Source/Serialize.h | |
| parent | 9c22203ab6b1f6f61ec4b7c52a7c9c51da9e5844 (diff) | |
| download | blackshades-8efed35df02822682576bae088f5b6a5c78e8dc9.tar.gz | |
start of serialization
git-svn-id: svn://svn.icculus.org/blackshades/trunk@44 5198baeb-e213-0410-be47-fc2ff85ca46f
Diffstat (limited to 'Source/Serialize.h')
| -rw-r--r-- | Source/Serialize.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/Source/Serialize.h b/Source/Serialize.h new file mode 100644 index 0000000..b50aad3 --- /dev/null +++ b/Source/Serialize.h @@ -0,0 +1,12 @@ +#ifndef SERIALIZE_H +#define SERIALIZE_H + +/* these all read big-endian data */ + +int ReadShort(int fd, int count, short *s); +int ReadInt(int fd, int count, int *s); +int ReadFloat(int fd, int count, float *f); +int ReadXYZ(int fd, int count, XYZ *xyz); +int ReadTexturedTriangle(int fd, int count, TexturedTriangle *tt); + +#endif |
