/*****************************************************************************
Name            :   frontend.h

Copyright       :   1992 by VideoLogic Limited. All rights reserved.
		    No part of this software, either material or conceptual
		    may be copied or distributed, transmitted, transcribed,
		    stored in a retrieval system or translated into any
		    human or computer language in any form by any means,
		    electronic, mechanical, manual or other-wise, or
		    disclosed to third parties without the express written
		    permission of VideoLogic Limited, HomePark Estate,
		    King's Langley, Hertfordshire, WD4 8LZ, U.K.

Description		:   Prototypes for frontend.cpp
Program Type    :   Microsoft Visual C++ V2	  
*****************************************************************************/


typedef struct _GLOBALVARS
{
	HBRUSH      hBrush;            // client areas colour 
	BYTE        keyColour;	       // actual colour used  

	sgl_colour	fogColour;	       // fog colour          

	float       fogDensity;		   

	int         lightNumber;       // number of lights        
	int         lightHandle[10];   // handle of light        
	int         lightType[10];	   // 0 = parallel, 1 = point 
	sgl_colour 	lightColour[10];
	sgl_bool    lightColoured[10];
	sgl_vector  lightDirection[10];
	sgl_vector  lightPosition[10];
	int         lightConcentration[10];
	sgl_bool    lightCastsShadows[10];
	sgl_bool    lightSmoothHighlights[10];

	sgl_colour  ambientColour;

	int	camTran, towTran, lightTran, lightMat;

}
GLOBALVARS;

long FAR PASCAL WndProc(HWND, UINT, UINT, LONG);
BOOL FAR PASCAL KeyMsgProc(HWND hWndDlg, WORD Message, WORD wParam, LONG lParam);
BOOL FAR PASCAL AboutMsgProc(HWND hWndDlg, WORD Message, WORD wParam, LONG lParam);

VOID CALLBACK TimerFunc(HWND, UINT, UINT, DWORD);
