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
//-----------------------------------------------------------------------------
// Box2D Wrapper Declaration.
// This will server as a wrapper for the Box2D library:
// http://box2d.org/
//-----------------------------------------------------------------------------
#ifndef B2DWRAP_H
#define B2DWRAP_H
class B2DWrapper {
public:
B2DWrapper();
~B2DWrapper();
/// Updates the Box2D System with the elapsed time.
/// @param elapsedTime since the previous frame
void Update( float elapsedTime );
/// Adds a new body to the Box2D physics system
/// @param b2BodyDef bodyDef of new body
/// @param b2ShapeDef shapeDef of new body
void AddBody( b2Body ** body, b2BodyDef * bodyDef, b2ShapeDef * shapeDef );
/// Removes a body from the Box2D physics system
/// @param b2BodyDef the bodyDef to remove
void RemoveBody( b2Body * body );
private:
b2AABB m_worldAABB;
b2World * m_world;
};
#endif