curt
c7df5f3639
Panel night lighting acts as if lights are always turned on. We don't
...
really see anything different in the day, but as day turns to night the
panel smoothly darkens and the lighting component becomes visible.
Lights are wired to electrical system so if you kill power, you lose the
lights.
2002-09-28 03:57:37 +00:00
david
8685e68b99
Modified to use fgGetLowPass from utils.cxx.
2002-09-27 22:04:21 +00:00
david
5289055776
Added a heading-indicator connected to the vacuum pump and a
...
vertical-speed indicator connected to the static port.
2002-09-27 22:03:48 +00:00
david
c542559097
When the clock is frozen, set delta time to 0 so that the subsystems
...
won't keep updating themselves; that effectively freezes the
instrumentation.
2002-09-27 22:02:48 +00:00
david
3da2de39fc
Add utils.[ch]xx.
2002-09-27 22:02:09 +00:00
david
84d2627236
Globally-useful functions, starting with Alex Perry's low-pass
...
function from steam.cxx.
2002-09-27 22:01:33 +00:00
curt
b81139dab3
Pass stall warning info in net_fdm.hxx
2002-09-27 21:20:28 +00:00
david
8d5714084e
Added static port system and a new altimeter model connected to it.
...
The static port uses the
/systems/static/
property subtree, and the altimeter uses the
/instrumentation/altimeter/
property subtree.
2002-09-27 18:27:58 +00:00
curt
d150450b06
Mixture is on channel 6.
2002-09-27 02:33:32 +00:00
curt
c1417a0268
Pass velocities in local body axis.
2002-09-27 01:20:20 +00:00
curt
a7fb46bcb2
Interface the adf and transponder to the electrical system.
2002-09-26 17:26:34 +00:00
curt
3fdcbbd6ce
Code clean ups.
2002-09-26 17:25:19 +00:00
curt
cd9c38e0b4
Connect to the electrical system.
2002-09-26 17:24:11 +00:00
curt
2a73201ca8
More code shuffling.
2002-09-26 16:19:06 +00:00
curt
eaf4954441
Shuffling/reorganizing code.
2002-09-26 15:34:00 +00:00
curt
2a19fc2f53
Work on wiring the dme into the electrical model.
2002-09-26 14:13:42 +00:00
curt
cc4821e43f
Each node in the electrical system graph can now publish to an arbitrary
...
number of properties which will reflect that node's state.
2002-09-26 04:51:23 +00:00
curt
911e7dbfa8
For flaps power, fuel pump, and starter, send power state rather than switch
...
state.
2002-09-26 04:49:31 +00:00
curt
4a28902197
Begin interfacing the navcom's to the electrical model.
2002-09-26 04:47:29 +00:00
curt
427505cf37
Begin interfacing with the electrical model.
2002-09-26 04:45:45 +00:00
curt
d16f082500
Read and publish states of master switches (bat, alt, avionics.)
...
Read and publish states of toggle switches and circuit breakers.
2002-09-25 22:09:38 +00:00
curt
d53b005a41
Interchange state of fuel_pump (switches) and master switches (bat, alt,
...
and avionics.)
2002-09-25 22:08:43 +00:00
curt
4a43282b72
Change path name of electrical system config file.
2002-09-25 22:07:28 +00:00
curt
d976a1f879
Added fuel_pump switch, and master switches (bat, alt, avionics)
2002-09-25 22:06:38 +00:00
curt
f26e8e5af0
Added a per-engine fuel pump switch.
2002-09-25 22:05:49 +00:00
curt
02d1d81348
Fixed a compiler warning.
2002-09-25 22:05:14 +00:00
curt
c6c96eb688
Remove 'cout'
2002-09-25 12:38:09 +00:00
tony
04f7625c67
Fixes for flaps, gear, and reset. The c310 takeoff rotation problem seems to be fixed as well, though I don't understand why.
2002-09-25 11:04:20 +00:00
curt
8d2014f7bc
Updates to the electrical system model. "Juice" is now propogated through
...
the system, switches, fuses, circuit-breakers work. Nothing is actually
wired into the electical system yet.
2002-09-24 23:45:56 +00:00
curt
3323efa256
Check point commit:
...
The code reads the electrical system config and contructs an internal model.
Nothing is done beyond that yet ... the electrical system is not updated,
nor is it connected to the property system in anyway.
2002-09-24 19:57:11 +00:00
david
6a8371c44c
Introduce a simplistic spin-down when insufficient suction is
...
available.
2002-09-24 16:37:28 +00:00
curt
90e64f9430
Stub in a place holder for the electrical system model.
2002-09-24 15:24:04 +00:00
david
512f37185a
Ignore generated files.
2002-09-24 14:55:14 +00:00
david
682feb8f2d
Flattened src/Systems/ subtree.
...
Added src/Instrumentation/ with partial stab at a vacuum-driven
attitude indicator.
2002-09-24 14:51:37 +00:00
david
e97b8841e1
Forgot to update header.
...
Added .cvsignore.
2002-09-24 13:11:27 +00:00
curt
d19ef4008d
Small tweaks for improved compiling.
2002-09-24 13:07:30 +00:00
tony
ab242159a3
JSBSim updates. This update changes the file format, so an update of the base
...
package is required.
2002-09-24 12:54:43 +00:00
curt
43af8026d8
More tweaks to opengl state management when drawing 3d clouds.
2002-09-23 22:05:36 +00:00
david
7c057de4fe
Started new module and sub-modules for aircraft systems, including an
...
initial simplistic vacuum system that's not yet connected to anything.
2002-09-23 19:55:10 +00:00
curt
f6607cac90
Removed some depricated code snippets.
2002-09-23 18:52:21 +00:00
curt
5133b9467b
Removed some left over debugging output.
2002-09-23 18:49:12 +00:00
curt
29e72b0b90
Various tweaks and fixes to navcom radios.
...
Oops, taking the address of a temporary in main.cxx: 3dcloud rendering.
2002-09-23 18:44:09 +00:00
david
5eef7d7ad1
Removed tabs.
2002-09-23 15:27:46 +00:00
curt
7b01068d9c
Bernie Bright:
...
fgLoad3DModel() throws an exception if it fails to load the requested model.
This causes FGTileMgr::update(...) to exit. So I've added a try/catch block
to catch the exception and display an error message instead.
2002-09-23 14:23:17 +00:00
curt
578073a6f3
Slightly cleaned up 3d cloud positioning code.
2002-09-23 13:34:51 +00:00
curt
e23b22fabe
There is something wierd about moving the cloud base around, let's just leave
...
it rooted in place until we sort out the positioning.
2002-09-22 23:07:01 +00:00
tony
743b4848cf
Changed much inline code to non-inline. The inline code that remains in the header *must* be there to avoid linker errors.
2002-09-22 15:32:45 +00:00
tony
1ca94a72c0
Latest updates, including a thrust-only turbofan model. It should produce
...
realistic thrust (including time-dependent effects), but does not provide
N1, N2, EPR, etc.
2002-09-22 15:31:09 +00:00
david
c3a1a9335e
Added OBJECT_SHARED, which is identical to OBJECT_STATIC except that
...
the object is loaded relative to $FG_ROOT rather than to the current
scenery directory.
2002-09-22 11:46:53 +00:00
curt
ab49022465
Patch to position 3d clouds at center of <current> tile. This means the clouds
...
jump whenever you cross a tile, but there are currently a lot of other
positioning problems as well, so this doesn't really detract too much and
means you can play with 3d clouds from just about any starting point.
2002-09-20 15:30:54 +00:00
david
2d7d0034d0
Do 3D cloud state changes only when 3D clouds are selected.
2002-09-20 14:01:06 +00:00
curt
53b9eacf74
Stabalize cloud shading.
2002-09-19 02:21:23 +00:00
curt
b350c6cd0f
Miscellanious flailings trying to get 3d cloud imposter rendering to work
...
correctly.
2002-09-19 01:27:49 +00:00
curt
a15f79f4ae
Cascading changes from the navcom.[ch]xx addition.
2002-09-19 01:12:26 +00:00
curt
3d2311d884
Split Nav/Com units out into their own source code file to continue the
...
process of simplifying radiostack.[ch]xx
2002-09-19 01:11:07 +00:00
curt
e0a7536e55
Erik Hofman:
...
This patch shows fatal error messages even when ./configure --disable-logging
is specified.
2002-09-18 16:13:08 +00:00
curt
c5f7f15f5b
Updated from Norman to hack on clouds ... some progress.
2002-09-18 14:57:20 +00:00
curt
bb4fe6907f
Bernie Bright:
...
Fix a problem compiling Main/fg_io.cxx with MSVC.
2002-09-17 16:16:54 +00:00
curt
0d7a859d76
Bernie Bright:
...
Added some missing defines to config.h-msvc6 and updated the version macros.
2002-09-17 16:16:31 +00:00
curt
b811ce4bcf
Fixed some stupidity.
2002-09-17 02:36:59 +00:00
curt
cc87fb93ba
Updates for 3d cloud rendering.
2002-09-16 14:56:16 +00:00
david
95e1b51068
Added --enable-clouds3d and --disable-clouds3d options.
2002-09-16 02:46:23 +00:00
curt
73c4fd481d
Changed the clouds3d header install directory.
2002-09-15 04:32:49 +00:00
curt
82c87b2456
Updated the base package version required.
2002-09-14 01:58:40 +00:00
curt
bdde29e203
Update base package version.
2002-09-13 23:37:55 +00:00
curt
a4b3e35c0e
Stubbed in initial support for 3d clouds.
2002-09-13 20:38:15 +00:00
curt
b92244ea7a
Added support for calibration properties.
2002-09-12 03:15:27 +00:00
curt
e2313bfb55
Michael Selig:
...
A bug lurked into our uiuc code.
There are two changes:
[1] Comment out the chunk of code as shown (compare w/ the old)
[2] Put back in the function call, and in that code change AlphaTail to Alpha.
2002-09-11 18:27:26 +00:00
curt
f8abc6d848
Fixed: When you select Menu->Autopilot->Set Heading nothing happens.
2002-09-11 16:51:23 +00:00
curt
1784ad74b6
Updates from Rob Deters.
2002-09-11 16:45:47 +00:00
curt
93c9f8cbf4
Updates from Rob Deters.
2002-09-11 02:31:10 +00:00
curt
ed4a2e6db6
Darrell Walisser:
...
This allows it to behave like a certified Mac OS X citizen.
2002-09-10 19:43:33 +00:00
curt
f8c24745b6
Initial revision
2002-09-10 01:13:59 +00:00
curt
5598d2735a
Read the desired menu font from the property system (or default to
...
typewriter.txf if it's not specified.)
2002-09-07 14:16:06 +00:00
curt
2da005377e
Fix a typo that could cause a crash on some platforms.
2002-09-07 14:15:10 +00:00
david
832d514d05
Added explicit std:: prefix to map to work-around MSVC6 bug reported
...
by Jonathan Polley.
2002-09-07 13:16:48 +00:00
david
f0195b564d
Made temperature, dew-point, and pressure at altitude read-only, so
...
that they won't get messed up during a reset if there are reassigned
before the altitude.
2002-09-07 13:00:20 +00:00
david
0ba90f4d2b
Patch from Julian Foad:
...
Use getDisplayName instead of duplicated code: gives a better
decision on whether to display the index.
Replace unnecessary node lookups by name with direct access: tidier
and more efficient. E.g. "getValueTypeString
(node->getNode(name.c_str()))" -> "getValueTypeString (child)".
2002-09-07 12:35:31 +00:00
david
7599f0ec8c
Patch from Julian Foad:
...
When the scroll bar slider is dragged, the list scrolls only far
enough to see all items; only the arrow buttons can scroll it so far
that the last item goes to the top of the view.
Fix scroll bar proportional size: was wrong when the list was only
a little longer than the visible area.
Minor fixes such as "delete files[i];" -> "delete[] files[i];"
(where the item being deleted is an array of characters) and removal of
global variables.
Smooth scrolling when dragging the slider: one item at a time,
rather than one tenth of the list at a time.
Fix a bug that would have occurred if instantiated with arrows=2.
Sort properties primarily by name and then by numerical index
order, rather than a simple ASCII string order. E.g. "js[1]", "js[2]",
"js[10]" rather than "js[1]", "js[10]", "js[2]".
Avoid crashing if the selected property path does not exist;
display an empty list instead. This cannot happen when the property
picker is working properly, but did happen due to missing indices prior
to this patch, and could happen if the user is allowed to type a
pathname, as in the http and telnet interfaces.
Fix truncation of strings to PUSTRING_MAX: was wrong when string
length was exactly 80.
Fix: move the scroll bar to the top each time a new list is
displayed. It was left at its previous position, while the top of the
new list was displayed, not corresponding to the slider.
Use getDisplayName instead of duplicated code: gives a better
decision on whether to display the index, and avoids invalid property
paths being generated which would previously crash find_props().
Replace unnecessary node lookups by name with direct access: tidier
and more efficient. E.g. "getValueTypeString
(node->getNode(name.c_str()))" -> "getValueTypeString (child)".
2002-09-07 12:35:06 +00:00
curt
6bcef49afc
Erik Hofman:
...
It turned out that pui required the submenu structure to be declared
backwards, which I didn't notice the first time.
2002-09-05 21:58:24 +00:00
tony
83179a5daf
Various clean-ups.
2002-09-05 13:55:16 +00:00
curt
e9dba2caa1
Removed dos line endings.
2002-09-03 13:27:45 +00:00
curt
1dfb58783c
Additional build system tweaks.
2002-09-03 01:12:26 +00:00
curt
9de48125cc
Initial revision.
2002-09-03 00:50:01 +00:00
curt
9a5ec79e11
Updates to the UIUCModel code. This includes some big compile time
...
speedups to uiuc_menu.cpp.
(Note these were originally submitted before the cutoff date for new
features, but something was corrupted in the transfer so I granted a bit
of leeway in the schedule.)
2002-09-02 23:26:28 +00:00
curt
401c0afcd9
Return the closest match, not just the first match. Sometimes there
...
are stations with the same frequency close enough together to cause problems
for our code.
2002-09-02 05:31:46 +00:00
curt
692445fe3e
Read the com1/2 on/off switch.
2002-09-01 03:02:11 +00:00
david
d4f92d6aff
Removed unused cur_view_fdm variable as suggested by Bernie Bright.
2002-08-31 19:48:28 +00:00
tony
408c3d5dda
Removed unused and improperly initialized constant.
2002-08-30 13:43:28 +00:00
curt
66ab510a3e
Norman's fix to make the help system start on Win32.
...
And fixed up some other non-sensical code in the vicinity which
was generating compiler warnings.
2002-08-29 21:00:22 +00:00
tony
f8c1e8dc98
Fixed an oops.
2002-08-29 13:39:29 +00:00
tony
b2fe0cc682
Added FGTurbine.[ch]*
2002-08-29 13:27:43 +00:00
tony
3f459636fd
New Turbine engine model framework
2002-08-29 13:26:49 +00:00
curt
430f030cbf
Make adf volume and adf on/off seperate properties.
2002-08-29 04:18:55 +00:00
curt
17efea3ec0
Ignore files that have -set.xml in them, but don't end in that exact string
...
(i.e. something-set.xml~)
2002-08-28 17:53:52 +00:00
curt
61655bb2b2
Add support for a --show-aircraft option. This displays a list of all
...
available aircraft and a brief description if one is available.
2002-08-28 16:59:40 +00:00
curt
5aaa533da9
Fix a compile error.
2002-08-28 16:58:57 +00:00
tony
b5d116dad7
Latest JSBSim updates.
2002-08-28 13:46:42 +00:00
curt
21db1e10b2
More tweaks to the automake/conf configuration scripts.
2002-08-28 03:34:31 +00:00
curt
ff7c8101bc
Modernize the autoconf/automake files.
2002-08-27 23:52:15 +00:00