]> git.mxchange.org Git - flightgear.git/blobdiff - DEM/dem.hxx
Fixed a bug where the wrong variable was being initialized.
[flightgear.git] / DEM / dem.hxx
index 23f55b4aafef1d8f006bb5952b1d301356fcf0d3..065ead15ca638d4cd3764d4d1ba99a75c0c72e00 100644 (file)
 #define _DEM_H
 
 
+#ifndef __cplusplus                                                          
+# error This library requires C++
+#endif                                   
+
+
 #include <stdio.h>
 
 #include <Bucket/bucketutils.h>
@@ -40,7 +45,7 @@
 
 class fgDEM {
     // file pointer for input
-    gzFile *fd;
+    gzFile fd;
 
     // coordinates (in arc seconds) of south west corner
     double originx, originy;
@@ -74,7 +79,7 @@ class fgDEM {
 
 public:
 
-    // Constructor (opens a DEM file)
+    // Constructor
     fgDEM( void );
 
     // open a DEM file (use "-" if input is coming from stdin)
@@ -125,6 +130,12 @@ public:
 
 
 // $Log$
+// Revision 1.5  1998/04/22 13:14:46  curt
+// Fixed a bug in zlib usage.
+//
+// Revision 1.4  1998/04/21 17:03:41  curt
+// Prepairing for C++ integration.
+//
 // Revision 1.3  1998/04/18 03:53:06  curt
 // Added zlib support.
 //