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 |
|
daveluff
|
b9985548d4
|
Fix a nasty problem in the FGAIMgr search code that could cause a stackdump with AI traffic enabled
|
2003-03-14 12:27:24 +00:00 |
|
daveluff
|
f74d6ec90e
|
Whoops - left out ++itr in a while(1) loop
|
2003-03-13 11:44:40 +00:00 |
|
daveluff
|
034f224de7
|
Need to call Init() when initialising tower, otherwise bad things happen...
|
2003-03-11 23:41:03 +00:00 |
|
daveluff
|
ac731cdd36
|
Emergency fix of a possible dereference dangling pointer path uncovered by Martin Spott
|
2003-03-11 17:15:23 +00:00 |
|
daveluff
|
46261bb51b
|
Added a function to determine whether a point is on a given runway
|
2003-03-11 13:25:14 +00:00 |
|
daveluff
|
0333c21bbf
|
Added a function to return the closest ATC station of a given type
|
2003-03-11 13:24:35 +00:00 |
|
daveluff
|
aabe4da5ca
|
Start roughing in interactive tower control. AI planes now get the ground control pointer through tower control, which then handles the difference between larger airports with separate ground and smaller ones where tower handles it
|
2003-03-10 13:41:37 +00:00 |
|
daveluff
|
3a2495e47a
|
Add units to function documentation
|
2003-03-10 13:40:10 +00:00 |
|
daveluff
|
75e26663bd
|
Fixed a compile problem that affected gcc-2.95 users on Cygwin and removed a few unused variable warnings
|
2003-03-09 23:04:38 +00:00 |
|
daveluff
|
a32c7d50bb
|
FGAIMgr now searches for proximity to airports with logical networks defined at startup and periodically thereafter, and only starts AI traffic when a suitable airport is found in range (currently only KEMT). In theory it should now be possible for a user to drop in a *.taxi file in my undocumented-shortly-to-change format into fgfsbase/ATC and have an AI Cessna appear at that airport and fly a circuit if they start there or fly near there. In practice its probably better until we start using the output from Bernie's taxiway editor, and there's bound to be glitches once other networks are tried
|
2003-03-09 17:39:44 +00:00 |
|
daveluff
|
a9463a8399
|
Added a range parameter to the FindByPos search function, also fixed a bug whereby one too few buckets in the North and East direction were searched - hence when only one bucket should have been searched none were
|
2003-03-09 17:35:16 +00:00 |
|
curt
|
4223da1a4b
|
Eeek! Emergency fix of a couple "case" problems for includes.
|
2003-03-07 14:42:14 +00:00 |
|
daveluff
|
c49a6be9bc
|
Whoops - forgot SG_USING_STD(cout)
|
2003-03-07 14:06:52 +00:00 |
|
daveluff
|
96970dcbaf
|
More stuff to make the AI/ATC system less hardwired and more generic. Most of the hardwired stuff is now gone - there's just a little bit left in FGAIMgr
|
2003-03-07 13:58:33 +00:00 |
|
daveluff
|
1154a0dae2
|
Added FindByCode (airport ICAO code) to commlist. This is basically a wrapper around Flightgear's airport lookup and FindByPos
|
2003-03-06 14:06:34 +00:00 |
|
daveluff
|
c70faa4c0d
|
Added constructor to ATCData struct
|
2003-03-06 14:04:02 +00:00 |
|
daveluff
|
3f15f38d8d
|
If no wind, active runway is now read-out as the most Westward facing one which is consistent with the rest of FlightGear
|
2003-03-05 21:40:24 +00:00 |
|
daveluff
|
42527ecf1b
|
Removed a lot of the remaining hardwired KEMT stuff, made the initialisation more generic, added the ability to taxi from a parking spot to a runway, used real ground elevation more
|
2003-03-05 21:38:29 +00:00 |
|
daveluff
|
8bbaba3193
|
Added some airport search functions that are straight copies of a couple of statics in fg_init, and will probably be removed again at some point, and added a function to convert a runway designator string to a spoken style phrase
|
2003-03-05 21:34:58 +00:00 |
|
daveluff
|
f930c93ddb
|
Added a function to get a path from a gate to a runway threshold, also removed some couts
|
2003-03-05 21:31:54 +00:00 |
|
daveluff
|
c8b8afeb78
|
IRIX fixes from Erik Hofman
|
2003-03-03 11:43:49 +00:00 |
|
daveluff
|
b308e92bd6
|
Removed DOS line endings
|
2003-03-03 10:38:13 +00:00 |
|
daveluff
|
489b8186b0
|
Use actual terrain ground elevation instead of hardwired KEMT elevation field whilst taxiing. Still need to fix this for takeoff and landing roll. Also added a check that a valid gate is found whilst arriving, and simply disappear the plane if none is found (instead of stackdumping\!\!
|
2003-02-26 11:24:15 +00:00 |
|
daveluff
|
42868f2550
|
Whoops - a stray debugging cout got through
|
2003-02-25 09:32:49 +00:00 |
|
daveluff
|
54a7b5d9ad
|
Modified slightly whilst developing the shortest-path algorithm in the ground code. Also removed some old KPAO specific initialisation.
|
2003-02-24 19:04:53 +00:00 |
|
daveluff
|
e805a4188c
|
Added a shortest-path algorithm between two nodes and removed the hardwired KEMT-specific path. Also tidied up some bugs in the gate handling code
|
2003-02-24 19:03:15 +00:00 |
|
daveluff
|
0ecc199b09
|
Added basic support for using more than one voice. The render function is moved out of ATCmgr and into the ATC base class.
|
2003-02-18 10:44:01 +00:00 |
|
daveluff
|
ecad8a206e
|
Alexander's new files added to Makefile.am
|
2003-02-13 12:21:01 +00:00 |
|
daveluff
|
85a79b4886
|
Changes in support of Alexander's ATC menu/transmission work. In particular all the pop-up dialog stuff has been ripped out of ATCmgr.[ch]xx and moved to ATCDialog.[ch]xx
|
2003-02-13 12:20:25 +00:00 |
|
daveluff
|
b271bc5da2
|
Better robustness for the ATCData structure istream operator. Adding fin.close() seems to have cured an intermittent stackdump when reading in the voice files which are the next istream operation to occur. Unknown types no longer cause the rest of the file not to be read - only the specific unknown entry
|
2003-02-13 12:17:37 +00:00 |
|
daveluff
|
f57e495893
|
Alexander's Approach ATC class modified to support his new menu/transmission code
|
2003-02-13 12:09:28 +00:00 |
|
daveluff
|
5dbf38c273
|
First draft of work by Alexander Kappes to add dynamically driven menu entries to the pop-up ATC dialog, parsing of text input to the ATC system and parameterised transmissions where the speech of a transmission is derived from the intent based on data files potentially allowing users to specify different phrases for each voice instead of being hard-coded. This is a work in progress.
|
2003-02-13 12:05:19 +00:00 |
|
daveluff
|
4231262d61
|
Several *list.[ch]xx files removed
|
2003-02-10 22:30:13 +00:00 |
|
daveluff
|
5e40c46afc
|
approachlist.[ch]xx superceeded by commlist.[ch]xx
|
2003-02-10 22:29:15 +00:00 |
|
daveluff
|
f3cc3cc658
|
towerlist.[ch]xx superceeded by commlist.[ch]xx
|
2003-02-10 22:28:31 +00:00 |
|