added 3dsx support

This adds 3dsx support
static functions won't work in file scope