* ifdef most of VideoUpdate away to make it compile.
[matthijs/ABM2.git] / ABM2 / Engine / VideoUpdate.cpp
index 8499568c1e00ebbe9964c9b89e06481f6f0c98ea..14f60440f6f99518e7efe50a83a3c6da6e5e854f 100755 (executable)
@@ -7,6 +7,7 @@
 #include "VideoUpdate.h"\r
 \r
 // include the Direct3D Library file\r
+#ifdef WIN32\r
 #pragma comment (lib, "d3d9.lib")\r
 #pragma comment (lib, "d3dx9.lib")\r
 \r
@@ -14,7 +15,7 @@
 // Construction/Destruction\r
 //////////////////////////////////////////////////////////////////////\r
 LPDIRECT3DDEVICE9 d3ddev;    // the pointer to the device class\r
-\r
+#endif //WIN32\r
 CMMPointer<Dator<int> > CVideoUpdate::screenWidth=0;\r
 CMMPointer<Dator<int> > CVideoUpdate::screenHeight=0;\r
 CMMPointer<Dator<int> > CVideoUpdate::screenBPP=0;\r
@@ -22,6 +23,7 @@ int CVideoUpdate::scrWidth=640;
 int CVideoUpdate::scrHeight=480;\r
 int CVideoUpdate::scrBPP=16;\r
 \r
+#ifdef WIN32\r
 CVideoUpdate::CVideoUpdate()\r
 {\r
        d3d = Direct3DCreate9(D3D_SDK_VERSION);\r
@@ -113,3 +115,4 @@ void CVideoUpdate::Stop()
 {\r
 //     SDL_QuitSubSystem(SDL_INIT_VIDEO);\r
 }\r
+#endif // WIN32\r