					 /*-----------------------------------------------------+
					  |				          U3D3.h					    |
					  |														|
					  |	 C'est le Header de ma plateforme de developpement  |
					  |		  de U3D3 ( moteur 3d et gestion de moult		|
					  |           Truc pour faire de la bonne demo)		    |
					  |											            |
					  | 	U2^PoPsy TeAm 1999								|
					  +-----------------------------------------------------*/

#ifndef _U3D3_U3D3_H
#define _U3D3_U3D3_H


#ifdef TOOLU3D
	#include "3dsftk.h"		// lib pour lire les .3ds
#endif

#include "OSspec.h"

#include <stdio.h>

#include "pack.h"	// depuis la GTZLib !

#include "JpegLib.h"		// depuis Include de la JpegLib
#include "types.h"
#include "emess.h"
#include "MathMacro.h"
#include "vectu3d.h"
#include "memu3d.h"
#include "mat3x4.h"
#include "m44u3d.h"
#include "quat.h"
#include "textureu3d.h"
#include "material.h"
#include "Boundings.h"
#include "plan.h"
#include "Polygon.h"
#include "BTree.h"
#include "bsp.h"
#include "u3dfile.h"
#include "MotionKeys.h"
#include "spline.h"
#include "BSpline.h"
#include "hide.h"
#include "PFustrum.h"
#include "light.h"
#include "camera.h"
#include "cameraconv.h"
#include "umanager.h"
#include "Fpipe.h"
#include "polyprim.h"
#include "Rasteriz.h"
#include "Bitmap.h"
#include "video.h"

#include "Objet3d.h"
#include "Objet3dWire.h"
#include "ObjStaticLighting.h"
#include "ObjetBones.h"
#include "ObjetConv.h"

#include "lightConv.h"
#include "world3D.h"
#include "world3DConv.h"
#include "texmana.h"
#include "LmapsManager.h"
#include "lignes.h"
#include "datafile.h"
#include "clocku3d.h"
#include "2Dstuff.h"


void IniEnvironmentU3D3( Ufloat x, Ufloat y )	;
void KillEnvironmentU3D3()						;

//TextureManager	*SetActualTextureManager( TextureManager *tex )	;	// renvoie l'ancien Textremanager
MondeU3D		*SetActualMondeU3D( MondeU3D *monde )			;	// renvoie l'ancien monde3d
UManager		*SetActualManagerU3D( UManager *manager )		;	// renvoie l'ancien manager

//==================
// des TRES importantes Variables Globales !

extern UManager			*U3D3Manager		;
extern MondeU3D			*U3D3Monde3D		;
//extern TextureManager	*U3D3TexManager		;
extern DataManager		*U3D3DataManager	;
extern PolyPipeLine		*U3D3Pipeline		;
#ifdef _LMAPS
extern LightmapManager	*U3D3LightMapManager;
#endif

//==================

#endif