/* MainControl.cpp Written by Matthew Fisher MainControl includes everything that changes often between applications, such as what meshes to load, and also determines what is rendered each frame. */ //All source files include Main.h #include "Main.h" const int XFileCount = 3; const int MeshCount = 3; void MainControl::LoadXFiles(GraphicsDevice &GD) { int i; XFiles.Allocate(3); XFiles[0].Load("", "hunt.x", GD, ((D3DGraphicsDevice*)(&GD))->GetDevice()); XFiles[1].Load("", "queen.x", GD, ((D3DGraphicsDevice*)(&GD))->GetDevice()); XFiles[2].Load("", "king.x", GD, ((D3DGraphicsDevice*)(&GD))->GetDevice()); for(i=0;i ", C.VecEye, 0, 20); //draw the camera position as text on the screen } void MainControl::FreeMemory() { }