Melchior FRANZ wrote:
> * Andy Ross -- Friday 03 February 2006 16:29:
> 
>>How about porting the existing screenPrint() code to use it instead,
> 
> 
>   screenPrint = func { screen.log.write(arg[0]) }   # in global.nas
> 
> Ported! Or is there more to do? Only the tutorial ever used
> screenPrint, and it doesn't any more, so it's probably no problem
> to kill it. And better before the next release.
> 
> 
> 
> 
>>and removing the C++ implementation?  Or for a 
>>bonus, port the ATC display code (from which screenPrint was derived)
>>to use the Nasal implementation and remove the C++ code from that,
>>too?
> 
> 
> The ATC subsystem shouldn't really generate the message *and* display
> it, no matter which method is used. It should rather only set a property
> to the generated message, for example /sim/messages/atc. A different
> subsystem should then take this message and display it -- using the
> same code for ATC and other screen messages. It should be glue code that
> decides what to do with the message property (c++ and Nasal listeners).
> Send it to the screen like now, print it to the console, forward it
> to the speech synthesis module (yet to be written :-), ...
> 
> The old display code is very performance friendly, and very user
> unfriendly: displaying only one message at the same time just isn't
> enough. Adding further such lines doesn't cut it either. We need
> to use something like screen.nas, but it could also be done in C++
> based on the old code. (And only once for ATC, tutorials and others,
> maybe in the "gui" subsystem.)
> 
> 
>  
> 
>>As far as the fonts go: the blurry/antialiased ones (which look better
>>when textured on 3D surfaces, but don't have pixel-space hinting)
>>shouldn't be any slower/faster than the bitmaps.  If nothing else, you
>>can store the bitmap in the texture as long as you're careful about
>>rendering it at half-pixel boundaries.
> 
> 
> If plib implements that I'm fine with it.  :-)
> 
> m.
> 
> 
> -------------------------------------------------------
> This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
> for problems?  Stop!  Download the new AJAX search engine that makes
> searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
> _______________________________________________
> Flightgear-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/flightgear-devel
> 

There may be some people using it for custom stuff, perhaps if you added
a print statement with a warning and then wait a month or two before
removing it.

Josh


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
Flightgear-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/flightgear-devel

Reply via email to