| 1 | |
|---|
| 2 | #ifndef INCLUDED_LIB3DS_READWRITE_H |
|---|
| 3 | #define INCLUDED_LIB3DS_READWRITE_H |
|---|
| 4 | |
|---|
| 5 | |
|---|
| 6 | |
|---|
| 7 | |
|---|
| 8 | |
|---|
| 9 | |
|---|
| 10 | |
|---|
| 11 | |
|---|
| 12 | |
|---|
| 13 | |
|---|
| 14 | |
|---|
| 15 | |
|---|
| 16 | |
|---|
| 17 | |
|---|
| 18 | |
|---|
| 19 | |
|---|
| 20 | |
|---|
| 21 | |
|---|
| 22 | |
|---|
| 23 | |
|---|
| 24 | |
|---|
| 25 | |
|---|
| 26 | #ifndef INCLUDED_LIB3DS_TYPES_H |
|---|
| 27 | #include "types.h" |
|---|
| 28 | #endif |
|---|
| 29 | |
|---|
| 30 | #include <iostream> |
|---|
| 31 | using namespace std; |
|---|
| 32 | |
|---|
| 33 | #ifdef __cplusplus |
|---|
| 34 | extern "C" { |
|---|
| 35 | #endif |
|---|
| 36 | |
|---|
| 37 | extern LIB3DSAPI void setByteOrder(); |
|---|
| 38 | extern LIB3DSAPI Lib3dsByte lib3ds_byte_read(iostream *strm); |
|---|
| 39 | extern LIB3DSAPI Lib3dsWord lib3ds_word_read(iostream *strm); |
|---|
| 40 | extern LIB3DSAPI Lib3dsDword lib3ds_dword_read(iostream *strm); |
|---|
| 41 | extern LIB3DSAPI Lib3dsIntb lib3ds_intb_read(iostream *strm); |
|---|
| 42 | extern LIB3DSAPI Lib3dsIntw lib3ds_intw_read(iostream *strm); |
|---|
| 43 | extern LIB3DSAPI Lib3dsIntd lib3ds_intd_read(iostream *strm); |
|---|
| 44 | extern LIB3DSAPI Lib3dsFloat lib3ds_float_read(iostream *strm); |
|---|
| 45 | extern LIB3DSAPI Lib3dsBool lib3ds_vector_read(Lib3dsVector v, iostream *strm); |
|---|
| 46 | extern LIB3DSAPI Lib3dsBool lib3ds_rgb_read(Lib3dsRgb rgb, iostream *strm); |
|---|
| 47 | extern LIB3DSAPI Lib3dsBool lib3ds_string_read(char *s, int buflen, iostream *strm); |
|---|
| 48 | extern LIB3DSAPI Lib3dsBool lib3ds_byte_write(Lib3dsByte b, iostream *strm); |
|---|
| 49 | extern LIB3DSAPI Lib3dsBool lib3ds_word_write(Lib3dsWord w, iostream *strm); |
|---|
| 50 | extern LIB3DSAPI Lib3dsBool lib3ds_dword_write(Lib3dsDword d, iostream *strm); |
|---|
| 51 | extern LIB3DSAPI Lib3dsBool lib3ds_intb_write(Lib3dsIntb b, iostream *strm); |
|---|
| 52 | extern LIB3DSAPI Lib3dsBool lib3ds_intw_write(Lib3dsIntw w, iostream *strm); |
|---|
| 53 | extern LIB3DSAPI Lib3dsBool lib3ds_intd_write(Lib3dsIntd d, iostream *strm); |
|---|
| 54 | extern LIB3DSAPI Lib3dsBool lib3ds_float_write(Lib3dsFloat l, iostream *strm); |
|---|
| 55 | extern LIB3DSAPI Lib3dsBool lib3ds_vector_write(Lib3dsVector v, iostream *strm); |
|---|
| 56 | extern LIB3DSAPI Lib3dsBool lib3ds_rgb_write(Lib3dsRgb rgb, iostream *strm); |
|---|
| 57 | extern LIB3DSAPI Lib3dsBool lib3ds_string_write(const char *s, iostream *strm); |
|---|
| 58 | |
|---|
| 59 | #ifdef __cplusplus |
|---|
| 60 | } |
|---|
| 61 | #endif |
|---|
| 62 | #endif |
|---|