I try to build the FG's source by MSVC90. There is no error but lots of
warnings.
When debug it,there is a exception shown in the output window(first chance...).
At this time, the debug is loading wrap_oal.dll and the fg window show is
loading scenery object. Then the FG always show the loading scenery window,
seems is dead.
Why this happen?
I try to find out and found that the exception come out when the ai-model try
to update.
So I make some change,like this:
<ai>
<enabled type="bool">false</enabled>
<scenario>nimitz_demo</scenario>
<!-- <scenario>aircraft_demo</scenario> -->
<!-- <scenario>refueling_demo</scenario> -->
<!-- <scenario>lead_aircraft</scenario> -->
</ai>
The exception is no coming.
But the fg still is dead when loading scenery object.
That means the code following may be in trouble.
if (!scenery_loaded && globals->get_tile_mgr()->isSceneryLoaded()
&& cur_fdm_state->get_inited()) {
fgSetBool("sim/sceneryloaded",true);
if (fgGetBool("/sim/sound/working")) {
globals->get_soundmgr()->activate();
}
I found the value of isSceneryLoaded() and get_inited() always is 0.
Why this happen?
------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel