1
0
Fork 0
Commit graph

207 commits

Author SHA1 Message Date
curt
54127f7601 Fix two small typos. 2005-10-11 18:58:05 +00:00
ehofman
411d133a54 Mathias Fröhlich:
I believe I have found the agl hud problems as well as the 'hole' in the
carrier's deck. I spent half the day to reproduce that problem, it did not
occure when you start on the carrier not does it occure with JSBSim and my
really often used testaircraft. So I really need to improove my helicopter
flying qualities.

I was under the impression that *all* FDM's call

FGInterface::updateGeo*Position(..)

so set the new position in the FDM interface. Therefore I had added at the
some code that updates the scenery elevation below the aircraft to *those*
functions.
Ok, not all FDM's do so :/

The attached patch factors out a function computing the scenery altitude at
the current FDM's position. This function is also used in those FDM's which
need to update this value themselves.
Also this patch restores the nearplane setting and uses the current views
altitude instead of the current aircrafts. I think that this should further
be changed to the eypoint's agl in the future.
The agl is again ok in YASim's hud.
2005-10-08 12:33:06 +00:00
ehofman
f057fd0d48 Martin Spott: Use standardized Sun directive. 2005-10-06 11:08:26 +00:00
ehofman
fa2caf88dc Add an XML grep utility. It's far from complete but it allowed me to test the animation files for the precense of the 'offset' element in the translation animation sections. 2005-09-24 12:31:41 +00:00
ehofman
e17bc29986 Prepare for OpenAL 1.1 and a separate alut lubrary. 2005-09-15 17:31:05 +00:00
ehofman
62bb2277bc MingW32 fixes. 2005-09-11 09:53:55 +00:00
curt
98404ca006 Add GPSsmooth directory. 2005-07-02 20:54:19 +00:00
ehofman
8e5eed90d5 Remove the 'old' 3D clouds code. 2005-06-25 11:21:18 +00:00
ehofman
a488ab4d31 MipsPRO needs -c99 for int16_t types. 2005-03-26 10:08:32 +00:00
ehofman
1a93ac450a Another Cygwin fix. 2005-02-18 14:17:03 +00:00
ehofman
73fb59a7dd MacOS X fix(?) 2005-02-11 15:12:30 +00:00
ehofman
91cb15d9b0 Martin Spott:
Remove all dependencies of plib's SL sound library.
2005-01-24 10:17:14 +00:00
curt
c4901ffae2 Ready for v0.9.8. 2005-01-19 02:11:52 +00:00
curt
39bc8c35c6 Updates for the 0.9.8-pre2 release. 2005-01-03 20:06:51 +00:00
curt
c362ca795c Updates in preparation for the 0.9.8 release. 2004-12-21 00:16:06 +00:00
ehofman
9afec17205 A small FreeBSD update. 2004-12-17 20:01:13 +00:00
ehofman
1f6300703e thread detection code cleanup and (hopefuly) FreeBSD fixes. 2004-12-17 14:48:14 +00:00
curt
16ca655c03 More FreeBSD fixes ... add -lusbhid where needed. 2004-11-21 03:15:19 +00:00
curt
4214cd6c10 Migrate FlightGear code to use "#include SG_GL*" defined in
"#include <simgear/compiler.h>".
2004-11-18 19:53:00 +00:00
ehofman
8b53b86aa0 A first stab at an ACMS (Aircraft Condition Monitoring System) Special Purpose support FDM. Move the ADA FDM into the Special Purpose directory and make the SP FDM's a configure option. 2004-10-19 11:10:20 +00:00
curt
c72e6e281e Changes for v0.9.6 2004-10-12 16:18:05 +00:00
ehofman
600384d5c7 Frederic Bouvier:
automatically generate config.h-msvc6 with the right version number.

