You are viewing the NetWars Project

The entrance (WinMain) to the application is in NetWars.cpp. It is currently utilizing DirectX, D3DX, XInput (360 controller), Box2D and eventually Enet for networking.

Last Updated 5/30/08

B2DWrapper.cpp
B2DWrapper.h
Engine.cpp
Engine.h
GameBorder.cpp
GameBorder.h
LinkedList.h
NetWars.cpp
NetWars.h
SceneObject.cpp
SceneObject.h
Shield.cpp
Shield.h
SimpleWindow.cpp
SimpleWindow.h
SpaceShip.cpp
SpaceShip.h
UserInput.cpp
UserInput.h

Zips :
The zip file contains the exe and the dll's needed to run the application.

NetWars.zip


Syntax Highlighting by: SyntaxHighlighter
//-----------------------------------------------------------------------------
// simpleWindow Declaration
//-----------------------------------------------------------------------------
#ifndef SIMPLEWINDOW_H
#define SIMPLEWINDOW_H

#pragma once

#define WIN32_LEAN_AND_MEAN		// Exclude rarely-used stuff from Windows header

class SimpleWindow{
public:
	
	SimpleWindow( HINSTANCE instance );
	~SimpleWindow();
	
	RECT GetRect();
	HINSTANCE GetInstance();
	HWND GetHandle();
	void Show();

private:
	int m_width;
	int m_height;
	wchar_t * m_name;
	wchar_t * m_class;
	RECT m_winRect;
	HWND m_WindowHWND;
	HINSTANCE m_instance; // the simpleWindow's instance. 

};

LRESULT CALLBACK WindowProc( HWND hwnd, UINT uMsg,WPARAM wParam, LPARAM lParam);

#endif