X-Git-Url: https://git.stderr.nl/gitweb?a=blobdiff_plain;f=ABM2%2FEngine%2FVideoUpdate.h;h=0bf5d4dd2823286ee0b8399da9147b482b0b6a79;hb=887e744e425c6c25fcfdbad863d3c9287ad91d93;hp=a859bd163b56c73ff0cd03171d9a5b520f2848df;hpb=357a451150c18b27f99cecd5f9d13be1ae5a9fdf;p=matthijs%2FABM2.git diff --git a/ABM2/Engine/VideoUpdate.h b/ABM2/Engine/VideoUpdate.h index a859bd1..0bf5d4d 100755 --- a/ABM2/Engine/VideoUpdate.h +++ b/ABM2/Engine/VideoUpdate.h @@ -9,13 +9,10 @@ #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: @@ -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_)