ehofman
009afccb37
Reduce the log-level of the airport not found
...
message.
2004-07-23 18:58:42 +00:00
curt
ec8c167a27
Code at this level shouldn't care if the sound manager is paused or not.
...
Just forge ahead as if sound is playing, let the sound manger worry about
the details.
2004-05-14 15:49:10 +00:00
curt
944a82b576
Clean up some sound buffer allocation/deallocation issues.
2004-05-10 21:24:30 +00:00
andy
7ceb85d454
Changes to get FlightGear (well, the src directory at least) to
...
configure and compile out-of-the-box on a MinGW target:
Use -lSDL instead of -lglut32 on windows builds when --enable-sdl
is set.
Link against alut.dll in addition to openal32.dll.
Replace BSD bcopy() with ANSI C memmove() in a few places. This is
simpler than trying to abstract it out as a platform dependency in a
header file; bcopy() has never been standard.
The ENABLE_THREADS handling has changed to be set to 0 when threads
are not in use. This breaks expressions like #ifdef ENABLE_THREADS.
Replace with a slightly more complicated expression. It might have
been better to fix the configure.ac script, but I didn't know how and
this whole setting is likely to go away soon anyway.
The MinGW C runtime actually does include snprintf, so only MSVC
builds (and not all WIN32 ones) need _snprintf in JSBSim/FGState.cpp
Building on a platform with no glut at all exposed some spots where
plib/pu.h was being included without a toolkit setting (it defaults to
glut). Include fg_os.hxx first.
And when still using glut, glut.h has a bizarre dependency on a
_WCHAR_T_DEFINED symbol. It it's not defined, it tries to redefine
(!!) wchar_t to disasterous effect.
2004-04-30 00:52:11 +00:00
curt
0483333a6b
Get ATIS voice working again.
2004-04-26 22:02:30 +00:00
curt
df472fe0f5
Changes to go along with small interface changes in simgear/sound/libsgsound
...
(which is now written on top of OpenAL.)
2004-04-24 19:28:12 +00:00
daveluff
7019fcdc15
Fix a seg fault that could be caused if all no AI models were in existance. Ssg could then free the memory pointed to by our pointer behind our back, causing it to crash when next approaching a controlled airport requiring an AI model. Fix is to hold one ref to each model in the AIMgr at all times.
2004-04-11 15:20:36 +00:00
ehofman
34b0b5220c
Windows fix.
2004-04-06 14:25:33 +00:00
andy
941f99308d
Oops. A change to an upstream header seems to have remove glu.h, which
...
these files require. Dunno why my build didn't pick up the transitive
dependency.
2004-04-06 03:51:11 +00:00
andy
c0b4531d04
Yank out all the glut dependencies and concentrate them in a (easily
...
reimplementable) Main/fg_os.cxx file.
2004-03-31 21:10:32 +00:00
daveluff
e1d1bdc1da
A few abs->fabs where we are passing a double in
2004-03-29 10:25:21 +00:00
daveluff
0bea768f24
Patch from Fred Bouvier to use multi-platform ul library from plib for directory searching instead of ifdefs
2004-03-29 10:20:19 +00:00
daveluff
e8ccfb6d20
Round millibars to nearest whole number, and make inches default even in UK until the altimeter on the panel gets a millibar adjuster
2004-03-24 00:28:52 +00:00
daveluff
b6d30b7224
Convert altimeter to millibars for the UK
2004-03-23 23:36:27 +00:00
daveluff
a8b25e57ff
Add altimeter to the ATIS. Always does inches at the moment.
2004-03-23 23:25:37 +00:00
daveluff
22d8f5a72c
Fix another possible ATC stackdump
2004-03-22 22:09:47 +00:00
daveluff
7e395b47b7
Fix some warnings
2004-03-22 20:57:27 +00:00
daveluff
e2c4a83040
Some more tweaks to the landing clearance code
2004-03-20 04:12:05 +00:00
daveluff
db2ef57049
Delay deletion of AI traffic until after it has had time to release the frequency after its last transmission. This is a bit of a band-aid for more deep-seated problems with the dialog model, but it will solve some problems for now
2004-03-20 03:13:29 +00:00
daveluff
80761c515e
Release the frequency after finishing a transmission
2004-03-20 02:56:13 +00:00
daveluff
fc36c51e89
Slightly more robust handling of runway vacation
2004-03-20 02:55:25 +00:00
daveluff
4d25095e76
Convert some char* return types to string
2004-03-19 13:46:15 +00:00
david
25290c4467
Remove the old WeatherCM module.
2004-03-16 20:19:07 +00:00
daveluff
738b81dc49
Fix a possible crash
2004-03-16 10:35:29 +00:00
daveluff
1347ca930f
Work around for the AI-traffic due to precision issues generated by the radio frequency dialog
2004-03-15 11:14:03 +00:00
daveluff
ead3dd3d5c
Don't clear the user to land following downwind report if there is other traffic on final to land first - instruct the user to follow the other traffic and clear the user to land once the other traffic is clear of the runway instead.
2004-03-12 15:59:14 +00:00
daveluff
9e968eaec7
Fix a situation where the AI aircraft sometimes wouldn't be visible when they should
2004-03-12 15:58:00 +00:00
daveluff
7a044b3faa
Start adding a better framework for ATC-initiated communication. There should be no user-visible change from this commit
2004-03-10 16:01:17 +00:00
daveluff
1e3a4f312b
Add an option for the user to inform the tower (s)he is going around after downwind or final has been reported
2004-03-09 16:20:55 +00:00
daveluff
82ec72da84
Start making the AI traffic robust to not getting a tower pointer from ATC. Eventually this should also lead to being able to generate AI traffic at uncontrolled airports
2004-03-06 14:44:38 +00:00
daveluff
4c84d11862
Use the airport elevation instead of the actual ground elevation when out of visible range of the user. This should reduce thrashing / pollution of the tile cache.
2004-03-05 16:24:04 +00:00
daveluff
f8ef6d16b4
Fix a crash that sometimes occurred when reporting downwind in the circuit
2004-03-05 12:34:08 +00:00
daveluff
406c7d7042
Fix a problem where track would not get initialised to a sensible value before getting altered
2004-03-04 10:11:29 +00:00
daveluff
9773ba5542
Move the mechanics of turning out of the derived classes into AIPlane. The user-visible effect is that AI planes no longer suddenly change direction without turning properly.
2004-03-02 10:43:16 +00:00
daveluff
cb8db7725a
Don't cast string to c_str before passing to functions that take string, and remove an inadvertant push onto the airport_atc_map of data that already exists on it
2004-03-02 10:37:38 +00:00
daveluff
e4859c1fbf
Return the closest match instead of the first in-range match when searching by frequency
2004-03-01 13:49:47 +00:00
daveluff
dcf8d93852
Make sure at least one Transform() is performed to set the model position *before* first calling DoGroundElev() in order to avoid polluting the tilemgr with bogus tiles
2004-02-04 17:00:19 +00:00
daveluff
129a9fabe2
Oops - no 3D model assigned to aircraft starting at airports with logical networks
2004-02-04 16:59:04 +00:00
ehofman
4fb5e61162
MSVC fixes
2004-01-26 20:06:03 +00:00
daveluff
845ba951e4
Melchior found another way to crash it
2004-01-23 18:38:02 +00:00
daveluff
a739fad664
Lots of changes to the ATC/AI system for initial revision of random AI GA VFR traffic
2004-01-23 17:18:24 +00:00
daveluff
afb654a068
Initial revision of class for AI VFR GA traffic
2004-01-23 17:16:15 +00:00
daveluff
4fa02012dc
Don't loose the elevation in ATC projection conversions
2004-01-23 17:14:08 +00:00
andy
439a9fa1e4
Minor API changes to support the new sg_geodesy implementation. A few
...
places now use sgCartToGeod() instead of rolling their own
approximation. And YASim is now using exactly the same 3D coordinate
system as the rest of FlightGear is.
2003-12-19 02:42:32 +00:00
david
d296e5a7df
Use proper logging facility, and lower the priority of some of the
...
logging messages. This is part of an effort to make FlightGear a bit
quieter during normal operations.
2003-11-24 17:45:35 +00:00
daveluff
a8c7af79ab
Fix a nasty bug whereby non-scrolling ATC messages longer than the screen width were not rendered at all. They are now rendered with the end clipped - that can be fixed later.
2003-11-19 10:16:26 +00:00
ehofman
f3bb344f4e
MSVC fix
2003-11-14 09:41:31 +00:00
ehofman
e6cd7a0ed7
Add Manuel Bessler and Stephen Lowry's remote joystick code and add David Magginson's 3dconvert utility
2003-11-12 10:06:18 +00:00
daveluff
e77a6e4d3d
Re-commit the changes that I inadvertantly committed as cvsguest
2003-11-09 14:01:50 +00:00
curt
e07b153321
Someone managed to commit changes as cvsguest, return to the original
...
version. These changes need to be added via the proper channels.
2003-11-09 00:46:56 +00:00