Go to the source code of this file.
Defines | |
| #define | MODULE_SAPC |
| #define | _DSCRUCT_SUB 1 |
| #define | DOS386 |
| #define | _X__FAR |
| #define | PI 3.1415926 |
| #define | DEFAULT_SCALE (1024.0*8.0*2.0) |
Typedefs | |
| typedef struct tagEXTRAVERTEX3DS | extravertex3DS |
Functions | |
| BOOL CALLBACK | DlgProcScale (HWND hwnd, UINT msg, WPARAM wparam, LPARAM lparam) |
| BOOL CALLBACK | DlgProc (HWND hwnd, UINT msg, WPARAM wparam, LPARAM lparam) |
| void | UpdateProgress (FILE *) |
| void | rescale_model (short option, FILE *outfile) |
| void | GetActiveTextureIDs (char *matname) |
| void | ProcessChunk3ds (FILE *outfile, chunk3ds *chunk, ushort3ds indentlevel, skel *CurrentSp) |
| BOOL | Do3dsConvert (int argc, char **argv) |
Variables | |
| HWND | dlg |
| HWND | hWndParent |
| HINSTANCE | hInstance |
| int(* | X__pri )(const char *,...) |
| double | scale_3ds |
| int | silent_3ds |
| double | gmax [3] |
| double | gmin [3] |
| double | gcentre [3] |
| #define DEFAULT_SCALE (1024.0*8.0*2.0) |
| typedef struct tagEXTRAVERTEX3DS extravertex3DS |
| BOOL CALLBACK DlgProcScale | ( | HWND | hwnd, | |
| UINT | msg, | |||
| WPARAM | wparam, | |||
| LPARAM | lparam | |||
| ) |
| BOOL CALLBACK DlgProc | ( | HWND | hwnd, | |
| UINT | msg, | |||
| WPARAM | wparam, | |||
| LPARAM | lparam | |||
| ) |
| void UpdateProgress | ( | FILE * | ) |
Definition at line 120 of file 3DSCON.C.
References file_size, and hWndProgress.
Referenced by Do3dsConvert(), DxfLoad(), get_faces(), and get_vertices().
| void rescale_model | ( | short | option, | |
| FILE * | outfile | |||
| ) |
| void GetActiveTextureIDs | ( | char * | matname | ) |
| void ProcessChunk3ds | ( | FILE * | outfile, | |
| chunk3ds * | chunk, | |||
| ushort3ds | indentlevel, | |||
| skel * | CurrentSp | |||
| ) |
Definition at line 241 of file 3DSCON2.C.
References B, CreateFace, CreateImageMap, CreateMaterial, CreateSkeleton, CreateVertex, DEFAULT_SCALE, double, FALSE, GetActiveTextureIDs(), gmax, gmin, iMap, iMat, MainFp, MainSp, MainVp, N, Nedge, Nface, nImaps, nMats, R, T, UpdateEdgeHeap, UpdateFaceHeap, UpdateVertexHeap, x, X__Malloc, y, and z.
Referenced by Do3dsConvert().
| BOOL Do3dsConvert | ( | int | argc, | |
| char ** | argv | |||
| ) |
Definition at line 1320 of file 3DSCON2.C.
References dlg, FALSE, FirstSp, gmax, gmin, Nface, ProcessChunk3ds(), and rescale_model().
| HWND hWndParent |
| int(* X__pri)(const char *,...) |
| double scale_3ds |
| int silent_3ds |
| double gmax[3] |
Definition at line 58 of file 3DSCON2.C.
Referenced by Do3dsConvert(), ProcessChunk3ds(), and rescale_model().
| double gmin[3] |
Definition at line 58 of file 3DSCON2.C.
Referenced by Do3dsConvert(), ProcessChunk3ds(), and rescale_model().
| double gcentre[3] |
1.5.6