1
0
Fork 0
Commit graph

2182 commits

Author SHA1 Message Date
mfranz
ca9feebd38 - use brake wrappers
- use Vasilii method to reset FOV (F4+F1+F2)
2006-03-01 18:42:37 +00:00
andy
b6a99130dd Add docs for the recent changes 2006-03-01 18:36:32 +00:00
mfranz
157ae984dc - apply/release brakes smoothly by default
- let applyParkingBrake() return current state
2006-03-01 18:33:46 +00:00
mfranz
f51cbe102b - convert most joysticks to use brake wrappers (only js with sophisticated
settings are left unchanged for now)
- set throttle wrapper in one config
2006-03-01 18:17:26 +00:00
mfranz
7e81d93f28 use wrappers for brakes/parking brake
(js files are to be converted)
2006-03-01 17:04:20 +00:00
andy
067b0ceac2 Yank reference to retract-time, which was removed from the code (in
favor of control-speed, which was ironically never documented) long
ago.  Even control-speed is deprecated now that you can drive FDM
input properties from scripts.
2006-02-28 23:22:09 +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
bd03e147d2 intermediate version: new layout, less sophisticated, but easier for beginners 2006-02-26 19:10:21 +00:00
david
5f0a822c81 Allow YASim flight models to override the hard-coded fine and coarse
propeller pitch stops for constant speed propellers.  The default
values are the same as the previous hard-coded values.  The new
attributes, "fine-stop" and "coarse-stop", are documented in the base
package, Docs/README.yasim.
2006-02-26 16:50:30 +00:00
david
5da3e4c18b Changes from Dave Perry:
Here is a patch that included the changes in my 2/22/06 posting plus the
3d-instrument light "emission" animations.  I also added a magnetic
compas mount and moved it forward and down to better match the real ac
and make it easier to read when adjusting the hi.  Ignore the "?" flaged
files at the beginning.  none are required.  I noticed that there is a
backup copy of pa24-250.ac in the pa24-250 folder in cvs.  It can be
deleted.  The only copy of that file required is in pa24-25/Models.

I "flew" a shake down instrument XC from 2v2 (Longmont, CO) to KLVN
(Airlake, just south of Minneapolis, MN).  Even the fuel management is
realistic.  The autopilot on the menu bar works well.  Give the changes
a try and enjoy!
2006-02-25 18:16:54 +00:00
mfranz
3e98f8353c cosmetics 2006-02-24 15:54:45 +00:00
mfranz
fa37af573c - let menuEnable() consider all <name>s
- always disable tutorial-stop; enable tutorial-start if tutorial available
- don't call the tutorial selector "Wizard 1/2". There is only one tutorial
  selector, the next dialog is already part of the tutorial. Also, the dialogs
  don't guide you through multi-dialog setup, which is what "wizards" normally
  stand for.
- use tutorial name as dialog title
- set button shortcuts (default == return, esc)
- make esc go back to select dialog
- beautify sliders & some other tweaks
2006-02-24 11:11:09 +00:00
mfranz
efc1577118 '+': change description & function name (repeate last ATC/instructor msg) 2006-02-24 11:06:06 +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
156de8e0c3 Stuart BUCHANAN: set /sim/tutorial/running; make last message available
mf: add isRunning() function to enable/disable "Stop Tutorial" menu
2006-02-24 11:03:22 +00:00
mfranz
e2cd02bb72 fix slider 2006-02-24 11:01:17 +00:00
mfranz
581e834623 different names for start & stop tutorial 2006-02-24 11:00:50 +00:00
mfranz
4086d5ad8e save selected gui style 2006-02-24 11:00:24 +00:00
curt
cdfa61f112 Syd Adams:
Here are the latest updates.

- Most of the changes involve moving instruments / animation / hotspot files
  to instruments-3d.

- Some re-texturing.

- Finished Aerostar gear animation.

- I tried adding a LONG variable to the nav radio property tree,
  but the conversion kept coming out wrong. Multiplying frequencies
  by 100 and outputing that to another DOUBLE worked, but I cant find
  the Comm frequencies property updating for the life of me ..... oh
  well Nasal works.
2006-02-23 19:06:03 +00:00
mfranz
d9bbddfe3d - make menuEnable() operate on all menus/items with that name (don't stop
when the first was found)
- disable tutorial entries if no tutorial is available
2006-02-23 18:52:32 +00:00
mfranz
c8abab1fcf add checkbox for carrier elevator operation;
let both carrier checkboxes affect all available carriers
2006-02-23 17:31:08 +00:00
mfranz
20f8329175 Stuart BUCHANAN: left align checkboxes
mf: add some space
2006-02-23 11:17:51 +00:00
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