Re: [Flightgear-devel] Patch: Minor bugfixes for MSVC compatibility

2008-08-31 Thread Frederic Bouvier
James Turner a écrit : On 30 Aug 2008, at 23:16, Stefan C. Müller wrote: As far as I can tell, this is not true. The third parameter type is independant from the type of the container, and should only match the type of the second parameter of the predicate. The current code compile

Re: [Flightgear-devel] Legacy #ifdefs

2008-08-31 Thread Martin Spott
James Turner wrote: However, I think there's a bigger issue - FG now requires OSG, does OSG build okay with SunStudio? Without the slightest trouble - after applying a minor correction to make the linker happy it even does on IRIX using MIPSpro. Either it's not too difficult to get there or

Re: [Flightgear-devel] Patch: Minor bugfixes for MSVC compatibility

2008-08-31 Thread James Turner
On 31 Aug 2008, at 08:30, Frederic Bouvier wrote: As Stefan says, the ( debugging ) code expects the predicate is commutative. Maybe there is a symbol to disable debugging code to be generated, or we could provide the class a second operator() : bool operator()(const std::string aB, const

Re: [Flightgear-devel] f16 speedbrakes

2008-08-31 Thread Fabian Grodek
On 8/30/08, Erik Hofman [EMAIL PROTECTED] wrote: ... But I don't see any pitching moment effect; from what I see in NASA TP 1538 http://hdl.handle.net/2002/11034 I understand there is a pitch-down effect from the speedbrakes. It looks like you don't have the latest version of the

Re: [Flightgear-devel] Legacy #ifdefs

2008-08-31 Thread James Turner
On 31 Aug 2008, at 08:49, Martin Spott wrote: Without the slightest trouble - after applying a minor correction to make the linker happy it even does on IRIX using MIPSpro. Either it's not too difficult to get there or the guys at OSG simply have the expertise about wiriting code to compile

Re: [Flightgear-devel] Patch: Minor bugfixes for MSVC compatibility

2008-08-31 Thread Stefan C. Müller
James Turner schrieb: Adding the commutative operator is fine with me, seems like the cleanest solution. OK, here's the patch. But we need a total of 3 overloaded operator(). Not realy nice to look at. Anyway, I'm happy with both variants. Stefan Index: Airports/simple.cxx

[Flightgear-devel] CVS log sleepy ?

2008-08-31 Thread gerard robin
Hello, the cvs log seems to be sleepy, since 25-08 Am i right? Or is it only on my mailing side ? Regards -- Gérard http://pagesperso-orange.fr/GRTux/ J'ai décidé d'être heureux parce que c'est bon pour la santé. Voltaire

Re: [Flightgear-devel] Patch: Minor bugfixes for MSVC compatibility

2008-08-31 Thread James Turner
On 31 Aug 2008, at 11:58, Stefan C. Müller wrote: OK, here's the patch. But we need a total of 3 overloaded operator(). Not realy nice to look at. Anyway, I'm happy with both variants. As you say, not ideal, but I'm still working on this code, so a little bit of uglyness, I can live

Re: [Flightgear-devel] CVS log sleepy ?

2008-08-31 Thread Alexis Bory - xiii
gerard robin wrote: Hello, the cvs log seems to be sleepy, since 25-08 Am i right? Or is it only on my mailing side ? Regards Salut Gerard, Nope, I actually receive plenty and fast CVS log messages. Could be on your Mnt Ventoux sunny side :-) Alexis

Re: [Flightgear-devel] Patch: Minor bugfixes for MSVC compatibility

2008-08-31 Thread Frederic Bouvier
Stefan C. Müller a écrit : * Replaced an rint() call with floor() (MSVC does not offer rint). Are you sure you don't need #include math.h ? because rint is already used in Main/Options.cxx -Fred -- Frédéric Bouvier http://my.fotolia.com/frfoto/ Photo gallery http://fgsd.sourceforge.net/

Re: [Flightgear-devel] Patch: Minor bugfixes for MSVC compatibility

2008-08-31 Thread Frederic Bouvier
Frederic Bouvier a écrit : Stefan C. Müller a écrit : * Replaced an rint() call with floor() (MSVC does not offer rint). Are you sure you don't need #include math.h ? because rint is already used in Main/Options.cxx Forget that. I missed the #ifdef HAVE_RINT around it -Fred

Re: [Flightgear-devel] CVS log sleepy ?

2008-08-31 Thread gerard robin
On dim 31 août 2008, Alexis Bory - xiii wrote: gerard robin wrote: Hello, the cvs log seems to be sleepy, since 25-08 Am i right? Or is it only on my mailing side ? Regards Salut Gerard, Nope, I actually receive plenty and fast CVS log messages. Could be on your Mnt Ventoux

