Re: [Flightgear-devel] apt.dat and debugging

2006-08-20 Thread Pigeon
>I built FG using MSVC 2005, and the release build version works
>great.  I tried to step through the code using the debugger, but it
>takes several minutes to load the apt.dat file.  Is this normal, or is
>this specific to the MSVC IDE?  Are there some command line parameters
>that could be set to mitigate this issue for debugging purposes?

I'm not sure about MSVC. On Linux I sometimes use valgrind (a memory
check/debug tool) with FG, and yes it is significantly slower.

What I did though was I have created a seperate FG root and use that
for debugging (via FG_ROOT environment variable or --fg-root). In this
"debug" FG root, I have trimmed down versions of apt.dat, nav.dat, etc,
which makes the debugging startup a lot faster. My apt.dat for debugging
has only nine airports that are around the default KSFO area.

Of course this assumes you're not trying to debug apt.dat or other
full data.

Similarly I also have a seperate debug preferences.xml passed using
--config.


Pigeon.


-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


[Flightgear-devel] apt.dat and debugging

2006-08-20 Thread Dave Sousa



First of all, I am new to the list and have enjoyed 
using FlightGear.  Thanks to all who have contributed.  I am a C++ 
programmer and am looking at FG from a hobbyist perspective without any 
simulation development experience.
 
I built FG using MSVC 2005, and the release build 
version works great.  I tried to step through the code using the debugger, 
but it takes several minutes to load the apt.dat file.  Is this normal, or 
is this specific to the MSVC IDE?  Are there some command line parameters 
that could be set to mitigate this issue for debugging purposes?
 
I chose MSVC because that is what I use at work, 
but would be happy to try another IDE if that would solve the 
issue.
 
Dave
-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


[Flightgear-devel] Garmin Series 400 Aviation In data format

2006-08-20 Thread Curtis L. Olson
I've just committed a first stab at the Garmin series 400 "Aviation In" 
data format.  I don't think it's quit producing the correct output, but 
the code compiles cleanly so it shouldn't hurt anything to add.

In theory, this should allow us to use FlightGear to drive a real Garmin 
295/296/430/530 gps unit from our simulator position.

I haven't been able to get the Garmin 295 I have here on loan for 
testing to respond at all, so there's a problem somewhere.  I connected 
up the FG output to hyperterminal and it's generating what I think is 
the right data at the right baud.  I connected up the gps to 
hyperterminal and can get data out of that, so the gps serial cable is 
good.  FG is outputting data, the gps serial cable is good, but the 295 
isn't responding.  That leaves a) the 295 doesn't actually speak this 
format (or speaks it's own different version of it) or b) I've made a 
stupid mistake in implementing the spec (which I've now read and re-read 
about 100x.)

If anyone out there is interested in this sort of thing and has some 
means to test the code, I'd certainly be happy for another set of eyes 
to take a look at what I've done.  I'm also pursuing the Garmin tech 
support route, but it's the weekend now so not much moving there.

Regards,

Curt.

-- 
Curtis Olsonhttp://baron.flightgear.org/~curt
HumanFIRST Program  http://www.humanfirst.umn.edu/
FlightGear Project  http://www.flightgear.org
Unique text:2f585eeea02e2c79d7b1d8c4963bae2d


-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


Re: [Flightgear-devel] VRP for Rascal110

2006-08-20 Thread Curtis L. Olson
Lee Elliott wrote:
> I only did the model for Curt, who did all the rest, so I'll 
> leave it to him unless he's too busy, in which case I can take a 
> look.  Curt?

I understand the issue of VRP, but have never gotten my head around the 
JSBsim implementation there of.  So if anyone wants to send me a patch, 
I'll happily commit it and try to learn something in the process.

Thanks,

Curt.

-- 
Curtis Olsonhttp://baron.flightgear.org/~curt
HumanFIRST Program  http://www.humanfirst.umn.edu/
FlightGear Project  http://www.flightgear.org
Unique text:2f585eeea02e2c79d7b1d8c4963bae2d


-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


Re: [Flightgear-devel] VRP for Rascal110

2006-08-20 Thread Lee Elliott
On Sunday 20 August 2006 22:53, Martin Spott wrote:
> To Lee and/or Curt:
>
> After our guest we had this evening asked me to take his new
> model airplane out for a ride, I decided to check with the
> FlightGear Rascal to renew my feeling for these small aircraft
> as I didn't fly any model aircraft for more than twenty years.
> I noticed that the aerodynamical center is located at the nose
> of the Rascal 3D-model - the "aircraft rotates around its
> nose"-feature we already saw with several other aircraft.
> Would one of the authors consider to move the VRP to the
> respective location where it makes most sense ?
>
> Thanks a lot - I never expected that I some day would be
> tempted to use FG as a model airplane trainer  :-)
>
>   Martin.

