mfranz
cfd9c1b48f
pointless spelling fixes
2007-06-22 18:49:38 +00:00
mfranz
f827653668
- create new Nasal module string.nas with simple shell style pattern matching
...
algorithm (needed for the file selector and useful for other purposes, like
assembling lists of livery or screenshot files etc.)
- io.nas: move fixpath to string.nas (it's not only useful for file paths
but can also be used for property paths)
- screen.nas: move trim to string.nas (used by screen.nas and nasal-console.xml)
- gui.nas: add pattern matching to FileSelctor
- ufo.nas: use patterm matching (only *.ac and *.xml files shall be listed)
2007-06-22 14:13:30 +00:00
mfranz
a1fd54cfdf
aircraft.nas, gui.nas: adapt loadxml for absolute paths, drop second fgcommand arg
...
debug.nas, tutorial.nas: adapt for abs. paths
fuel.nas: cleanup
screen.nas: don't remove listeners -- that's done automatically by removind
the node in NasalSys.cxx
xml.nas: minor documentation fix
2007-06-12 16:20:55 +00:00
mfranz
6fdf07b79e
reverting; just saw why I hadn't turned it on
2007-03-27 18:02:12 +00:00
mfranz
bf1f438380
make the screen.log window keep the position it was dragged to
2007-03-27 17:48:16 +00:00
mfranz
7f375cf76c
s,/sim/tutorial,/sim/tutorials,
2007-03-24 13:32:15 +00:00
mfranz
10093284ba
If text contains "{display|voice}" groups, skip the delimiters and discard
...
the "voice" part. It's no longer possible to display the three letters {|}
in screen message at the moment, but they aren't overly useful. We may want
to support escaping in the future, if necessary.
2007-03-23 15:56:34 +00:00
mfranz
6d20159866
- trim/sanitize screen messages, so that tabs aren't displayed as
...
question marks
- make listeners one-shot (saves a couple of bytes of RAM :-)
2007-03-20 16:25:11 +00:00
mfranz
bf7731c0af
use /sim/signals/nasal-dir-initialized signal for library initialization;
...
this makes it possible to use screen.log.write() everywhere in aircraft
nasal files, not only after settimer(func{}, 0) were triggered
2007-01-21 20:56:25 +00:00
mfranz
07e3e2b05b
- minor fix
...
- add info/debug messages
2006-10-31 13:59:50 +00:00
mfranz
ae1df38643
better atc-message repetition (Remember: '+'-key)
2006-10-31 12:19:42 +00:00
mfranz
357dfb3934
move gui styles from /sim/gui[n] to /sim/gui/style[n] to make /sim/gui
...
free for other gui related properties
2006-03-09 23:05:08 +00:00
mfranz
db731ee480
store listener ids in module hash, so that other modules can remove them:
...
removelistener(screen.listener["pilot"]); # try in the Nasal console
2006-02-28 15:25:26 +00:00
mfranz
783256433a
if a tutorial is running, let the '+' make the instructor repeat his
...
last message; otherwise ATC
2006-02-24 11:05:13 +00:00
mfranz
c1e9de96c7
add "sticky" bool member that make the window class remember its last pos
2006-02-22 17:26:06 +00:00
mfranz
3ee8f31785
simplification
2006-02-21 21:38:59 +00:00
mfranz
ba5d916dcb
split multiline messages into separate lines;
...
move default window slightly up
2006-02-21 21:26:49 +00:00
mfranz
7a60fdc1e4
don't map ATC messages to screen and voice interface if /sim/screen/nomap
...
is "true"; Currently there's no way to remove Nasal listeners, and people
may not have write access to $FG_ROOT/Nasal/screen.nas. Tidy up, too.
2006-02-13 19:52:45 +00:00
mfranz
03c0dee1dc
write ATC messages to the screen.log, and map them to the voice interface
...
properties
2006-02-11 12:05:50 +00:00
mfranz
c486d15803
"export" show(); don't add empty lines
2006-02-05 20:43:14 +00:00
mfranz
7dd2f271db
use low window font if set, else the <message-display> theme font if set,
...
else the gui font
2006-02-04 13:31:16 +00:00
mfranz
41000cc513
various fixes; added color message properties
2006-02-03 00:02:26 +00:00
mfranz
5b4067a327
class for creating displays of automatically scrolling log messages;
...
one is created in the file and can be used as screen.log.write("message")
2006-02-02 23:34:16 +00:00