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
//-----------------------------------------------------------------------------
// Shield Declaration
//-----------------------------------------------------------------------------
#ifndef SHIELD_H
#define SHIELD_H
class Shield : public SceneObject
{
public:
Shield( float x, float y, float radius );
// The Shield UpdateShieldRadius creates the vetex buffer with
// the vertexes for the defined radius.
void UpdateShieldRadius( float radius );
void SetUpWeaponBody( float x, float y );
void DestroyWeaponBody( );
void Fire( float x, float y, float angle );
void Attach( );
void SetUpPhysics( float x, float y );
protected:
float m_radius;
float m_weaponRadius;
float m_shieldRadius;
bool m_active;
bool m_grow;
bool m_detatched;
};
#endif