1
0
Fork 0
Commit graph

8269 commits

Author SHA1 Message Date
ehofman
ef5748a00e David Culp:
Here's the newest AI stuff.

The AIManager at init() creates a new scenario.  Right now the
default_scenario is hard coded in, but eventually the AIManager should get
the scenario filename from preferences.xml.

The scenario defines which AI objects will be created.  Right now it only
creates AIAircraft, but this is easily extended.  The scenario also defines
which flightplan will be assigned to the airplane.  Scenario config files go
in data/Data/AI.

The Airplane gets a pointer to a FlightPlan object.  Each airplane should get
its own flightplan object, even if two airplanes have the same flight plan.
This is because  the flightplan maintains the iterator pointing to the
current waypoint, and two airplanes might be at different locations (for
instance if they were created at different times).  The flight plan files go
in data/Data/AI/FlightPlans.

When the airplane gets to the waypoint named "END" it vanishes.  The
AIAircraft destructor deletes its flight plan (if it has one).

The last waypoint is a place holder only.  I called mine
<WPT><NAME>"EOF"</NAME></WPT>.
2004-05-15 09:07:56 +00:00
andy
fcab4c6e7b That didn't work. I found out why and fixed it. (Heh. Don't put the
bindings on the group object.  Those don't fire callbacks very often.)
2004-05-14 21:57:33 +00:00
andy
cd9119008d Misc changes. Remove the width/height values for the slider, since
the root problem was a C++ bug.  Remove the no-op hbox around the mute
button, and make it "live" when clicked.  Tried to make the slider
live, but discovered that bindings don't work on them; gotta fix
that.  Change some of the wording to be more in line with standard
conventions; hopefully Curt's OK with that. :)
2004-05-14 17:35:18 +00:00
curt
6e40f10ab9 Add a sound config dialog box, needs some work but doesn't hurt anything. 2004-05-14 16:21:11 +00:00
curt
2af0a69765 Property /sim/sound/audible renamed to /sim/sound/pause
Individual aircraft -set.xml files shouldn't set global sound/volume
properties for the entire application.
2004-05-14 15:54:22 +00:00
ehofman
4c93990a46 Add some audio files for the bo-105 that could be potantially useful for others as well. 2004-05-14 13:49:52 +00:00
ehofman
c752dc927d Add the Cyborg Evo from Phillip Jones. 2004-05-13 14:45:27 +00:00
andy
42cd87bbfe The cached tip dialog broke when layout management went in (previous
x/y/width/height values went into the calculation for the next popup,
and things got iteratively worse due to padding issues).  But the
good news is that this whole subsystem is vastly simpler when
implemented with the new interface.
2004-05-12 18:41:29 +00:00
andy
f49f0d18c7 Yank the duplicate target-speed input fields, and use a single one
that spans both rows.  It works well, but might be a little ugly...
2004-05-12 17:06:14 +00:00
andy
54954eb8de GUI layout management and a few visual/eye-candy modifications. See
DOCS/README.layout in the base package for details, along with the
modified dialog files.
2004-05-12 15:37:17 +00:00
david
72777e70cc Light AI (again). 2004-05-08 02:17:38 +00:00
ehofman
3654ccb65f Add the Top-Gun-Fox2-Pro USB joystick, modify the Macally iStick USB joystick and update axis bindings to allow the Saitek X45 to work under Max OSX. 2004-05-06 16:12:32 +00:00
andy
69b9fad5d5 Fixed font metrics. 2004-05-04 19:21:57 +00:00
ehofman
6ff20282a1 Add a dialog box to set the GPS waypoints. 2004-05-03 19:06:02 +00:00
ehofman
1cf6ed49ed Add support for the Macally iStick USB 2004-05-03 19:02:16 +00:00
andy
efd09cea39 Documentation for the new <turbine-engine> and <piston-engine> tags. 2004-05-01 00:30:19 +00:00
andy
5edd104b6b Add windows name for the device, and a note about the mode switch. 2004-04-30 15:31:10 +00:00
andy
7babf42a23 Oops, include the windows driver name string too. 2004-04-30 15:26:55 +00:00
andy
cda071eac3 Fix a few windows issues with the axis mappings 2004-04-30 15:24:04 +00:00
andy
aa2686c0b9 Support a "kill-when-empty" flag on tanks to enable the strict
"engines die when any tank is empty" behavior.  Otherwise, just
deselect the empty tank.  This matches the "both" behavior many
lightplane fuel selectors have.
2004-04-30 14:42:42 +00:00
andy
057b31de46 Docs for taper and midpoint fuselage attributes. 2004-04-30 02:50:38 +00:00
ehofman
796354421d Update the header to match the configuration file. 2004-04-29 09:18:57 +00:00
ehofman
efaab2be2a Fix the UNIX/Windows axis mismatch. 2004-04-29 09:14:14 +00:00
ehofman
b67ef3b275 Make it work on windows and unix. 2004-04-28 09:05:57 +00:00
ehofman
996ed1a717 Adjust the joystick configuration to match the new code changes. 2004-04-28 08:23:38 +00:00
ehofman
072bed40b7 Add the engine matching the MD-11. 2004-04-27 09:22:31 +00:00
ehofman
483b300774 Add support for a Windows version of the SideWinder Precision Pro joystick. 2004-04-27 08:45:01 +00:00
david
1b0ec336bc Added some more ignorable files. 2004-04-19 20:46:05 +00:00
andy
938323d48b Oops, misinformation 2004-04-19 15:22:03 +00:00
andy
82abdebbfa Clean up the eng-power/eng-rpm docs. 2004-04-19 14:01:10 +00:00
curt
8ab947db84 Roy Vegard Ovesen:
Here is the KAP140 Two Axis Autopilot update.