This way Curt will pack the right file because it will be
generated every time he will do 'configure'.
2004-10-03 08:20:54 +00:00
curt
2b22f5678c Preparations for the 0.9.6-pre1 release. 2004-09-10 18:34:00 +00:00
curt
7857ef0381 Tweaks for 0.9.5 release. 2004-07-29 21:54:15 +00:00
curt
f9af52b588 Tweaks for 0.9.5-pre3 release. 2004-07-27 21:40:37 +00:00
curt
517a7a3e5a Updates for v0.9.5-pre2. 2004-07-21 21:49:54 +00:00
ehofman
485c66ed3e Test for alutInit in libopenal.so and in libalut.so for Cygwin builds. 2004-07-19 14:59:24 +00:00
ehofman
ddbafac793 alut is now part of libopenal.so 2004-07-17 14:01:36 +00:00
curt
6076c83904 Various tweaks for v0.9.5-pre1. 2004-07-15 18:07:02 +00:00
ehofman
b3e9697262 Add the AIModel based air traffic subsystem from Durk Talsma. 2004-06-03 17:59:14 +00:00
curt
87387cfcc9 Add -framework AGL which is required after recent gui code changes. 2004-05-14 02:05:51 +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
2dc4d82d1b Add default openal libs for cygwin. 2004-04-28 19:19:32 +00:00
curt
3816f4fbb4 Add correct openal libs for MacOS. 2004-04-25 01:41:32 +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
curt
b4f6a8089e Default to threads enabled. They can still be disabled by passing
--with-threads=no to the configure script.
2004-04-16 18:51:30 +00:00
ehofman
b0a3ce0fc0 First attempt to make it possible to use either SDL or glut at compile time. 2004-04-07 14:42:41 +00:00
curt
0c01cebfc3 Final 0.9.4 tweaks. 2004-03-26 21:46:49 +00:00
curt
5ea5e6250c 0.9.4.pre2 updates. 2004-03-24 01:05:53 +00:00
curt
1d50d5b68c For cygwin, make sure to preserve previous contents of EXTRA_DIRS. 2004-03-23 13:43:13 +00:00
curt
bcc42cbe4c Various final tweaks for the 0.9.4.pre1 release. 2004-03-22 20:19:18 +00:00
curt
d7f5107378 Make sure /usr/local/{include,lib} is added for cygwin. 2004-03-18 02:33:59 +00:00
david
25290c4467 Remove the old WeatherCM module. 2004-03-16 20:19:07 +00:00
curt
10fc1ea537 A bit more Makefile massaging. 2004-02-10 15:22:29 +00:00
ehofman
d3865a9bf9 Check for the precense of truncf rather than hard-wire it in 2004-01-27 09:31:27 +00:00
ehofman
18eb0a35a2 Rename utils/3dconvert to utils/Modeller and add Jim Wilson's animassist utility 2004-01-09 21:19:44 +00:00
ehofman
cd0c447b43 Add David Culp's AI model manager code which is derived from David Luff's AI/ATC code. 2003-11-28 15:48:05 +00:00
curt
d3181fb437 Andy Ross:
A set of changes to impliment Nasal support in FlightGear.  The nasal
interpreter is now part of SimGear.
2003-11-25 21:08:36 +00:00
ehofman
e322c70f52 Depreciate NetworkOLK. A big thanks goes to Oliver Delise for implementing it in the first place. 2003-11-13 14:42:47 +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
curt
1bd99ddaf5 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:38:48 +00:00
cvsguest
d55f2bd017 Multiplayer client/server system changes and new files 2003-11-07 23:38:18 +00:00
curt
cc7b15fa7b Various 0.9.3 updates. 2003-10-24 17:06:39 +00:00
curt
58cadee5f3 Updates for 0.9.3-pre1 2003-10-16 03:29:04 +00:00
curt
ff2740f085 Remove the last traces of metakit (hopefully) :-) 2003-08-29 04:42:43 +00:00
ehofman
6f8aa7b331 Change GLUT_H to FG_GLUT_H to prevent a naming clash with freeglut. 2003-08-21 09:12:12 +00:00
curt
7b5997e9dc Changed "GL/glut.h" to <GL/glut.h> 2003-08-05 14:49:01 +00:00
ehofman
67b4184f4b The test didn't work out well 2003-08-04 19:07:12 +00:00
ehofman
6834e86f94 Add 3d cloud support back in 2003-08-04 17:57:15 +00:00
curt
419f09f804 Curt:
I have added a fledgling replay system that records flight data and control
positions during the flight.

