* Increase the maximum FPS again to 20 FPS.
[matthijs/ABM2.git] / ABM2 / Engine / VideoUpdate.cpp
index bdbe563878bd7d7f8919dd73095dd1b834b8502f..b121c19ffc79893b8281e41c07cc357645d5e118 100755 (executable)
@@ -7,27 +7,17 @@
 #include "VideoUpdate.h"\r
 \r
 \r
-// include the Direct3D Library file\r
-#ifdef WIN32\r
-#pragma comment (lib, "d3d9.lib")\r
-#pragma comment (lib, "d3dx9.lib")\r
-\r
-//////////////////////////////////////////////////////////////////////\r
-// Construction/Destruction\r
-//////////////////////////////////////////////////////////////////////\r
-LPDIRECT3DDEVICE9 d3ddev;    // the pointer to the device class\r
-#endif //WIN32\r
 CMMPointer<Dator<int> > CVideoUpdate::screenWidth=0;\r
 CMMPointer<Dator<int> > CVideoUpdate::screenHeight=0;\r
 CMMPointer<Dator<int> > CVideoUpdate::screenBPP=0;\r
 int CVideoUpdate::scrWidth=640;\r
 int CVideoUpdate::scrHeight=480;\r
-int CVideoUpdate::scrBPP=16;\r
+int CVideoUpdate::scrBPP=24;\r
 \r
 CVideoUpdate::CVideoUpdate(CKernel* kernel) : ITask(kernel)\r
 {\r
        assert(screenWidth && screenHeight && screenBPP);\r
-       this->g = new Graphics(scrWidth, scrHeight, 16, false);\r
+       this->g = new Graphics(scrWidth, scrHeight, scrBPP, false);\r
 }\r
 \r
 CVideoUpdate::~CVideoUpdate()\r