diff options
| author | relnev <relnev@5198baeb-e213-0410-be47-fc2ff85ca46f> | 2003-01-08 13:03:38 +0000 |
|---|---|---|
| committer | relnev <relnev@5198baeb-e213-0410-be47-fc2ff85ca46f> | 2003-01-08 13:03:38 +0000 |
| commit | 55e638b22eccb89c9ff026fb8ba0801957ad1a42 (patch) | |
| tree | 24fb983ea6d6a696435ae5a0492d348ece3aaf93 /Source/Serialize.cpp | |
| parent | 6ce9f5135f84b2e09fd58bce31d1cee946bb462f (diff) | |
| download | blackshades-55e638b22eccb89c9ff026fb8ba0801957ad1a42.tar.gz | |
minor cleanups
git-svn-id: svn://svn.icculus.org/blackshades/trunk@50 5198baeb-e213-0410-be47-fc2ff85ca46f
Diffstat (limited to 'Source/Serialize.cpp')
| -rw-r--r-- | Source/Serialize.cpp | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/Source/Serialize.cpp b/Source/Serialize.cpp index cc92897..0080ccc 100644 --- a/Source/Serialize.cpp +++ b/Source/Serialize.cpp @@ -19,6 +19,8 @@ int ReadBool(int fd, int count, bool *b) b++; } + + return 1; } int ReadShort(int fd, int count, short *s) @@ -34,6 +36,8 @@ int ReadShort(int fd, int count, short *s) s++; } + + return 1; } int ReadInt(int fd, int count, int *s) @@ -49,6 +53,8 @@ int ReadInt(int fd, int count, int *s) s++; } + + return 1; } union intfloat { @@ -67,6 +73,8 @@ int ReadFloat(int fd, int count, float *f) f++; } + + return 1; } int ReadXYZ(int fd, int count, XYZ *xyz) @@ -78,6 +86,8 @@ int ReadXYZ(int fd, int count, XYZ *xyz) xyz++; } + + return 1; } int ReadTexturedTriangle(int fd, int count, TexturedTriangle *tt) @@ -90,4 +100,6 @@ int ReadTexturedTriangle(int fd, int count, TexturedTriangle *tt) tt++; } + + return count; } |
