X-Git-Url: https://git.stderr.nl/gitweb?a=blobdiff_plain;f=ABM2%2FEngine%2FVideoUpdate.h;h=0bf5d4dd2823286ee0b8399da9147b482b0b6a79;hb=9ab93a814d8ce0cf4d40fbb627ad21a28d265bcc;hp=b8273c5eeff43d88ef163f6b147ed49da803da57;hpb=0835c5605c80efd286ccb7eff92fffc07689f359;p=matthijs%2FABM2.git diff --git a/ABM2/Engine/VideoUpdate.h b/ABM2/Engine/VideoUpdate.h index b8273c5..0bf5d4d 100755 --- a/ABM2/Engine/VideoUpdate.h +++ b/ABM2/Engine/VideoUpdate.h @@ -9,11 +9,9 @@ #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 { @@ -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_)