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