Click here to Skip to main content
15,896,063 members
Articles / Multimedia / DirectX

A Simple and Powerful Game Engine

Rate me:
Please Sign up or sign in to vote.
4.45/5 (17 votes)
23 Jul 20074 min read 91.7K   9.1K   74  
This article talks about a simple and powerful game engine to make game programming simpler
//Globals.CPP

/********************************************************

Description: Game Global variables.

Date: 1/7/2007

Auther: Shalom Keller

Contact: szkeller@gmail.com

Note:	If you find any bugs or you think that some thing 
		is wrong, Please send me an e-mail on it.

********************************************************/


#include "WinMain.h"
#include "DirectX3D.h"
#include "SZMLoader.h"
#include "InputSystem.h"
#include "DirectShow.h"
#include "DirectSound.h"
#include "D3DFont.h"

//////////////////////////////////////////////////////////
//
//////////////////////////////////////////////////////////
CDirectX3D g_DirectX3D;
GlobalData g_GlobalData;
CKeyboard g_Keyboard;
CMouse g_Mouse;
CDirectSound g_DirectSound;
CDirectShow g_DirectShow;
CD3DFont *g_pFont;

//////////////////////////////////////////////////////////
//
//////////////////////////////////////////////////////////
char g_Buffer[1000];

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article has no explicit license attached to it but may contain usage terms in the article text or the download files themselves. If in doubt please contact the author via the discussion board below.

A list of licenses authors might use can be found here


Written By
Systems Engineer
United States United States
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.

Comments and Discussions