* Remove most unused WIN32 stuff.
[matthijs/ABM2.git] / ABM2 / Engine / VideoUpdate.cpp
index 1d66b9cc39461de4c26f38eaee734301ffd11aaa..e3f36c585e29616602c53f7f1f8fcd7b04afb29d 100755 (executable)
@@ -7,16 +7,6 @@
 #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
@@ -24,7 +14,7 @@ int CVideoUpdate::scrWidth=640;
 int CVideoUpdate::scrHeight=480;\r
 int CVideoUpdate::scrBPP=16;\r
 \r
-CVideoUpdate::CVideoUpdate()\r
+CVideoUpdate::CVideoUpdate(CKernel* kernel) : ITask(kernel)\r
 {\r
        assert(screenWidth && screenHeight && screenBPP);\r
        this->g = new Graphics(scrWidth, scrHeight, 16, false);\r