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 |
|
daveluff
|
20455b1f61
|
atislist.hxx superceeded by commlist.hxx
|
2003-02-10 22:27:43 +00:00 |
|
daveluff
|
4df26cb392
|
atislist.cxx superceeded by commlist.cxx
|
2003-02-10 22:27:12 +00:00 |
|
daveluff
|
1915423544
|
groundlist now replaced by commlist
|
2003-02-07 13:38:57 +00:00 |
|
daveluff
|
df3e54cc47
|
Whoops - missed a file from the commlist changes yesterday
|
2003-02-07 13:34:56 +00:00 |
|
david
|
2a388d796e
|
Use the property /sim/sound/voice to disable voice support even if
/sim/sound/audible is true.
|
2003-02-06 16:17:03 +00:00 |
|
daveluff
|
9b7405304d
|
Major re-work of the comm frequency storage and lookup. Only a small core amount of data is now stored instead of the whole ATC classes. All the comm frequency types are now stored in one map instead of a map each. query(...) and query_bck(...) have been renamed to FindByFreq(...) and FindByPos(...) for clarity and consistency with NavList
|
2003-02-06 10:42:43 +00:00 |
|
daveluff
|
c5403b2a7c
|
Memory allocation bugfix from Frederic Bouvier, plus a few cout's commented out
|
2003-01-19 21:31:37 +00:00 |
|
daveluff
|
9c96e109a3
|
Slight change to some STL stuff that was breaking MSVC6
|
2003-01-17 16:45:26 +00:00 |
|
daveluff
|
2fb9a21f2d
|
Fix compilation bug that only occurred when compiled with weathercm subsystem enabled
|
2003-01-13 19:03:36 +00:00 |
|
daveluff
|
086be2b474
|
Start the ATIS recorded message at a random position into the broadcast when the radio is tuned into it
|
2003-01-07 14:41:49 +00:00 |
|
daveluff
|
c8a67cb773
|
Search ATC frequencies with both comm1 and 2 instead of just comm1 as previously
|
2003-01-07 13:11:00 +00:00 |
|
daveluff
|
a1d4e79127
|
Fix problem with cout
|
2003-01-03 16:30:44 +00:00 |
|
daveluff
|
7ae6c2010d
|
Fix compiler warning
|
2003-01-03 15:01:16 +00:00 |
|