X-Git-Url: https://git.stderr.nl/gitweb?a=blobdiff_plain;f=ABM2%2FEngine%2FVideoUpdate.h;h=5ed88bbf7902923e0f017d0a6c313bdfd728d996;hb=c100d6f67b06abb348319e277a66b6b7ab0c4bd5;hp=b8273c5eeff43d88ef163f6b147ed49da803da57;hpb=0835c5605c80efd286ccb7eff92fffc07689f359;p=matthijs%2FABM2.git diff --git a/ABM2/Engine/VideoUpdate.h b/ABM2/Engine/VideoUpdate.h index b8273c5..5ed88bb 100755 --- a/ABM2/Engine/VideoUpdate.h +++ b/ABM2/Engine/VideoUpdate.h @@ -9,16 +9,14 @@ #pragma once #endif // _MSC_VER > 1000 -#include -#include +#include +#include -#include "engine.h" -extern LPDIRECT3DDEVICE9 d3ddev; // the pointer to the device class class CVideoUpdate : public ITask { public: - CVideoUpdate(); + CVideoUpdate(CKernel* kernel); virtual ~CVideoUpdate(); AUTO_SIZE; @@ -29,9 +27,9 @@ public: void Update(); void Stop(); + Graphics* getGraphics() { return this->g; } private: - LPDIRECT3D9 d3d; // the pointer to our Direct3D interface + Graphics *g; }; - #endif // !defined(AFX_VIDEOUPDATE_H__FB4B263B_4FA7_4700_BB70_EE5CB1768E83__INCLUDED_)