Basic HTML version of Foils prepared July 5 98

Foil 154 PPT Slide

From FMS: Forces Modeling and Simulation Handout JSU HPC Summer Institute for Undergraduates, Jackson MS -- June 15 1998. by Wojtek Furmanski, Subhash Nair, Tom Pulikal


//Initialize DirectX components
static BOOL DXInit()
{
HRESULT hr;
DDSURFACEDESC ddsd; // Structures needed for Surfaces
DDSCAPS ddscaps;
//-----------Set up Direct Play------------------
// Get the service provider you want to use
DirectPlayEnumerate(DirectPlayEnumerateCallback, hwndApp);
// Create the DirectPlay object
CreateDirectPlayInterface();
// If you want to join a session, find it
if(joinSession)
FindSession();
// Join/Create a session
OpenSession();
// Create a player
MakePlayer();
DXInit():
Initializes & sets up the DirectX
part of our application
Setting up
DirectPlay
Continued...



© Northeast Parallel Architectures Center, Syracuse University, npac@npac.syr.edu

If you have any comments about this server, send e-mail to webmaster@npac.syr.edu.

Page produced by wwwfoil on Sat Nov 28 1998