FlightGear run levels: Difference between revisions

Jump to navigation Jump to search
(Created page with "{{Template:RFC Navigation}} {{WIP}} == Background == As part of the Canvas project, we also talked about providing a standalone FGCanvas startup mode, analogous to ho...")
 
Line 5: Line 5:
As part of the [[Canvas]] project, we also talked about providing a standalone [[FGCanvas]] startup mode, analogous to how [[FGPanel]] works, however as part of the main FlightGear code base, rather than duplicating the existing source code. However, this turned out to be a little tricky due a number of hard coded assumptions:
As part of the [[Canvas]] project, we also talked about providing a standalone [[FGCanvas]] startup mode, analogous to how [[FGPanel]] works, however as part of the main FlightGear code base, rather than duplicating the existing source code. However, this turned out to be a little tricky due a number of hard coded assumptions:


<pre>
Unfortunately, there are many hard coded assumptions in the code currently. The code OFTEN assumes that there's a an aircraft, FDM scenery, sound etc. Basically, all the stuff and subsystems that won't be needed by a standalone FGCanvas/FGPanel. And the next funny thing is that all the Nasal code in $FG_ROOT/Nasal is also making lots of these implicit design assumptions (such as geodinfo() calls (depending on scenery/tile mgr) etc).  
Unfortunately, there are many hard coded assumptions in the code currently. The code OFTEN assumes that there's a an aircraft, FDM scenery, sound etc. Basically, all the stuff and subsystems that won't be needed by a standalone FGCanvas/FGPanel. And the next funny thing is that all the Nasal code in $FG_ROOT/Nasal is also making lots of these implicit design assumptions (such as geodinfo() calls (depending on scenery/tile mgr) etc).  
Basically, this means that there will be lots of refactoring involved for a standalone canvas client, not just C++ code, but also Nasal code.
Basically, this means that there will be lots of refactoring involved for a standalone canvas client, not just C++ code, but also Nasal code.
</pre>


According to a mailing list discussion in 2006, this is a long-standing issue: http://www.mail-archive.com/flightgear-devel@lists.sourceforge.net/msg03373.html
According to a mailing list discussion in 2006, this is a long-standing issue: http://www.mail-archive.com/flightgear-devel@lists.sourceforge.net/msg03373.html

Navigation menu