
/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
///																																  ///
///		FICHIER :	ZooSCOL.h																									  ///
///																																  ///
///		NATURE	:	Defines The SCOL functions and management of the Hash table   												  ///
///																																  ///
/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////






#ifndef __SURFACE_H__
#define __SURFACE_H__





#include	"..\SCOL\winuser.h"
#include	"..\Basic\ZooStd.h"

#include	"..\Basic\ZooDetect.h"



#define MAX_Z 1.0f

// Maximum length of the chosen device name and description of the 
// chosen Direct3D device. 

#define MAX_DEVICE_NAME			256
#define MAX_DEVICE_DESC			256
#define MAX_DEVICES_NUM			6

// Standard return values

#define COLORTRANSP 0x1

#define WIRE_MODE	1
#define SOLID_MODE	2
#define SPLINE_MODE	4


#define MX3D_RET_OK		2
#define MX3D_RET_FAIL	NIL


extern HGLRC	CreateMainContext();
extern HGLRC	mainglrc;


int		SCOLloadMX3d(mmachine m); // Loads all 3D API verbs.

int		createH3D(mmachine m, int adress, int hash_tab);
int		createHmatHtx(mmachine m, int adress, int hash_tab);

int		NodeTOHandle(mmachine m, int hash_tab, int adress);
int		DelObj(mmachine m, int hash_tab, int handle);





#include	"..\Basic\ZooScene.h"
#include	"..\Collision\ZooOldColl.h"
#include	"..\Loaders\M3D\ZooM3D.h"


#include	"..\SCOL\ext.h"
#include	"..\SCOL\objstr.h"
#include	<shlobj.h>


#include	"..\SCOL\winuser.h"
#include	"..\SCOL\macro.h"


#endif //#if !defined __SURFACE_H__