Re: [Flightgear-devel] Patch: Minor bugfixes for MSVC compatibility

2008-08-31 Thread Frederic Bouvier
Stefan C. Müller a écrit : * Replaced an rint() call with floor() (MSVC does not offer rint). I am a bit worried that floor and rint are not the same. I don't know if it matters in this context but how about using the code below instead ? // round double to 10^g double rnd(double r, int g = 0)

Re: [Flightgear-devel] Bubble sextant model for FlightGear

2008-08-31 Thread gerard robin
On dim 31 août 2008, Anders Gidenstam wrote: Hi all, My interest in obsolete technology and a bygone era have made me model a RAF mk9 bubble sextant for FlightGear: http://www.gidenstam.org/FlightGear/Celestial_navigation_in_fgfs/fgfs-RAFmk 9-506.jpg

[Flightgear-devel] Bubble sextant model for FlightGear

2008-08-31 Thread Anders Gidenstam
Hi all, My interest in obsolete technology and a bygone era have made me model a RAF mk9 bubble sextant for FlightGear: http://www.gidenstam.org/FlightGear/Celestial_navigation_in_fgfs/fgfs-RAFmk9-506.jpg http://www.gidenstam.org/FlightGear/Celestial_navigation_in_fgfs/fgfs-RAFmk9-507.jpg It

Re: [Flightgear-devel] Patch: Minor bugfixes for MSVC compatibility

2008-08-31 Thread Stefan C. Müller
Frederic Bouvier schrieb: Stefan C. Müller a écrit : * Replaced an rint() call with floor() (MSVC does not offer rint). I am a bit worried that floor and rint are not the same. I don't know if it matters in this context but how about using the code below instead ? // round double to

Re: [Flightgear-devel] f16 speedbrakes

2008-08-31 Thread Ron Jensen
On Sun, 2008-08-31 at 12:31 +0200, Fabian Grodek wrote: On 8/30/08, Erik Hofman [EMAIL PROTECTED] wrote: ... But I don't see any pitching moment effect; from what I see in NASA TP 1538 http://hdl.handle.net/2002/11034 I understand there is a pitch-down

Re: [Flightgear-devel] Patch: Minor bugfixes for MSVC compatibility

2008-08-31 Thread Tim Moore
James Turner wrote: On 31 Aug 2008, at 11:58, Stefan C. Müller wrote: OK, here's the patch. But we need a total of 3 overloaded operator(). Not realy nice to look at. Anyway, I'm happy with both variants. As you say, not ideal, but I'm still working on this code, so a little bit of

[Flightgear-devel] [patch] Pointmasses for the Cessna 172P

2008-08-31 Thread Ron Jensen
This is a patch to the c172p fdm to add pointmasses for all four occupant positions and baggage. The X locations were taken from the c172 type certificate 3A12 dated September 15, 1998. As the new pointmasses have a weight of 0 they will not affect the current model, however we are extending the

Re: [Flightgear-devel] [patch] Pointmasses for the Cessna 172P

2008-08-31 Thread Ron Jensen
This is a patch to the c172p-set to add pointmasses for all four occupant positions and baggage. We are extending the FlightGear weight and balance dialog for JSBSim and the pointmasses have to be defined. Index: c172p-set.xml ===

[Flightgear-devel] Make the cross from marker.ac translucent

2008-08-31 Thread Manfred Janßen
Hi, I tried this: import the marker.ac into blender and changed the alpha and exported it as an ac-file.. In blender the view looks like I expected, but when using it in FlightGear, I saw nothing. I saw that the ac I created with blender is only 1kb (original 4kb) and I opened it in a editor

Re: [Flightgear-devel] Make the cross from marker.ac translucent

2008-08-31 Thread Heiko Schulz
Hi, Which value you used for the alpha transparency? Regards HHS still in work: http://www.hoerbird.net/galerie.html But already done: http://www.hoerbird.net/reisen.html --- Manfred Janßen [EMAIL PROTECTED] schrieb am Mo, 1.9.2008: Von: Manfred Janßen [EMAIL PROTECTED] Betreff:

Re: [Flightgear-devel] Make the cross from marker.ac translucent

2008-08-31 Thread Heiko Schulz
Hi, Which value you used for the alpha transparency? Regards HHS still in work: http://www.hoerbird.net/galerie.html But already done: http://www.hoerbird.net/reisen.html --- Manfred Janßen [EMAIL PROTECTED] schrieb am Mo, 1.9.2008: Von: Manfred Janßen [EMAIL PROTECTED] Betreff: