Click here to Skip to main content
15,888,733 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.6K   9.1K   74  
This article talks about a simple and powerful game engine to make game programming simpler
//externals.h

#ifndef __externals_h_
#define __externals_h_
//////////////////////////////////////////////////////////
//
//////////////////////////////////////////////////////////
#include <AfxWin.h>
//#include <Windows.h>// If you replace the code that uses MFC, you can include Windows.h instead of AfxWin.h
#include <Stdio.h>
#include "externals.h"
#include "Dxerr8.h"
#include "WinMain.h"
#include "DirectX3D.h"
#include "SZMLoader.h"
#include "InputSystem.h"
#include "DirectShow.h"
#include "DirectSound.h"
#include "D3DFont.h"

//////////////////////////////////////////////////////////
//
//////////////////////////////////////////////////////////
#define DISPLAY_COLOR 207,225,245
//////////////////////////////////////////////////////////
//
//////////////////////////////////////////////////////////
extern char g_Buffer[1000];
extern CDirectX3D g_DirectX3D;
extern GlobalData g_GlobalData;
extern CSZM_Loader g_SZM_Loader;
extern CKeyboard g_Keyboard;
extern CMouse g_Mouse;
extern CDirectSound g_DirectSound;
extern CDirectShow g_DirectShow;
extern CD3DFont *g_pFont;

//////////////////////////////////////////////////////////
//
//////////////////////////////////////////////////////////
#endif

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