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
//-----------------------------------------------------------------------------
// SpaceShip Declaration
//-----------------------------------------------------------------------------
#ifndef SPACESHIP_H 
#define SPACESHIP_H  

class SpaceShip : public SceneObject 
{
public:
	
	SpaceShip( float x, float y );
	void Rotate( float angle );
	void Move( float x, float y );

	void SetUpPhysics( float x, float y );

	void FireShield();

	void AttachShield();

	/*void AddForce( b2Vec2 dir, float strength );*/

protected:
	Shield * m_Shield;
	bool m_shieldDetatched;
	float m_angle;
/*
	IDirect3DVertexBuffer9 * m_shieldVB;
	float m_shieldRadius;
	bool m_shieldActive;
	bool m_shieldGrow;
	bool m_shieldDetatched;
	D3DXMATRIX m_matShieldTranslation;
	D3DXMATRIX m_matShieldWorld;
	float m_shieldForceStrength;
	float m_shieldForceAngle;
*/ 	
};


#endif