///////////////////////////////////////////////////////////////////////////////
// loaders3d.h                         (mobydisk@home.com, http://mobydisk.com)
//
// - Object3D/ObjectSet3D loaders
//
///////////////////////////////////////////////////////////////////////////////
// Copyright (C) 2000 William Garrison
//
// This program is free software; you can redistribute it and/or modify it under
// the terms of the GNU General Public License as published by the Free Software
// Foundation; either version 2 of the License, or (at your option) any later
// version. This program is distributed in the hope that it will be useful, but
// WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
// FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
// details. 
///////////////////////////////////////////////////////////////////////////////
#pragma warning(disable:4786)

#ifndef __loaders3d_h
#define __loaders3d_h

#include "geometry3d.h"
#include <map>
#include <string>

namespace geoGL {

// Types for texture name map
typedef std::map<std::string,GLenum> TextureNameMap;
typedef TextureNameMap::iterator     TextureNameIterator;

// Map mapping texture names to texture ID numbers
extern TextureNameMap mapTextures;   // Global map of texture names to IDs

// 3D Studio ASC loader
ObjectSet3D LoadASC(char *filename, char *objectName, bool center);   
// 3some object loader
ObjectSet3D Load3SO(char *filename, char *objectName, bool center);

} // geoGL

#endif // __loaders3d_h