I think it's fairly complete now, all the modes are working. I tested the
localizer and glideslope hold and it was pretty stable all the way down to
the middle marker.

In the pilot guide for backcourse hold (REV) mode it says to reset the heading
bug to the _front course_. I haven't figured out how to implement this so for
the time beeing one should reset the heading bug to the _backcourse_. Apart
from this the panel should operate identical to the way the pilot guide
describes.
2004-04-16 22:14:00 +00:00
curt
a9a359055b Add a default value that the KAP140 autopilot needs. 2004-04-16 22:07:01 +00:00
curt
0dda4feaa0 Roy Vegard Ovesen:
Here is the KAP140 Two Axis Autopilot.

Aircraft/Instruments/KAP140TwoAxis.xml
Is of course the instrument config file.

Aircraft/Instruments/Textures/KAP140.rgb
The texture.

Nasal/kap140.nas
Most of the work is done here. Without Nasal I don't see how I could implement
the NAV-ARM modes and the flashing annunciators.

Aircraft/c172p/Systems/KAP140.xml
The autopilot PID controllers configuration file. Maybe this file should be in
a more accessible directory and not hidden deep inside c172p!?

I've also attached the changes to the default C172 to include this autopilot
in the 3d-cockpit panel and the 2d vfr panel. Or at least I hope that I've
managed to include all that is needed.
2004-04-16 21:59:51 +00:00
ehofman
b5f834b6e7 Store information about rolling-friction and bumpyness. 2004-04-13 11:35:39 +00:00
ehofman
be25f1cf97 Add a (turbo)prop(eller) sound 2004-04-11 19:37:23 +00:00
ehofman
a73075dc12 Updates to match the Fokker 50 2004-04-10 13:55:56 +00:00
ehofman
e4fd2a455a Sync. with the functions of the Cyborg-Gold-3d-USB 2004-04-09 09:06:30 +00:00
ehofman
a3381b7e41 Oops, follow the default naming convention 2004-04-07 11:56:33 +00:00
ehofman
82addb59e1 Move the switches to the controls subdirectory and add some default knobs 2004-04-07 11:54:11 +00:00
ehofman
c055153de5 Melchior FRANZ:
Add harrier/vtol support:

Display the Harrier's thrust vector setting.
0=vertical, 100=max forward flight, -20=max backward
2004-04-06 16:47:57 +00:00
andy
eb5124840b Keybindings for the HUD, which used to be hardcoded in input.cxx.
Note that they're still very inflexible; I just mapped C++ functions
to new commands.
2004-04-05 19:39:47 +00:00
andy
15401619e5 There used to be a hard-coded F6 binding in input.cxx. Replace it
with a tiny bit of Nasal.
2004-04-05 18:55:33 +00:00
ehofman
db4056f70d Adjust the color. General impression is it was too blue. 2004-04-05 12:49:48 +00:00
ehofman
1982c2eff9 Frederic prevers this one over my previous one. 2004-04-04 15:04:07 +00:00
ehofman
009c70328b Adjust color and shape of the texture a bit. 2004-04-04 14:04:02 +00:00
ehofman
6235cb1150 Added for Frederic's top/bottom cloud cloud layer patch. 2004-04-04 13:43:10 +00:00
ehofman
41eb331912 Frederic: Real ufo are spinning, aren't they? I am sure they are. 2004-04-03 09:01:45 +00:00
curt
dc1197e2b2 Update various electrical system configurations to reflect code changes
supporting a per engine master alt/bat switch.
2004-04-02 16:22:55 +00:00
andy
a8750474fd Clarifications. 2004-03-31 19:45:22 +00:00
ehofman
85cb214a18 Frederic Bouvier:
this one missed the release  The right aileron animation of the
c172p is inverted.
2004-03-30 08:32:42 +00:00