Main Page   Namespace List   Class Hierarchy   Compound List   File List   Compound Members   File Members  

main.cpp File Reference

#include "..\GraphX\Headers\GXStandardDefines.h"
#include "..\GraphX\Headers\GXExports.h"
#include "..\GraphX\Headers\GXBitmapLand.h"
#include "..\GraphX\Headers\GXDeviceContainer.h"
#include "..\GraphX\Headers\GXFirstPersonMovement.h"
#include "..\GraphX\Headers\GXMiscD3DFunctions.h"
#include "..\GraphX\Headers\GXLandRenderer.h"
#include "..\GraphX\Headers\GXWater.h"
#include "..\GraphX\Headers\GXLandGenerator.h"
#include "..\GraphX\Headers\GXSky.h"
#include "..\GraphX\Headers\GXWindow.h"
#include "..\GraphX\Headers\GXGraphicsEngine.h"
#include "Resource.h"
#include "time.h"

Compounds

struct  SLandImport
struct  SLandOptions

Defines

#define GXLAND_FILE_MAX   256
#define STRAFE_AMT   10.0f
#define LK_AMT   0.1f

Functions

int WINAPI WinMain (HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpCmdLine, int nCmdShow)
LRESULT WINAPI MsgProc (HWND hWnd, UINT msg, WPARAM wParam, LPARAM lParam)
void Error (char *szError)
void Exit ()
bool OpenFileDiag (bool bSave, char *szOut, char *szExt)
void OnFileOpen (CGXLandRenderer *pLand)
void OnExit ()
void OnImport (CGXLandRenderer *, CGXDeviceContainer *pDevice)
void OnDisplayStats (SLandOptions *pOptions)
void OnUseNormalMap (SLandOptions *pOptions)
void OnUseColorMap (SLandOptions *pOptions)
void OnGenerate ()
void LandOnMouseMove (SLandOptions *pOptions, CGXDeviceContainer *pDevice, CGXFirstPersonMovement *pMover, float fX, float fY)
void AddModel ()
void OnFileSave (CGXBitmapLand *pLand)

Variables

CGXGraphicsEngine g_Engine
SLandOptions g_Options
SLandImport g_ImportOptions

Define Documentation

#define GXLAND_FILE_MAX   256
 

#define LK_AMT   0.1f
 

#define STRAFE_AMT   10.0f
 


Function Documentation

void AddModel (    ) 
 

void Error (  char *    szError ) 
 

void Exit (    ) 
 

void LandOnMouseMove (  SLandOptions *    pOptions,
CGXDeviceContainer *    pDevice,
CGXFirstPersonMovement *    pMover,
float    fX,
float    fY
) 
 

LRESULT WINAPI MsgProc (  HWND    hWnd,
UINT    msg,
WPARAM    wParam,
LPARAM    lParam
) 
 

void OnDisplayStats (  SLandOptions *    pOptions ) 
 

void OnExit (    ) 
 

void OnFileOpen (  CGXLandRenderer *    pRenderer ) 
 

void OnFileSave (  CGXBitmapLand *    pLand ) 
 

void OnGenerate (    ) 
 

void OnImport (  CGXLandRenderer *    pRenderer,
CGXDeviceContainer *    pDevice
) 
 

void OnUseColorMap (  SLandOptions *    pOptions ) 
 

void OnUseNormalMap (  SLandOptions *    pOptions ) 
 

bool OpenFileDiag (  bool    bSave,
char *    szOut,
char *    szExt
) 
 

int WINAPI WinMain (  HINSTANCE    hInstance,
HINSTANCE    hPrevInstance,
LPSTR    lpCmdLine,
int    nCmdShow
) 
 


Variable Documentation

CGXGraphicsEngine g_Engine
 

SLandImport g_ImportOptions
 

SLandOptions g_Options
 


Generated on Thu May 23 17:51:00 2002 by doxygen1.2.11.1 written by Dimitri van Heesch, © 1997-2001