I have added an internal command called "replay" which will trigger a replay
of the entire saved flight data set.  This could be bound to a keyboard or
menu command, in fact this entire module is screaming for someone to build
a gui to control playback speed, amount of playback, etc.

This is the initial version so there are kinks that still need to be worked
out, please be patient.
2003-07-17 18:24:17 +00:00
ehofman
849219ef45 Don't check for OpenGL libraries without at least including -lm 2003-07-12 09:17:17 +00:00
ehofman
19d08953e3 Split up into and . Fix a typo for FreeBSD. And do some Makefile cleanups 2003-07-07 13:57:43 +00:00
ehofman
02bb6a6325 Don't link agains OpenGL libraries when it's not needed 2003-07-07 11:26:48 +00:00
ehofman
fa0c719c30 Clean up, and make more flexible and prevent unnesse
cary library includes
2003-07-06 17:14:04 +00:00
ehofman
14c3e9e4d4 Add some solaris specific libraries 2003-07-02 08:52:45 +00:00
ehofman
e3bcb4b619 MingW 0.92 fixes 2003-06-08 12:01:43 +00:00
curt
bfaaa63bb2 Changes in preparation for the 0.9.2 release. 2003-06-04 20:27:05 +00:00
curt
503d2839cc Attempt to work around a problem compiling ssgEntityArray.cxx against
plib-1.6.0
2003-05-28 16:57:24 +00:00
david
726d97be3c Removed old menubar option. 2003-04-01 15:50:51 +00:00
ehofman
a4d1b0902e Give MultiPlayer support authority over NetworkOLK 2003-03-21 10:39:17 +00:00
ehofman
fc721442f4 Fix a nasty NetworkOLK/MultiPlayer configure problem 2003-03-21 09:57:38 +00:00
ehofman
e46c59d4d0 Add multiplayer support from Duncan McCreanor and Diarmuid Tyson 2003-03-19 20:45:09 +00:00
curt
06a221cff6 Add src/FDM/ExternalPipe 2003-03-03 04:32:42 +00:00
curt
d073156a59 Fixes for Mac OS X. 2003-02-09 03:47:21 +00:00
curt
3fea2499c4 Fix a typo in the FreeBSD support section. 2003-02-07 17:35:46 +00:00
david
e4f1dbace7 Patches from Johan Walles:
Here are the two modifications I had to make to get flightgear (just
updated from CVS) to build.  The first one is for being able to specify
SimGear's location at the ./configure command line, and the second one
is to be able to link.
2003-02-05 01:09:20 +00:00
curt
7ef3bd5f6c FreeBSD pthread fix. 2003-01-23 15:17:41 +00:00
david
2bcb4f099f Change the default to the new XML-configured menubar. Configure
--with-old-menubar to get the old menubar.
2003-01-18 17:36:59 +00:00
david
04f1dc4837 Make all PSL support conditional, because it's not included in plib
1.6.  The macro is HAVE_PLIB_PSL.
2003-01-17 12:41:47 +00:00
david
9d726c1bd8 Started a new FGMenuBar class to handle a different XML-configurable
menubar.  This one allows regular command bindings, with the
(temporary) condition that every menu item must have a unique text
label.  The new menubar is disabled by default; to enable it,
configure --with-new-menubar.
2003-01-16 18:06:27 +00:00
david
9bbe8a78b6 Added simple proof-of-concept support for running PSL scripts from
input bindings.  They will work only with the latest CVS; otherwise,
./configure will disable them.  There is a new command, 'script',
which takes a single argument, also called 'script', containing PSL
code (currently PSL requires a main() function).

