gCAD3D 2.35
ds3_r.c File Reference

Read 3DS-File. More...

#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <math.h>

Macros

#define MAIN3DS   0x4D4D
 

Functions

static unsigned long read_char ()
 
static unsigned long read_short ()
 
static unsigned long read_long ()
 
static int read_string ()
 
static int read_mesh (unsigned long clen)
 
static int read_object (unsigned long clen)
 
static int read_edit (unsigned long clen)
 
int ds3_read (const char *filNam)
 

Variables

static FILE * fpi = NULL
 
static char txbuf [256]
 

Detailed Description

Read 3DS-File.

=====================================================
List_functions_start:
read_edit read 0x3D3D - records
List_functions_end:
=====================================================

Macro Definition Documentation

#define MAIN3DS   0x4D4D

Function Documentation

static unsigned long read_char ( )
static
static unsigned long read_short ( )
static
static unsigned long read_long ( )
static
static int read_string ( )
static
static int read_mesh ( unsigned long  clen)
static
static int read_object ( unsigned long  clen)
static
static int read_edit ( unsigned long  clen)
static
int ds3_read ( const char *  filNam)

Variable Documentation

FILE* fpi = NULL
static
char txbuf[256]
static