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