1
0
Fork 0
Commit graph

2110 commits

Author SHA1 Message Date
mfranz
cc6c40026e not everyone likes the new version ... 2006-02-22 22:43:21 +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
a0bc4246ea - use the best voice for the copilot & instructor
- save menu visibility (should we pop up a hint if it's turned off at startup?)
2006-02-22 17:24:19 +00:00
mfranz
ceeb9503f8 Stuart BUCHANAN:
Nasal/XML based tutorial system
2006-02-22 17:03:42 +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
bd327892d6 let getBoolValue() actually return a bool 2006-02-20 10:59:52 +00:00
mfranz
cde64c8543 use __ for static variables (one underscore is too handy for use in other
modules to waste it here)
2006-02-18 00:12:09 +00:00
mfranz
f9089e95d6 noise reduction: only print file names if --log-level is at least "info" 2006-02-17 22:20:15 +00:00
mfranz
dc6ab58eaf allow printlog() to be used with variable arg list (like print()):
printlog("warn", "Monty", "Burns");
2006-02-17 22:05:32 +00:00
mfranz
003ae0986f add printlog() function that works like SG_LOG(). It takes two arguments:
a --log-level and a scalar. Example: printlog("info", "I want more noise");
2006-02-17 21:24:08 +00:00
mfranz
a1a5a7e618 make input fields instantaneous, like the check- and radioboxes (which is
not only more consistent, but also makes the autopilot dialog act more like
the real device). Add a few rules. Move the checkboxes to the left, as it's
usually done in GUIs for switches that enable/disable a group of widgets.
2006-02-16 15:43:30 +00:00
mfranz
92c5097250 Stuart BUCHANAN: update; replace screenPrint with screen.log.write(); ... 2006-02-15 22:53:23 +00:00
mfranz
83257a80b8 Ctrl-P to print (because we can :-) 2006-02-15 16:37:23 +00:00
mfranz
2d0cc4d156 add "Print" button to print code to terminal window 2006-02-15 12:15:37 +00:00
mfranz
182d35ec17 save code on close 2006-02-15 10:38:13 +00:00
mfranz
fabf21cf8d add Nasal console to debug menu. Usage: enter Nasal code, press <TAB> to
leave edit field!, press <Return> to execute;  as an example try
screen.log.write("hello world"), or f16.canopy.open() in the F16,
or bo105.doors[3].move(0.3) in the Bo105 etc.
2006-02-15 10:33:38 +00:00
mfranz
e151ee6a18 typos 2006-02-14 23:36:53 +00:00
mfranz
fe82c8810c add subsection about emulation of the old ATC based voice socket interface 2006-02-14 23:06:58 +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
b2777a8aae autosave ai-traffic settings 2006-02-13 15:12:40 +00:00
mfranz
26a03db5b6 Just a gimmick: make background color configurable. Maybe some dark color
might look nicer for certain aircraft specific splash screens. Test with:
$ fgfs --prop:/sim/gui/colors/splash-screen/blue=0.35
2006-02-12 20:37:21 +00:00
david
8ab3d99a88 Changes from Dave Perry:
I made a minor change to one file in the c172p that accommodates a
feature I added to the navcom-kx155.xml and the dme.xml in the
Instruments folder.  I wanted to leave the frequencies, etc. on these
dark until there was voltage applied to
/systems/electrical/outputs/nav.  This was accomplished by adding a
param and property alias  pointing to the appropriate value.  Since the
c172p "always" applies 28 volts, this made no change in the c172p, but
allowed me to model the avionics master and battery master realisticly
in pa24-electrical.nas.  I put in comments explaining this at the change
points.

There is a useful  "help > aircraft help" that walks you through the
start procedure and lists the key bindings as well as the key to "light
up" the hot spots.
2006-02-12 17:34:59 +00:00
david
be1a0a1c9e I made a minor change to one file in the c172p that accommodates a
feature I added to the navcom-kx155.xml and the dme.xml in the
Instruments folder.  I wanted to leave the frequencies, etc. on these
dark until there was voltage applied to
/systems/electrical/outputs/nav.  This was accomplished by adding a
param and property alias  pointing to the appropriate value.  Since the
c172p "always" applies 28 volts, this made no change in the c172p, but
allowed me to model the avionics master and battery master realisticly
in pa24-electrical.nas.  I put in comments explaining this at the change
points.

There is a useful  "help > aircraft help" that walks you through the
start procedure and lists the key bindings as well as the key to "light
up" the hot spots.
2006-02-12 17:31:21 +00:00
david
c6669dd751 PA-24-250 (Comanche) changes from Dave Perry:
I made a minor change to one file in the c172p that accommodates a
feature I added to the navcom-kx155.xml and the dme.xml in the
Instruments folder.  I wanted to leave the frequencies, etc. on these
dark until there was voltage applied to
/systems/electrical/outputs/nav.  This was accomplished by adding a
param and property alias pointing to the appropriate value.  Since the
c172p "always" applies 28 volts, this made no change in the c172p, but
allowed me to model the avionics master and battery master realisticly
in pa24-electrical.nas.  I put in comments explaining this at the
change points.

There is a useful  "help > aircraft help" that walks you through the
start procedure and lists the key bindings as well as the key to "light
up" the hot spots.
2006-02-12 15:44:12 +00:00
mfranz
4f3b5f5dde autosave atc-chatter and volume 2006-02-12 10:49:30 +00:00
mfranz
7ae98578f3 first version of a voice README. Because of the links I decided to write
it as HTML, although I prefer raw text otherwise.
2006-02-11 17:23:17 +00:00
fredb
0bed47d554 Textures needed for european airports 2006-02-11 14:42:36 +00:00
ehofman
2ba4f91a2e Olaf Flebbe: Add a Microsoft SideWinder Force Feedback 2 configuration. Tested only on Windows. 2006-02-11 13:29:32 +00:00
ehofman
78b8f0a8c5 Remove old files, they now remain in FlightGear/data/AI instead. 2006-02-11 13:21:11 +00:00
mfranz
dc74e71157 use more sophisticated screen.atc_repeat() function to let ATC repeat
his/her last message
2006-02-11 12:07:06 +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
f91a0a1396 the Helvetical.txf just doesn't work in brighter colors 2006-02-11 12:04:49 +00:00
mfranz
d080303017 turn off voice subsystem; use --prop:/sim/sound/voices/enabled=true to enable 2006-02-11 12:01:30 +00:00
mfranz
6462caf7a4 help dialogs: add '+' keydef (let ATC repeat last message) 2006-02-11 10:33:16 +00:00
mfranz
4cd7dec340 pre-set callsign 2006-02-10 19:57:06 +00:00
mfranz
6859951713 baby, one more time! 2006-02-10 19:08:10 +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
8e4bc2f2ce add message-display font specification 2006-02-04 13:07:19 +00:00
daveluff
674539a3cf Use middle click to pull/push the pull-to-scan middle knob 2006-02-03 20:58:47 +00:00
ehofman
dfd4d87c8a Ron Jensen: energize the TACAN. 2006-02-03 08:44:26 +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
mfranz
525abca88d use setlistener()'s 3rd argument to open the fps display initially 2006-02-02 18:04:59 +00:00
mfranz
5a12cd5d22 before the big instrumentation rewrite dme.cxx cared for the initial
mode according to the switch position. Now dme.cxx is more generic
and can't make these settings any more -- and doesn't. So the dme
didn't display anything even if the knob was on.

The initialization has now to be done in the dme.xml file.
(Button-less actions are fired at init time and then thrown away.)
2006-02-02 00:07:11 +00:00
mfranz
12b58fa989 fix "from" flag 2006-02-01 22:16:53 +00:00
mfranz
f4704aed46 ac3d syntax 2006-01-30 19:43:18 +00:00
curt
c16aa2cd25 Syd Adams:
3d instrument updates, especailly the primus-1000.
2006-01-30 19:33:23 +00:00
ehofman
fe92b4c907 Add an 8kHz resampled wind sound. Sometimes this one could be more realistic. 2006-01-30 18:51:21 +00:00