X-Git-Url: https://git.stderr.nl/gitweb?a=blobdiff_plain;f=ABM2%2FEngine%2FVideoUpdate.cpp;h=e3f36c585e29616602c53f7f1f8fcd7b04afb29d;hb=75d4212e8548f64904bad6d7f8978c077e6687d0;hp=1d66b9cc39461de4c26f38eaee734301ffd11aaa;hpb=887e744e425c6c25fcfdbad863d3c9287ad91d93;p=matthijs%2FABM2.git diff --git a/ABM2/Engine/VideoUpdate.cpp b/ABM2/Engine/VideoUpdate.cpp index 1d66b9c..e3f36c5 100755 --- a/ABM2/Engine/VideoUpdate.cpp +++ b/ABM2/Engine/VideoUpdate.cpp @@ -7,16 +7,6 @@ #include "VideoUpdate.h" -// include the Direct3D Library file -#ifdef WIN32 -#pragma comment (lib, "d3d9.lib") -#pragma comment (lib, "d3dx9.lib") - -////////////////////////////////////////////////////////////////////// -// Construction/Destruction -////////////////////////////////////////////////////////////////////// -LPDIRECT3DDEVICE9 d3ddev; // the pointer to the device class -#endif //WIN32 CMMPointer > CVideoUpdate::screenWidth=0; CMMPointer > CVideoUpdate::screenHeight=0; CMMPointer > CVideoUpdate::screenBPP=0; @@ -24,7 +14,7 @@ int CVideoUpdate::scrWidth=640; int CVideoUpdate::scrHeight=480; int CVideoUpdate::scrBPP=16; -CVideoUpdate::CVideoUpdate() +CVideoUpdate::CVideoUpdate(CKernel* kernel) : ITask(kernel) { assert(screenWidth && screenHeight && screenBPP); this->g = new Graphics(scrWidth, scrHeight, 16, false);