I only did the model for Curt, who did all the rest, so I'll 
leave it to him unless he's too busy, in which case I can take a 
look.  Curt?

LeeE


-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


Re: [Flightgear-devel] Avro Vulcan B2 for CVS

2006-08-20 Thread Ampere K. Hardraade
On Sunday 20 August 2006 16:25, Melchior FRANZ wrote:
> * Buchanan, Stuart -- Sunday 20 August 2006 22:22:
> > > hmm... alpha in texture... bad idea.
> >
> > Why?
>
> Breaks volumetric shadows. Aircraft parts can't then cast shadows
> on the aircraft. But apart from that I wouldn't say such textures
> are evil. A bit slower to render, but that's not really a striking
> argument.
>
> m.

It hit performance pretty hard.  That's why a lot of us avoid using it in 
textures.  Alpha in materials seem to be alright though.

Ampere

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


Re: [Flightgear-devel] [Flightgear-cvslogs] CVS:

2006-08-20 Thread Martin Spott
Melchior FRANZ wrote:

> Eeww. Anyway, without backtrace I can't do much. I'll look through the diff 
> ...

Maybe one vague point to mention: The YASim Rascal loads nicely, but
appears to have no propulsion - it simply gets blown off the runway by
the wind. The JSBSim Rascal stops 'running'.
I'll have to rebuild the binary for debugging, the current backtrace
will be not very informative:

[...]
[New Thread 1082128752 (LWP 11249)]
  Model Author:  Author Name
  Creation Date: Creation Date
  Version:   Version
  Description:   Models a rascal

Program received signal SIGSEGV, Segmentation fault.
---Type  to continue, or q  to quit---
[Switching to Thread 47460149624848 (LWP 11227)]
0x2b2a2c34ce46 in mallopt () from /lib/libc.so.6


Martin.
-- 
 Unix _IS_ user friendly - it's just selective about who its friends are !
--

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


Re: [Flightgear-devel] [Flightgear-cvslogs] CVS:

2006-08-20 Thread Martin Spott
Melchior FRANZ wrote:
> * Martin Spott -- Sunday 20 August 2006 23:44:

>> I'm sorry that I'm unable to deliver precise information tonight, still
>> I'd like to point out that this change causes segmentation fault on
>> Debian Linux/AMD64 (gcc-3.3.5) 
> 
> Eeww. Anyway, without backtrace I can't do much.

I guessed   still, it's a bit late for me now, my wife has to get
up _really_ early during weekdays,

Martin.
-- 
 Unix _IS_ user friendly - it's just selective about who its friends are !
--

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


[Flightgear-devel] VRP for Rascal110

2006-08-20 Thread Martin Spott
To Lee and/or Curt:

After our guest we had this evening asked me to take his new model
airplane out for a ride, I decided to check with the FlightGear Rascal
to renew my feeling for these small aircraft as I didn't fly any model
aircraft for more than twenty years.
I noticed that the aerodynamical center is located at the nose of the
Rascal 3D-model - the "aircraft rotates around its nose"-feature we
already saw with several other aircraft. Would one of the authors
consider to move the VRP to the respective location where it makes most
sense ?

Thanks a lot - I never expected that I some day would be tempted to use
FG as a model airplane trainer  :-)

Martin.
-- 
 Unix _IS_ user friendly - it's just selective about who its friends are !
--

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


Re: [Flightgear-devel] Avro Vulcan B2 for CVS

2006-08-20 Thread Buchanan, Stuart