Erik Hofman has written some more elaborate code for triggering PSL
code from drop-down menus and scheduling events; I will look at
integrating that next.
2003-01-11 16:30:32 +00:00
david
e57e85c563 IRIX/MipsPro patches from Erik Hofman:
This patch adds some missing default ISO C++ headers to SimGear,
especially usefull for Irix/MipsPro. To the best of my knowledge this
only affects the Irix/MipsPro compiler combination although it might be
usefull for others as well.

This patch does not yet remove any compiler specific code, but that
would be my next task. The powerfull macros as defined in the compiler.h
file allowed me to split it up into multiple patches.
2002-12-30 21:34:46 +00:00
curt
6225936ead Various tweaks. 2002-12-21 05:01:51 +00:00
curt
77d6412817 Norman Vine:
Fixes for Mingwin.
2002-12-17 20:03:45 +00:00
curt
36d3d7fab6 Tweaks from Erik Hofman. 2002-12-16 20:50:42 +00:00
curt
f29b5d98a1 Fix lost audio. 2002-12-12 01:21:21 +00:00
curt
10baa71a65 Fix out of order initialization crash (not sure how it worked before
unless some recent changes subtlely changed some init order items around.)
2002-12-11 21:07:30 +00:00
curt
43e48070fe - Some refactoring of the configure.ac script.
- Better Mac OS X support (they put glut.h in GLUT/glut.h) :-(
2002-12-10 20:50:48 +00:00
curt
a4600f85c7 Updates for 0.9.1 2002-12-05 15:31:09 +00:00
curt
f0f1bc537f Updates for 0.9.0 release. 2002-12-03 20:36:56 +00:00
curt
9890f8dc2f Added utils/TerraSync/ 2002-12-03 15:38:41 +00:00
curt
1ab2ec8fd1 #define NOMINMAX for cygwin/gcc-3.2 builders. 2002-12-02 22:16:32 +00:00
curt
0d87fad65c Shuffled location of ExternalNet.[ch]xx to it's own subdir.
Removed External.[ch]xx which is a duplicate of NullFDM.[ch]xx
--fdm=external is preserved but just maps to NullFDM.
2002-09-28 21:42:03 +00:00
david
682feb8f2d Flattened src/Systems/ subtree.
Added src/Instrumentation/ with partial stab at a vacuum-driven
attitude indicator.
2002-09-24 14:51:37 +00:00
curt
4acbe1fcc3 Add a bit more wording to the metakit version check to point out that it
can fail if libmk4.so isn't in the link path.
2002-09-24 02:55:54 +00:00
david
7c057de4fe Started new module and sub-modules for aircraft systems, including an
initial simplistic vacuum system that's not yet connected to anything.
2002-09-23 19:55:10 +00:00
curt
051bc2698a Upgraded version number. 2002-09-17 02:36:34 +00:00
david
c3a2408026 Removed /usr/local/include (as with plib). 2002-09-14 16:15:43 +00:00
curt
aca0d8a1e5 Getting ready for 0.8.0 release. 2002-09-07 20:33:00 +00:00
curt
30e0a956c3 Fixes to better support the native irix compilers. 2002-09-06 17:30:21 +00:00
curt
64312039da Automake version check is best done only in the autogen.sh file, and not
in the configure script.
2002-09-03 21:30:37 +00:00
curt
1dfb58783c Additional build system tweaks. 2002-09-03 01:12:26 +00:00
curt
42f1849975 Fixes for the Irix compiler, "the worlds best" :-) 2002-08-29 20:43:19 +00:00
curt
6dd1ade445 Several fixes and tweaks. 2002-08-29 16:00:17 +00:00
curt
4b2a8ef270 More fixes to the automake/conf scripts. 2002-08-28 16:13:06 +00:00
curt
21db1e10b2 More tweaks to the automake/conf configuration scripts. 2002-08-28 03:34:31 +00:00
curt
ff7c8101bc Modernize the autoconf/automake files. 2002-08-27 23:52:15 +00:00