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
//-----------------------------------------------------------------------------
// 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