--- Melchior FRANZ wrote:
> * Carsten Vogel -- Saturday 19 August 2006 18:31:
> > - view-rotating point is plane's nose not the center (irritating, and
> 2x 
> > views were inside plane)
> 
> Add this to the  2 and 3 definitions in the vulcan2b-set.xml file:
> 
>16.7
> 
> Without that the outside view isn't really enjoyable. Unfortunately,
> Stuart didn't have the time to do it or authorize it.  :-/

If you'd like to fix it, you are more than welcome. No authorization
required.

After all, that's one of the advantages of CVS - everyone can improve it.

-Stuart



___ 
The all-new Yahoo! Mail goes wherever you go - free your email address from 
your Internet provider. http://uk.docs.yahoo.com/nowyoucan.html

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


Re: [Flightgear-devel] [Flightgear-cvslogs] CVS: FlightGear/src/Instrumentation tacan.cxx,

2006-08-20 Thread Melchior FRANZ
* Martin Spott -- Sunday 20 August 2006 23:44:
> I'm sorry that I'm unable to deliver precise information tonight, still
> I'd like to point out that this change causes segmentation fault on
> Debian Linux/AMD64 (gcc-3.3.5) 

Eeww. Anyway, without backtrace I can't do much. I'll look through the diff ...

m.

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


Re: [Flightgear-devel] [Flightgear-cvslogs] CVS: FlightGear/src/Instrumentation tacan.cxx,

2006-08-20 Thread Martin Spott
Melchior Franz wrote:
> Update of /var/cvs/FlightGear-0.9/FlightGear/src/Instrumentation
> In directory baron:/tmp/cvs-serv28609
> 
> Modified Files:
>   tacan.cxx tacan.hxx 
> Log Message:
[...]

I'm sorry that I'm unable to deliver precise information tonight, still
I'd like to point out that this change causes segmentation fault on
Debian Linux/AMD64 (gcc-3.3.5) at aircraft loading time for almost
every aircraft that I just tried - except the YASim Rascal. JSBSim
aircraft are affected (including the Rascal) as well as YASim aircraft
(including the BO),

Martin.
-- 
 Unix _IS_ user friendly - it's just selective about who its friends are !
--

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


Re: [Flightgear-devel] Avro Vulcan B2 for CVS

2006-08-20 Thread Buchanan, Stuart

--- Carsten Vogel wrote:
> Buchanan, Stuart schrieb:
> > --- Carsten Vogel wrote:
> >  
> >   
> >> Just for some feedback:
> >>
> >> - textures were blank when zooming in
> >> 
> > Not sure what you mean. When zooming out, they start looking white
> because
> > of the FP imprecision
> >   
> Actually no textures at all if zooming in too much

That is very strange - I don't see it on my machine at all. Has anyone
else seen it?

I wonder if it is related to my use of one large texture file for all the
textures - it's 2048x2048. Anyone know if that might be too much?

> BEFORE:
>
http://www.wh10.tu-dresden.de/~lego/fg/tempscreens/fgfs-screen-048-rotatingpoint-outside.jpg
> (Notice the white plane under the right engine.!)

That's an ECM ariel, and is intentional. See 

http://www.thunder-and-lightnings.co.uk/vulcan/wings.html

> vulcanb2-set.xml (with Melchiors comment)
> 
>   
>
>  
>  -75.0
> 
>   archive="y">16.7
>
>   
> 
>   
>
>  
>  -75.0
> 
>   archive="y">16.7
>
>   
> 
> 
> hm, that did not help alot on Helicopter view. But now I got a value to 
> play on.
> 

Try a value of 40. However, I need to move the VRP from the nose to
further back (above the rear landing gear?) as well, which I think will
shift the view.

-Stuart



___ 
The all-new Yahoo! Mail goes wherever you go - free your email address from 
your Internet provider. http://uk.docs.yahoo.com/nowyoucan.html

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


[Flightgear-devel] automated response

2006-08-20 Thread Tim Kober
Vielen Dank für Ihre Nachricht. Ich bin auf Reisen und habe erst ab dem 
28.08.2006 wieder Gelegenheit, meine Emails abzurufen. Bitte wenden Sie sich an 
meine Kollegen, die Ihnen gerne weiterhelfen werden:

[EMAIL PROTECTED], Telefon 0221 / 800 334-0

Dies ist eine automatisch generierte Email. Sie erhalten diese Nachricht nur 
einmal, selbst wenn Sie während meiner Abwesenheit mehrere Emails an mich 
richten.

Mit freundlichen Grüßen,

Tim Kober
Kober-Kümmerly+Frey Media AG

---

Thank you for your mail. I am abroad until the 28th of August 2006. This is an 
automatic reply, you will receive it only once.

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


Re: [Flightgear-devel] Avro Vulcan B2 for CVS

2006-08-20 Thread Melchior FRANZ
* Buchanan, Stuart -- Sunday 20 August 2006 22:26:
> If you'd like to fix it, you are more than welcome. No authorization
> required.

OK. BTW: it's a bad idea to overwrite standard views (1 for copilot).
Additional views should IMHO only be added on the upper end.



> After all, that's one of the advantages of CVS - everyone can improve it.

True. But only if the creator/maintainer agrees. Otherwise I only fix
grave bugs (such as syntax errors, wrong paths, etc.). 

m.

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


Re: [Flightgear-devel] Avro Vulcan B2 for CVS

2006-08-20 Thread Melchior FRANZ
* Buchanan, Stuart -- Sunday 20 August 2006 22:22:
> > hmm... alpha in texture... bad idea.
> 
> Why?

Breaks volumetric shadows. Aircraft parts can't then cast shadows
on the aircraft. But apart from that I wouldn't say such textures
are evil. A bit slower to render, but that's not really a striking
argument.

m.

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


Re: [Flightgear-devel] Avro Vulcan B2 for CVS

2006-08-20 Thread Buchanan, Stuart

--- "Ampere K. Hardraade" wrote:
> On Saturday 19 August 2006 14:40, Carsten Vogel wrote:
> > FULLFEATURE:
> >
>
http://www.wh10.tu-dresden.de/~lego/fg/tempscreens/fgfs-screen-050-fullfeat
> >ured.jpg
> hmm... alpha in texture... bad idea.

Why?



___ 
Try the all-new Yahoo! Mail. "The New Version is radically easier to use" – The 
Wall Street Journal 
http://uk.docs.yahoo.com/nowyoucan.html

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


Re: [Flightgear-devel] Bug in mp-visibility of planes?

2006-08-20 Thread Maik Justus

Hi Matthias,

Mathias Fröhlich wrote:

Hi Maik,
On Sunday 13 August 2006 21:15, Maik Justus wrote:
  

I still have this problem. Can you tell me, where in the source the 10
seconds timeout are tested? Then I can try, to find more detailed
information.


That would be great!
That happens around line 420 in src/MultiPlayer/multiplaymgr.cxx.

Greetings

   Mathias
  

The problem is, that the elapsed time is queried in this way

long stamp = timestamper.get_seconds();


but the timestamper update is calculated this way (file timestamp.cxx 
(simgear)):

void SGTimeStamp::stamp() {
#if defined( WIN32 ) && !defined(__CYGWIN__)
unsigned int t;
t = timeGetTime();
seconds = 0;//<<<-- comment by Maik:  this is the 
problem

usec =  t * 1000;
#elif defined( HAVE_GETTIMEOFDAY )
struct timeval current;
struct timezone tz;
// sg_timestamp currtime;
gettimeofday(¤t, &tz);
seconds = current.tv_sec;
usec = current.tv_usec;
#elif defined( HAVE_GETLOCALTIME )
SYSTEMTIME current;
GetLocalTime(¤t);
seconds = current.wSecond;
usec = current.wMilliseconds * 1000;
#elif defined( HAVE_FTIME )
struct timeb current;
ftime(¤t);
seconds = current.time;
usec = current.millitm * 1000;
// -dw- uses time manager
#elif defined( macintosh )
UnsignedWide ms;
Microseconds(&ms);

seconds = ms.lo / 100;

usec = ms.lo - ( seconds * 100 );
#else
# error Port me
#endif
}
For MSVC the seconds are allways zero, all the elapsed time is stored in 
usec. After splitting the elapsed time into usec and seconds and 
removing the " #if defined( WIN32 ) && !defined(__CYGWIN__)" sections 
alls seems

