X-Git-Url: https://git.stderr.nl/gitweb?p=matthijs%2FABM2.git;a=blobdiff_plain;f=ABM2%2FEngine%2FVideoUpdate.h;fp=ABM2%2FEngine%2FVideoUpdate.h;h=0bf5d4dd2823286ee0b8399da9147b482b0b6a79;hp=e0f4bc212fc934fb00eb6d128da67e8d653259d7;hb=887e744e425c6c25fcfdbad863d3c9287ad91d93;hpb=b5abb5111b87fc7973c1e3f3f989e4adc92362d6 diff --git a/ABM2/Engine/VideoUpdate.h b/ABM2/Engine/VideoUpdate.h index e0f4bc2..0bf5d4d 100755 --- a/ABM2/Engine/VideoUpdate.h +++ b/ABM2/Engine/VideoUpdate.h @@ -9,17 +9,9 @@ #pragma once #endif // _MSC_VER > 1000 -#ifdef WITH_SDL #include #include -#else // WITH_SDL -#include -#include - -#include "engine.h" -extern LPDIRECT3DDEVICE9 d3ddev; // the pointer to the device class -#endif // WITH_SDL class CVideoUpdate : public ITask { @@ -34,13 +26,10 @@ public: bool Start(); void Update(); void Stop(); + + Graphics* getGraphics() { return this->g; } private: -#ifdef WITH_SDL Graphics *g; - Sprite *s; -#else - LPDIRECT3D9 d3d; // the pointer to our Direct3D interface -#endif //WITH_SDL }; #endif // !defined(AFX_VIDEOUPDATE_H__FB4B263B_4FA7_4700_BB70_EE5CB1768E83__INCLUDED_)