daveluff
6e73e7dc08
Further progress towards interactive tower control. Very much an initial stab at a first iteration of a tricky problem, ie don't look too closely - some of it is ugly!
2003-09-19 16:51:27 +00:00
daveluff
bac252c23d
Reduce taxiing speed a fraction
2003-09-19 16:48:58 +00:00
daveluff
8acea57ad2
Add an overloaded function
2003-09-19 16:48:27 +00:00
daveluff
ca230a7cf3
Remove a couple of extraneous lines.
2003-09-19 09:38:22 +00:00
ehofman
19b61eec1e
Fix a model loading problem
2003-09-17 09:44:37 +00:00
daveluff
d3b7c2ac10
Fix a couple of bugs that resulted in ATIS not being heard at airports with AI traffic active
2003-09-05 13:58:51 +00:00
daveluff
b898c5e4ff
Change the start of descent point of the AI plane when the circuit has been extended when following previous traffic - it should not land short now, although it can land a way down the runway if start of descent should occur during a turn, since it doesnt start descending until the turn is finished
2003-09-05 10:26:11 +00:00
daveluff
be274df23b
Guard against update(...) getting called before init(...)
2003-09-05 10:23:20 +00:00
daveluff
1520fd648e
Output a few properties for AI code devel convienience - probably temporary
2003-09-05 10:22:18 +00:00
daveluff
3f162abf09
Whitespace cleanup
2003-09-05 10:21:29 +00:00
curt
e6859e4fe0
Redo the runway database scheme to use a flat/ascii file and load the entire
...
database into memory at the start. This should completely eliminate any
dependencies we have on metakit.
2003-08-29 04:11:23 +00:00
curt
6665d7d609
Remove one dependence on MetaKit.
2003-08-28 20:53:08 +00:00
curt
b4d0b6dcd4
Fix a property name spelling error.
2003-07-31 01:41:46 +00:00
daveluff
a714849cbd
Initial stab at making the AI plane take the user into account when flying a circuit. The AI plane will now delay it's turns to the various legs if the user has flown a wider pattern that it normally would in front of it. However, this is very much still work in progress - when the pattern gets extended the AI plane lands short of the runway, and it doesn't alter its speed around the circuit at all, only the turn positions. Still, its a start...
2003-06-11 21:49:46 +00:00
daveluff
d975fc129c
Minor changes to the comments
2003-06-11 21:16:40 +00:00
david
e588cbadd8
Removed FGEnvironmentMgr as a special case in globals, initialization,
...
etc.
Improved the weather system to interpolate between different
elevations and deal with boundary-layer conditions. The configuration
properties are now different (see $FG_ROOT/preferences.xml).
2003-06-08 14:47:03 +00:00
daveluff
f61dbf1382
Explicitly initialise aptElev
2003-06-03 14:08:24 +00:00
daveluff
b9332af209
Fix for Cygwin compilation
2003-06-03 13:08:42 +00:00
ehofman
d8ab993194
initialize some otherwise unitialized variables
2003-05-23 11:55:26 +00:00
curt
3c7bdc31d9
Cosmetic changes for new code moved into simgear to make the naming scheme
...
better follow simgear conventions.
2003-05-13 03:18:42 +00:00
curt
56db994994
Moved src/Model/loader.[ch]xx and src/Model/model.[ch]xx to
...
simgear/scene/model/
2003-05-09 20:40:59 +00:00
curt
51c04e9e4c
- Added "SG" prefix to sound classes that recently moved to SimGear.
...
- Cleaned up some minor compiler warnings.
- Moved src/Model/placement.[ch]xx over into simgear/scene/model/
2003-05-09 19:39:48 +00:00
ehofman
5ecfcca7e4
Extract the sound code from FlightGear and move it to SimGear
2003-05-09 18:44:33 +00:00
curt
575b3ac98c
Working at unraveling and breaking dependencies inside of src/Model.
...
I split the FGModelPlacement code out into it's own set of source files.
I created two versions of the fgLoad3DModel() routine. One that is
unecumbered by a panelnode dependency and one that is. acmodel.cxx is
the only place that needs to load an aircraft with instrument panels.
model.[ch]xx are now pretty much free to move over into simgear.
loader.[ch]xx should be able to follow closely behind.
This will be a big step towards being able to move the material management
code over into simgear.
2003-05-08 20:28:46 +00:00
daveluff
a142091a08
Fix to an ATC/AI communication timing bug
2003-05-07 00:07:20 +00:00
curt
2119db35c3
This is step "1" of probably "many" in the process of separating out the
...
scene management code and organizing it within simgear. My strategy is
to identify the code I want to move, and break it's direct flightgear
dependencies. Then it will be free to move over into the simgear package.
- Moved some property specific code into simgear/props/
- Split out the condition code from fgfs/src/Main/fg_props and put it
in it's own source file in simgear/props/
- Created a scene subdirectory for scenery, model, and material property
related code.
- Moved location.[ch]xx into simgear/scene/model/
- The location and condition code had dependencies on flightgear's global
state (all the globals-> stuff, the flightgear property tree, etc.) SimGear
code can't depend on it so that data has to be passed as parameters to the
functions/methods/constructors.
- This need to pass data as function parameters had a dramatic cascading
effect throughout the FlightGear code.
2003-05-06 23:46:24 +00:00
daveluff
a36bf24252
Further progress towards intelligent interaction between the AI plane and the user's plane
2003-04-15 22:55:22 +00:00
daveluff
139f3df761
Moved PatternLeg from AILocalTraffic to AIPlane
2003-04-15 22:54:11 +00:00
daveluff
49434e3085
Fixed some stuff in runway number to spoken string function, and added Alexander's function to get the minimum angular difference between two headings from approach to ATCutils
2003-04-15 10:37:58 +00:00
daveluff
541ff04072
Fix of framerate drop due to broken OnActiveRunway function - don't read in the runway.mk4 file (~1MB) every frame
2003-03-31 16:24:41 +00:00
daveluff
3f53eaeaa7
Add width to ATC RunwayDetails structure
2003-03-31 16:23:49 +00:00
daveluff
fa094c9980
Slight change of function api
2003-03-31 16:23:23 +00:00
daveluff
e4e6864613
Emergency fix of framerate problem
2003-03-31 09:51:36 +00:00
daveluff
657dfefec0
Calculate active runway in FGGround. It would be better to get the active runway from FGTower instead of duplicating the code to calculate it, but at the moment I can't guarantee that tower control at a given airport will be initialised before ground control, so this will have to do for now...
2003-03-28 15:25:48 +00:00
daveluff
b19e54c78a
Moved the RunwayDetails struct definition out of tower.hxx to ATC.hxx
2003-03-28 15:24:02 +00:00
daveluff
d936531600
Initialise user lon, lat and elev
2003-03-27 15:46:23 +00:00
daveluff
9efdc3030e
Some fixes to Alexander's pop-up dialog box
2003-03-27 15:45:48 +00:00
daveluff
e5dbeccc58
Log to SG_ATC instead of SG_GENERAL and cout
2003-03-27 15:45:20 +00:00
daveluff
55daa52f79
Pass dt to update(...)
2003-03-27 15:44:35 +00:00
daveluff
559b134878
Start interacting with ATC (still somewhat rudimentary)
2003-03-27 15:44:10 +00:00
daveluff
7fc214fab3
Progress towards interactive ATC...
2003-03-27 15:41:09 +00:00
daveluff
a4ea7c7561
Oops - let some DOS line endings creep in - quickly get rid of them before Erik notices...
2003-03-26 10:02:32 +00:00
daveluff
81c9e14c7e
MSVC fix from Frederic Bouvier
2003-03-24 11:06:00 +00:00
daveluff
3be0e17e66
Remove un-needed typedef
2003-03-24 11:05:25 +00:00
daveluff
254dc934d1
Add a function to allow transmission of messages to AI entities - the actual implementation is a bit of a temporary hack at the moment
2003-03-20 11:53:44 +00:00
daveluff
6fef4d457b
Load ground ATC frequency data, and map all stations by bucket index
2003-03-20 11:51:44 +00:00
daveluff
ef3b5a4d61
Minor formatting changes
2003-03-20 11:50:34 +00:00
daveluff
3364b6f19d
Base length of time messages are displayed for on dt rather than iterations in order to de-couple it from frame rate
2003-03-20 11:22:08 +00:00
ehofman
01be2ed8e4
Compiler warning fixes and small updates
2003-03-19 17:46:52 +00:00
daveluff
47f46d151d
Add the ability to scroll single ATC messages - this is toggled using property /ATC/display/scroll-single-messages (off by default). Also increased the time that single messages are displayed in non-scrolling mode - this makes ATC transmissions easier to read.
2003-03-17 11:32:51 +00:00