3DSOUT.C File Reference

Go to the source code of this file.

Defines

#define DOS386
#define _X__FAR
#define PI   3.1415926
#define min(a, b)   ( ((a) < (b)) ? (a) : (b) )
#define max(a, b)   ( ((a) > (b)) ? (a) : (b) )
#define MINUNIT   2048L
#define MAXUNIT   4194304L
#define PI2   PI/2
#define DESELECTED   0
#define SELECTED   1
#define HIDDEN   2
#define INEDITOR   6

Typedefs

typedef struct tagMap3DS Map3DS

Functions

void WriteMapChunk (FILE *fi)
void Create3DSfile (FILE *fi)
BOOL WINAPI DllMain (HANDLE hDLL, DWORD dwReason, LPVOID lpReserved)
long _Export (HWND parent_window, char *filename, X__STRUCTURE *lpevi)


Define Documentation

#define DOS386

Definition at line 24 of file 3DSOUT.C.

#define _X__FAR

Definition at line 25 of file 3DSOUT.C.

#define PI   3.1415926

Definition at line 26 of file 3DSOUT.C.

#define min ( a,
 )     ( ((a) < (b)) ? (a) : (b) )

Definition at line 29 of file 3DSOUT.C.

#define max ( a,
 )     ( ((a) > (b)) ? (a) : (b) )

Definition at line 32 of file 3DSOUT.C.

#define MINUNIT   2048L

Definition at line 35 of file 3DSOUT.C.

#define MAXUNIT   4194304L

Definition at line 36 of file 3DSOUT.C.

#define PI2   PI/2

Definition at line 37 of file 3DSOUT.C.

#define DESELECTED   0

Definition at line 39 of file 3DSOUT.C.

#define SELECTED   1

Definition at line 40 of file 3DSOUT.C.

#define HIDDEN   2

Definition at line 41 of file 3DSOUT.C.

#define INEDITOR   6

Definition at line 42 of file 3DSOUT.C.


Typedef Documentation

typedef struct tagMap3DS Map3DS


Function Documentation

void WriteMapChunk ( FILE *  fi  ) 

Definition at line 153 of file 3DSOUT.C.

References L.

Referenced by Create3DSfile().

void Create3DSfile ( FILE *  fi  ) 

Definition at line 235 of file 3DSOUT.C.

References INEDITOR, L, lrulerx, lrulery, lrulerz, MainFp, MainSp, MainVp, MAXUNIT, Animator_SKELETON::name, Nface, Nvert, ruler, SELECTED, WriteMapChunk(), x, y, and z.

Referenced by _Export().

BOOL WINAPI DllMain ( HANDLE  hDLL,
DWORD  dwReason,
LPVOID  lpReserved 
)

Definition at line 433 of file 3DSOUT.C.

References DLL_PROCESS_ATTACH, DLL_PROCESS_DETACH, FALSE, hThisInstance, and TRUE.

long _Export ( HWND  parent_window,
char *  filename,
X__STRUCTURE lpevi 
)

Definition at line 453 of file 3DSOUT.C.

References colour, Create3DSfile(), lrulerx, lrulery, lrulerz, MAXUNIT, Nface, NvertSelect, ruler, X__Free, and X__Malloc.


Generated on Sun Apr 27 14:20:15 2014 for OpenFX by  doxygen 1.5.6