Curt,
MSVC ( ISO ? ) doesn't allow non integral initialisation within a class.
Here below is the patch needed to compile the replay sources.
Cheers,
-Fred
D:\FlightGear\cvs\FlightGear\src\Replay>cvs diff -u
cvs server: Diffing .
Index: replay.cxx
===================================================================
RCS file: /var/cvs/FlightGear-0.9/FlightGear/src/Replay/replay.cxx,v
retrieving revision 1.3
diff -u -r1.3 replay.cxx
--- replay.cxx 18 Jul 2003 01:51:47 -0000 1.3
+++ replay.cxx 18 Jul 2003 06:31:33 -0000
@@ -31,6 +31,13 @@
#include "replay.hxx"
+const double FGReplay::st_list_time = 60.0; // 60 secs of high res data
+const double FGReplay::mt_list_time = 600.0; // 10 mins of 1 fps data
+const double FGReplay::lt_list_time = 3600.0; // 1 hr of 10 spf data
+
+// short term sample rate is as every frame
+const double FGReplay::mt_dt = 0.5; // medium term sample rate (sec)
+const double FGReplay::lt_dt = 5.0; // long term sample rate (sec)
/**
* Constructor
Index: replay.hxx
===================================================================
RCS file: /var/cvs/FlightGear-0.9/FlightGear/src/Replay/replay.hxx,v
retrieving revision 1.2
diff -u -r1.2 replay.hxx
--- replay.hxx 17 Jul 2003 21:21:00 -0000 1.2
+++ replay.hxx 18 Jul 2003 06:31:33 -0000
@@ -79,13 +79,13 @@
private:
- static const double st_list_time = 60.0; // 60 secs of high res data
- static const double mt_list_time = 600.0; // 10 mins of 1 fps data
- static const double lt_list_time = 3600.0; // 1 hr of 10 spf data
+ static const double st_list_time; // 60 secs of high res data
+ static const double mt_list_time; // 10 mins of 1 fps data
+ static const double lt_list_time; // 1 hr of 10 spf data
// short term sample rate is as every frame
- static const double mt_dt = 0.5; // medium term sample rate (sec)
- static const double lt_dt = 5.0; // long term sample rate (sec)
+ static const double mt_dt; // medium term sample rate (sec)
+ static const double lt_dt; // long term sample rate (sec)
double sim_time;
double last_mt_time;
_______________________________________________
Flightgear-devel mailing list
[EMAIL PROTECTED]
http://mail.flightgear.org/mailman/listinfo/flightgear-devel