ehofman
919ccdb96a
Remove a leftover from a previous patch.
2006-01-21 10:03:36 +00:00
ehofman
31e3caa4f6
Sync. w. JSBSim
2006-01-20 17:50:45 +00:00
ehofman
619226e9d0
Integrate a large part of John Wojnaroski's 747 cockpit project.
...
Erik Hofman:
This patch contains an update to net_ctrls.hxx that adds an extra 100 bytes
(or an equivalent of 25 (u)int32_t types) of reserved space. This could be
used to make the protocol forward and backward compatibel within a certain
scope. Be sure to read the instructions at the begining of the header file
when addinf new variables.
2006-01-20 17:19:01 +00:00
ehofman
0b1e386ade
Make sure the path to simgear and plib get added to the include path before anything else.
2006-01-14 10:16:28 +00:00
daveluff
3d5afec340
Fix the crashes on mini-panel and panel-reload with the KLN89, by removing the multiple inheritance and using an empty shell instrument to forward draw commands from the panel to the complex gps subsystem.
2006-01-13 22:07:50 +00:00
fredb
28b5a6d8bd
Remove the filtersjb left over
2006-01-13 14:33:07 +00:00
fredb
17d20cf606
Remove the filtersjb left over
2006-01-13 14:00:13 +00:00
ehofman
f73f2f7254
Hide some user generated files.
2006-01-13 09:50:58 +00:00
ehofman
587fd0937e
Remove a bunch of unneede files.
2006-01-13 09:49:09 +00:00
fredb
d0618685a2
Typo
2006-01-12 21:35:59 +00:00
fredb
bcc8339c4f
Variable 'thrust' used before being initialized
2006-01-12 21:35:32 +00:00
fredb
4303c2b9a6
Redundant loop variable declaration
2006-01-12 21:35:08 +00:00
fredb
5d5a58de80
Don't declare functions that are not implemented
2006-01-12 21:34:36 +00:00
ehofman
932b38a87e
sync. with JSBSim v. 2.0
2006-01-12 15:04:22 +00:00
ehofman
fcfe5d2010
Don't display the menubar in e highres screenshot.
2006-01-11 10:53:04 +00:00
curt
c3cf810562
Another attempt at fixing a cygwin compiler error.
2006-01-10 15:23:10 +00:00
curt
ac5e874523
Fix a compiler warning (member initialization order in constructor.)
2006-01-10 15:06:17 +00:00
curt
311b85a11d
Small change to avoid dangling audio resources.
2006-01-10 14:51:12 +00:00
curt
5329ed10a7
Cygwin fix.
2006-01-10 02:49:52 +00:00
curt
691f096c68
Add an srand() function to nasal (hooked into sg_srandom_time()).
...
This helps avoid the problem of always getting the same random number
sequence every time you run a script.
2006-01-09 15:29:24 +00:00
curt
71d0001f3d
Add a directory listing command to nasal. Given a directory name, return
...
the file list as an array.
2006-01-09 03:48:14 +00:00
curt
ee065ee6ef
Write 'fg_root' in the property tree at /sim/fg-root
2006-01-09 03:47:33 +00:00
curt
e475a50ead
Expose the "play-audio-command" through the props/telnet interface.
2006-01-09 02:23:50 +00:00
curt
3ed73e16b6
Add a do_play_audio_message() function which is tied to the
...
"play-audio-function" command. This function can be called from internal
code, from nasal scripts, or from external scripts to play a single one-off
wav file. File/audio data is loaded and unloaded on the fly automatically.
2006-01-09 02:23:02 +00:00
curt
4132b41470
Additional functionality added to the FlightGear sound fx manager.
...
Create a queue of one-off wav files. Calling layer can request the system
to play any wav file. The request is thrown at the end of a play queue.
The queue is serviced sequentially so that queued wav files will no longer
overlap. When a sample is finished playing. It is removed from the queue
and deleted from memory. The next remaining request in the queue is then
played.
2006-01-09 02:21:04 +00:00
ehofman
0e16419f0d
Stuart Buchanan:
...
- Provide a Nasal interface to display simple text messages on the screen
like the ATC display. In fact, I copied the code from the ATCDisplay.cxx
and simply shifted it further down the screen.
Erik:
TODO: Integrate the two pieces of code.
2006-01-06 09:50:58 +00:00
ehofman
0b3164c312
Try to prevent a potential buffer overflow for WIN33.
2006-01-04 13:25:56 +00:00
ehofman
2080773f37
Cygwin fixes.
2006-01-04 12:49:07 +00:00
curt
9bc3a56cd2
Minor oops, committed this file before saving the final version in my
...
editor.
2006-01-02 23:08:45 +00:00
curt
a24ebc6958
- Add an "is-valid" property node so other modules can do a quick check if
...
anything in the nav tree is valid or not.
- Fix an order problem between caching data values and searching for a new
station that could cause odd and unexpected and hard to reproduce results.
2006-01-02 23:01:45 +00:00
ehofman
713ddd05dd
Olaf Flebbe: Make sure the model gets deleted when it's not referenced anymore.
2005-12-30 09:34:29 +00:00
curt
d4f56af242
Remove some left over debugging output.
2005-12-29 16:50:03 +00:00
curt
880a43bdbf
John Ellson:
...
Changes require to compile with a Fedora-Core Development system running
on an X86_64 platform with gcc-4.1.0.
2005-12-29 16:22:38 +00:00
ehofman
4be621fbe9
Durk Talsma, Olaf Flebbe & Mathias Fröhlich:
...
Split up simple.cxx
2005-12-29 13:58:21 +00:00
curt
c3f1331e52
Better estimate of cross track heading error. Also, make sure it is
...
computed correctly when flying outbound from a vor.
2005-12-29 04:07:49 +00:00
curt
1ae9849062
More reorg and refactoring of the code.
...
Added a convenience function to estimate the time to intercept the selected
radial give the current heading and speed. This can be useful to a flight
directory to compute the point to switch from armed to coupled mode at just
the right time so the pilot can roll out onto the desired heading on the
desired radial.
Add a first whack at estimating a ground track heading error (difference
between aircraft heading and ground track directon.) This needs more work
and testing.
2005-12-28 21:45:43 +00:00
curt
ce08000a96
Cache some property values locally to reduce unnecessary property system
...
calls.
2005-12-28 19:11:30 +00:00
curt
ccddc99e73
More naming cleanups.
2005-12-28 18:05:03 +00:00
curt
3bacacfb5c
Clean up some of the member data naming.
2005-12-28 17:26:57 +00:00
curt
c694fe43ee
Step #1 of some code refactoring and cleanups. The nav radio code was
...
written very early in the project and has grown and evolved and been added
onto many times. It is long overdue for a code cleanup/reorg pass.
2005-12-28 16:53:19 +00:00
ehofman
d11df8fcc8
Remove a debugging cout.
2005-12-27 14:30:56 +00:00
ehofman
7b1f1d73e6
Detect the hostname as early as possible to prevent a segmentation fault (and an unknown exception in the main loop situation.
2005-12-27 14:02:38 +00:00
mfranz
a67cb7d6fb
no more "Aborting ...\nPossible cause: Success"
2005-12-22 23:32:23 +00:00
ehofman
faf91ae9e9
Revert to the previous version, this is just a glimps of the future.
2005-12-22 15:13:50 +00:00
ehofman
62c6063fa1
Only test for --fg-root and --aircraft in ~/.fgfsrc et all if it wasn't specified at the command line.
2005-12-22 14:14:08 +00:00
ehofman
b788a204c4
Add an option to enable or disable the save-on-exit option. Add a season commandline option.
2005-12-22 13:51:11 +00:00
ehofman
ffa92dfe4b
Put the user configuration file sequence into it's own function. This will slightly tidy up the code but more importantly will make it consistant across the program.
2005-12-22 10:25:07 +00:00
fredb
653f063bcf
Fix a typo and an unitialized variable
2005-12-22 06:42:00 +00:00
ehofman
49ba607726
Get the environment variables HOME and HOSTNAME only once.
2005-12-21 13:36:04 +00:00
ehofman
e0db27eb6f
Vassilii Khachaturov:
...
clean up some build warnings caught with gcc-4.0.
2005-12-19 13:15:09 +00:00