to work well (see enclosed diff for simgear). Please add it to CVS.

Maik

? timig.diff
Index: timestamp.cxx
===
RCS file: /var/cvs/SimGear-0.3/source/simgear/timing/timestamp.cxx,v
retrieving revision 1.5
diff -u -p -r1.5 timestamp.cxx
--- timestamp.cxx   8 Mar 2006 18:16:10 -   1.5
+++ timestamp.cxx   20 Aug 2006 14:36:56 -
@@ -72,8 +72,8 @@ void SGTimeStamp::stamp() {
 #if defined( WIN32 ) && !defined(__CYGWIN__)
 unsigned int t;
 t = timeGetTime();
-seconds = 0;
-usec =  t * 1000;
+seconds = t / 1000;
+usec =  (t - seconds * 1000) * 1000;
 #elif defined( HAVE_GETTIMEOFDAY )
 struct timeval current;
 struct timezone tz;
@@ -105,20 +105,12 @@ void SGTimeStamp::stamp() {
 
 // increment the time stamp by the number of microseconds (usec)
 SGTimeStamp operator + (const SGTimeStamp& t, const long& m) {
-#if defined( WIN32 ) && !defined(__CYGWIN__)
-return SGTimeStamp( 0, t.usec + m );
-#else
 return SGTimeStamp( t.seconds + ( t.usec + m ) / 100,
( t.usec + m ) % 100 );
-#endif
 }
 
 // difference between time stamps in microseconds (usec)
 long operator - (const SGTimeStamp& a, const SGTimeStamp& b)
 {
-#if defined( WIN32 ) && !defined(__CYGWIN__)
-return a.usec - b.usec;
-#else
 return 100 * (a.seconds - b.seconds) + (a.usec - b.usec);
-#endif
 }
-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


Re: [Flightgear-devel] Avro Vulcan B2 for CVS

2006-08-20 Thread Martin Spott
Carsten Vogel wrote:

> FULLFEATURE:
> http://www.wh10.tu-dresden.de/~lego/fg/tempscreens/fgfs-screen-050-fullfeatured.jpg

Isn't it a bit dangerous to deply the chute in-air ?  ;-)
BTW, didn't they use a Vulcan in a James Bond movie named "Thunderball"
or so ?

Cheers - and thanks, Stuart, for your work on this famous aircraft,

Martin.
-- 
 Unix _IS_ user friendly - it's just selective about who its friends are !
--

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


Re: [Flightgear-devel] fatal error when switching views

2006-08-20 Thread Mathias Fröhlich

David,

On Friday 11 August 2006 19:07, Dave Culp wrote:
> Just some info here on how to reproduce the fatal error when switching
> views.
>
> 1)  Take off from some place where you don't have the terrain.
> 2)  switch to next view by hitting the "V" key
>
> I get this:
>
> Attempting to schedule tiles for bogus lon and lat  = (-1000,0)
> This is a FATAL error.  Exiting!
>
>
> As long as I stay in cockpit view I'm fine, and can look around and see
> water, as I expect.

I tried hard to reproduce that with flightgear compiled with glut and sdl. I 
cannot yet reproduce that. I know that there are several reports about that, 
but I do not yet have an idea why this happens.
I am still thinking about that ...

Anyway, I am out until next sunday, before that I will not have any access to 
a computer.

Greetings

Mathias

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


Re: [Flightgear-devel] RTT issue with ATI cards (3d clouds)

2006-08-20 Thread Mathias Fröhlich
On Saturday 19 August 2006 17:02, Christopher HORLER wrote:
> > No, he is not wrong.
> > You should not look into the server extensions nor into the client
> > extensions. The only valid thing is (well, I had to learn that the hard
> > way
> >
> > :) GLX extensions that is in effect what the client *and* the server
> >
> > understands. Here you don't have what you need for rendertexture.
> >
> > I suffer from the same problem.
>
> Apologies
Not a problem!

 Greetings
  Mathias

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel