andy
bb6010f39c
Missed changed file somehow, oops.
2007-01-10 19:04:59 +00:00
andy
5aa142ee5f
Patch from Joacim to fix a bug where rotor weights were doubled.
2007-01-10 19:03:02 +00:00
andy
23ab95802b
Patch from Joacim to export the inertia tensor from the command line solver.
2007-01-10 18:58:50 +00:00
frohlich
99cb08ef87
Modified Files:
...
src/Model/panelnode.cxx src/Model/panelnode.hxx: Make it compile
also with osg HEAD.
2007-01-07 19:00:25 +00:00
frohlich
826866b327
Modified Files:
...
src/GUI/gui.h src/GUI/gui_funcs.cxx src/GUI/gui_local.cxx
src/GUI/mouse.cxx src/GUI/sgVec3Slider.cxx
src/GUI/sgVec3Slider.hxx src/Main/fg_commands.cxx:
Remove some dead code.
2007-01-07 15:51:29 +00:00
frohlich
a788ebf487
Modified Files:
...
src/Input/input.cxx src/Main/renderer.cxx
src/Main/renderer.hxx src/Scenery/scenery.cxx
src/Scenery/scenery.hxx: Move scenery picking into the renderer.
There is most of the required data defined. Also we can better use
the pick visitor that will be needed with th upcommung panel code.
2007-01-07 12:02:50 +00:00
frohlich
4c1c10ffef
Modified Files:
...
controls.cxx controls.hxx: Add nose wheel steering control switch
2007-01-07 11:50:39 +00:00
frohlich
ee30992e55
Modified Files:
...
src/Input/input.cxx: Do not change mouse modes if we had
a valid scenery pick.
2007-01-07 08:33:02 +00:00
fredb
994c8efa00
Remove useless dependencies on plib and opengl libraries
2007-01-06 19:12:26 +00:00
fredb
f9f2144d7d
Update MSVC 7.1 project files
2007-01-06 18:44:25 +00:00
fredb
6abd9f6dab
Resurrect config.h-msvc6
2007-01-06 17:26:50 +00:00
fredb
c9c16f57b2
Restore config.h-msvc6 for those that follow CVS and add config.h-msvc8.in to
...
properly handle version number before release
2007-01-06 16:23:48 +00:00
frohlich
56382700f0
Modified Files:
...
groundcache.cxx: Return cat start and end in the correct order.
That makes the seahawk carrier start capable again ...
2007-01-06 16:20:49 +00:00
frohlich
eff14788a7
Modified Files:
...
src/Main/renderer.cxx: Don't try to render the moon without light...
2007-01-06 15:09:42 +00:00
frohlich
6cf05270f5
Modified Files:
...
AIBase.cxx AIManager.cxx AIManager.hxx: Remove dead code.
No ground intersection on AI models. Note that the carrier still
reenables that nodemask.
2007-01-06 14:25:55 +00:00
frohlich
b8dffe05ab
Modified Files:
...
src/Cockpit/panel.cxx src/Main/renderer.cxx: Make sure we run on
texture unit 0 in plain opengl code.
2007-01-06 13:51:47 +00:00
frohlich
059c906be5
Modified Files:
...
src/Cockpit/panel.cxx src/Cockpit/panel.hxx
src/Cockpit/panel_io.cxx src/GUI/dialog.cxx src/GUI/dialog.hxx
src/GUI/menubar.cxx src/GUI/menubar.hxx src/GUI/new_gui.hxx
src/Input/input.cxx src/Input/input.hxx src/Main/renderer.cxx
src/Scenery/scenery.cxx src/Scenery/scenery.hxx:
Use SGBinding instead of FGBinding. Remove FGBinding. Install hooks
to make the pick animation work.
2007-01-04 13:22:27 +00:00
frohlich
bc539e6284
Modified Files:
...
globals.cxx: Use the command manager singleton
2007-01-04 12:48:21 +00:00
frohlich
001bff4cbc
Modified Files:
...
src/Main/options.cxx: Olaf Flebbe: remove leftover snprintf
2007-01-03 10:51:54 +00:00
frohlich
93cb29608a
Modified Files:
...
src/FDM/groundcache.cxx src/FDM/groundcache.hxx: Store the material
that was used to get the croase agl level and return that material
in case we need to make use of that croase value.
2007-01-02 09:50:35 +00:00
frohlich
f63c96bf0e
Modified Files:
...
options.cxx: Olaf Flebbe: Fix some problems with --help --verbose
caused by the usage of snprintf. Elimate snprintf usage in favour
plain std::string manipulations.
2007-01-02 08:32:32 +00:00
frohlich
82d4fc6583
Modified Files:
...
src/Traffic/Schedule.cxx: Add trailing semicolon ...
2006-12-27 12:42:01 +00:00
durk
e48409d136
New traffic manager initialization. Search for all files
...
data/AI/Aircraft/*/*.xml and read traffic information from these files.
Current code still mimicks old behavior by reading data/Traffic/fgtraffic.xml
The latter functionality will be disabled once we have some traffic containing
files in data/AI/Aircraft.
2006-12-27 11:53:54 +00:00
durk
0547e72d17
Modified (cleaner) traffic manager initialization procedure, corresponding
...
to the new data/AI/Aircraft directory scan code that will be committed
in a minute.
2006-12-27 11:50:13 +00:00
frohlich
5a48bcf2a0
Modified Files:
...
src/FDM/flight.cxx src/FDM/flight.hxx src/FDM/groundcache.cxx:
Maik Justus: Provide the material we roll on in the groundcache.
2006-12-27 10:47:10 +00:00
frohlich
0a522b383a
Modified Files:
...
src/Scenery/tileentry.cxx: No longer need to lift lights due to agl.
2006-12-27 10:36:18 +00:00
durk
bd34d34d16
Change the traffic manager's position calculations to use a spherical
...
earth model instead of WGS84. WGS84 precision is overkill for what the
traffic manager requires, and also keeps locking up while computing
course and distance for anti podal points in New Zealand vs. south west
france.
2006-12-27 10:02:13 +00:00
frohlich
bb3d4ad3af
Modified Files:
...
src/Main/renderer.cxx src/Main/viewer.cxx: Clean up the viewers
frames a bit. Do no longer require a axis permutation in osg's
viewer.
2006-12-27 09:28:15 +00:00
fredb
0bd6fa4bc0
Maik Justus : if the build is configured without FG_JPEG_SERVER, the compilation fails.
2006-12-25 19:38:34 +00:00
andy
f04499cdc6
Disable the defaulting of gear friction so the tunables actually work
2006-12-22 18:02:17 +00:00
andy
ef7e7f90dd
Patch from Maik adds user-settable scaling constants for per-axis fuselage drag and induced drag.
2006-12-18 21:22:20 +00:00
fredb
462dd6900c
Remove unused variables
2006-12-17 18:40:55 +00:00
fredb
240feb6961
Use SG_LOG instead of printf
2006-12-17 18:40:17 +00:00
fredb
c9401da22d
Remove two g++ warnings
2006-12-17 18:32:56 +00:00
frohlich
cb62950760
Modified Files:
...
utils/Modeller/Makefile.am src/FDM/YASim/Makefile.am:
Remove -lssg from the linker lines.
Do no longer build threedconvert. A very similar functionality
is available with osgvconv. But leave threedconvert in place
if somebody will need that ...
2006-12-17 10:12:38 +00:00
durk
8634b9124e
Modified the model path verification to take advantage of Maik Justus's
...
AI search path patch.
2006-12-17 08:01:56 +00:00
durk
b34dc24bdc
Maik Justus:
...
Here the patch that makes fg search for multiplayer aircraft in AI/Aircraft
first.
2006-12-17 08:00:14 +00:00
fredb
e48663b87d
Prototype of fake functions should match the real ones
2006-12-16 21:40:38 +00:00
fredb
2422747bcc
Port jpg-httpd to OSG
2006-12-16 17:44:46 +00:00
frohlich
1c76f6db74
Modified Files:
...
src/Cockpit/cockpit.cxx src/Cockpit/cockpit.hxx: Remove unused code
2006-12-14 05:48:33 +00:00
curt
5d18c09c08
Maik Justus:
...
I found a small conspicuity in YASim. The destructor of the fdm was
never called, therefore a modification of the heli fdm (not in cvs) did
not work after reset (I tie some properties and untie them in the
destructor, but the destructor was not called and the tieing failed
after reset. I don't know if any other parts of YASim need their
destructors, at least it wastes memory.
Another small fix I have made to the turbulence.cpp. The code needed,
that (a-floor(a)) is >=0 and <1. This is analytical correct, but
numerical only for "small" values. In normal fg-operation a in this
function is always small, but with unrealistic parameters in the
aircraft config file it is not and then fg crashes (instead a crash of
the aircraft or cataputling it far away).
2006-12-09 20:37:59 +00:00
mfranz
b9e4775a7a
Roy Vegard Ovesen:
...
- finish cleanup/optimization of instrumentation system (started by mfranz)
- improve configuration of special properties by
addressing them directly
2006-12-06 22:11:43 +00:00
mfranz
880e4908ac
don't crash when a panel (or one of its elements) can't be found (-> pc7)
2006-12-03 20:14:12 +00:00
frohlich
66b6fa0001
Modified Files:
...
renderer.cxx: set TexEnv for the 2d stuff.
2006-12-03 16:50:00 +00:00
frohlich
037a961280
Modified Files:
...
renderer.cxx: Put light information into the update visitor
2006-12-03 16:48:25 +00:00
mfranz
c0e1a380d6
make sure the node for the AI model removal report exists;
...
addressing a node with its path is unsafe at that time
2006-11-26 12:02:06 +00:00
mfranz
f04aca91b2
Torsten DREYER:
...
"bind the visibility-property of the SGSky object to a property
named /envirionment/effective-visibility-m. This property is needed to decide
if the aircraft is within clouds or not. I use this property also for the
structural icing code."
2006-11-25 12:21:36 +00:00
durk
78aea9eb80
Reorganization of the AI directory tree. Make FlightGear search for airport
...
related AI stuff in data/AI/Airports instead of in data/Airports/AI
2006-11-25 09:05:03 +00:00
durk
3bd32f75e4
Removed a potentially illegal cross-container iterator comparison that made
...
FlightGear crash on mircosoft visual c++ compilers, as reported by Maik
Justus.
2006-11-25 07:52:08 +00:00
frohlich
6ad85fbae9
Modified Files:
...
src/Main/renderer.cxx: Use a LightSource for the Light.
2006-11-23 17:50:49 +00:00
mfranz
baa16f4995
AJ MacLEOD: don't only turn the adf off with exactly zero voltage
...
as values like 1E-10 can occur due to binary representation issues;
(analog to navradio.cxx)
2006-11-22 20:08:45 +00:00
frohlich
2e32ccf393
Modified Files:
...
src/AIModel/AIMultiplayer.cxx: Apply longstanding patch from Maik
Justus. Fix double aircraft.
2006-11-22 17:16:19 +00:00
frohlich
5d1c390194
Modified Files:
...
groundcache.cxx: Cheaper ray triangle intersection
2006-11-21 18:25:36 +00:00
frohlich
0adac854dc
Modified Files:
...
renderer.cxx: Fill in that information into the update visitor
2006-11-20 18:16:31 +00:00
frohlich
42528de4ab
Modified Files:
...
src/Main/renderer.cxx src/Cockpit/panel.cxx: Move some more into
simple scenegraph wrappers. That fixes current problems with
invisible panels.
2006-11-15 06:07:42 +00:00
durk
e389bed31f
Fix for a crash reported by Maik Justus.
2006-11-14 20:08:50 +00:00
frohlich
16aee6ac41
Modified Files:
...
src/Main/renderer.cxx: Fix some ugly triangle artefacts on the
bo105's Instrument panel.
2006-11-12 17:22:02 +00:00
fredb
3394d3c840
Don't segfault when sound is not available
2006-11-12 13:54:50 +00:00
frohlich
29778f1496
Modified Files:
...
src/Main/main.cxx src/Main/renderer.cxx: Avoid an extra clear of
of the color buffer.
2006-11-12 12:38:57 +00:00
durk
33037b2139
AI Update:
...
- Ground network slow-down finally works as expected
(although occasionally causing a traffic jam)
- Hold position instruction now really sets speed to zero, in addition
it actually works now for crossing and two-way traffic
- Attempt to limit execution time of ground network trace algorithm
to make performance acceptable at high-density networks
- Removed remaining terminal messages
- Various minor tweaks and clean-ups
2006-11-11 10:52:05 +00:00
frohlich
bb7c889bbb
Modified Files:
...
src/Time/tmp.cxx src/Time/light.hxx src/Time/light.cxx
src/Main/renderer.cxx src/Cockpit/panel.cxx: Initialize sky colors
2006-11-10 05:37:50 +00:00
frohlich
9148f9065a
Modified Files:
...
groundcache.cxx: Reorder intersection tests a bit
2006-11-08 20:46:07 +00:00
frohlich
bd97270782
Modified Files:
...
src/Main/renderer.cxx: Make sure the normalize mode is not set
2006-11-08 20:45:21 +00:00
frohlich
8627dd1669
Modified Files:
...
src/FDM/groundcache.cxx: Tim Moore: fix for groundcache problems.
2006-11-07 06:09:36 +00:00
frohlich
a8523d94ed
Olaf Flebbe: remove unused variable.
2006-11-07 05:39:33 +00:00
fredb
f65abb8a61
Win32 compilation fix
2006-11-02 17:41:53 +00:00
mfranz
a1e62b9c62
remove function declarations for long removed functions
2006-11-01 23:36:46 +00:00
mfranz
8d1ecbfa1b
remove obsolete and non-functional menu toggle command
2006-11-01 23:23:26 +00:00
mfranz
65e2ce16d6
remove obsolete preset dialogs
2006-11-01 22:55:15 +00:00
mfranz
4deaed6d99
remove obsolete preset dialogs
2006-11-01 22:48:34 +00:00
frohlich
6e370ce895
Modified Files:
...
fg_init.cxx: Oops, forgot to commit that chunk
2006-11-01 22:26:57 +00:00
mfranz
284c73a95c
remove old property dialog
2006-11-01 22:10:22 +00:00
mfranz
91dbe0c3fe
remove old property dialog
2006-11-01 21:59:46 +00:00
frohlich
7e5d6d1d75
Modified Files:
...
Time/tmp.cxx Main/viewer.hxx Main/viewer.cxx Main/renderer.cxx
Get rid of an other OSGFIXME. The view matrix had some plib specials
included. The viewer is now updated for that.
2006-11-01 21:22:25 +00:00
frohlich
b8f9a40fc6
Removed Files:
...
hitlist.cxx hitlist.hxx: Is obsolete.
2006-11-01 21:14:28 +00:00
mfranz
ef10fcb676
insert punctuation for better festival speech
2006-10-31 11:57:16 +00:00
frohlich
6b9d29194b
Modified Files:
...
src/AIModel/AIBase.cxx src/Main/main.cxx src/Main/renderer.cxx
Reflect last change in SimGear
2006-10-31 06:27:34 +00:00
frohlich
f62fe07a48
Modified Files:
...
src/MultiPlayer/multiplaymgr.cxx: Check in long standing broadcast
multiplayer fix
2006-10-31 06:20:27 +00:00
frohlich
c53eef58e4
Modified Files:
...
src/Main/Makefile.am: now we need libsgutil ...
2006-10-31 06:19:53 +00:00
mfranz
3bc199c59f
ssgSharedPtr.hxx -> SGSharedPtr.hxx
2006-10-30 16:31:45 +00:00
frohlich
b0f9d24f9d
Modified Files:
...
configure.ac src/AIModel/AIAircraft.cxx src/AIModel/AIBase.cxx
src/AIModel/AIBase.hxx src/AIModel/AICarrier.cxx
src/AIModel/AICarrier.hxx src/AIModel/AIManager.cxx
src/AIModel/AIManager.hxx src/ATC/AIEntity.cxx
src/ATC/AIEntity.hxx src/ATC/AIMgr.cxx src/ATC/AIMgr.hxx
src/ATC/ATCdisplay.cxx src/ATC/ATCdisplay.hxx
src/Cockpit/cockpit.cxx src/Cockpit/cockpit.hxx
src/Cockpit/hud.cxx src/Cockpit/hud.hxx
src/Cockpit/hud_rwy.cxx src/Cockpit/panel.cxx
src/Cockpit/panel.hxx src/Cockpit/built_in/FGMagRibbon.cxx
src/Cockpit/built_in/FGMagRibbon.hxx src/FDM/flight.cxx
src/FDM/groundcache.cxx src/FDM/groundcache.hxx
src/GUI/gui_funcs.cxx src/Input/input.cxx
src/Instrumentation/od_gauge.cxx
src/Instrumentation/od_gauge.hxx
src/Instrumentation/render_area_2d.cxx
src/Instrumentation/render_area_2d.hxx
src/Instrumentation/wxradar.cxx
src/Instrumentation/wxradar.hxx
src/Instrumentation/HUD/HUD.cxx
src/Instrumentation/HUD/HUD.hxx
src/Instrumentation/HUD/HUD_runway.cxx src/Main/Makefile.am
src/Main/main.cxx src/Main/renderer.cxx src/Main/renderer.hxx
src/Main/viewmgr.cxx src/Model/acmodel.cxx
src/Model/acmodel.hxx src/Model/model_panel.cxx
src/Model/model_panel.hxx src/Model/modelmgr.cxx
src/Model/modelmgr.hxx src/Model/panelnode.cxx
src/Model/panelnode.hxx src/Navaids/awynet.cxx
src/Scenery/Makefile.am src/Scenery/hitlist.cxx
src/Scenery/hitlist.hxx src/Scenery/newcache.cxx
src/Scenery/scenery.cxx src/Scenery/scenery.hxx
src/Scenery/tileentry.cxx src/Scenery/tileentry.hxx
src/Scenery/tilemgr.cxx src/Scripting/NasalSys.cxx
src/Scripting/NasalSys.hxx src/Time/light.cxx
Big BLOB on the way to OSG.
2006-10-29 19:30:21 +00:00
mfranz
74faacdf16
Maik JUSTUS: last changes for better consistency with The FlightGear Way.
2006-10-29 12:44:15 +00:00
mfranz
cf86ca67f8
Maik JUSTUS: replace underscore with hyphen in config keywords, to be
...
consistent with the rest of YASim and almost all of fgfs
2006-10-28 21:14:32 +00:00
mfranz
edd8c25fae
Maik JUSTUS: change /rotors/*/blade1_pos to /rotors/*/blade[0]/position-deg,
...
incidence to incidence-deg, and flap to flap-deg
2006-10-28 20:53:19 +00:00
mfranz
70bab80507
remove unused and empty files
2006-10-28 18:02:47 +00:00
mfranz
4621db6b7c
simplify name/number handling
2006-10-26 17:46:05 +00:00
mfranz
fc98b57b15
simplify name/number handling
2006-10-26 17:39:47 +00:00
mfranz
e63b8b3351
- simplify number/name handling
...
- consistent member naming
- coding style fixes in clock.*
2006-10-26 15:06:12 +00:00
mfranz
19f3ae5133
- simplify namer/number handling
...
- consistent naming of members with underscore
2006-10-26 14:47:15 +00:00
mfranz
d90922fe1e
- don't read the channel always from tacan[0] (even if the existence of
...
a second tacan may not be likely)
- remove some dead code
- simplify <name>/<number> handling
- let a listener watch over input props and search for new channel/frequency
- allow to set channel number as one number (rather than as single digits),
as some aircraft may prefer this (the ch53 does so); this is to be set
in /instrumentation/tacan[n]/frequencies/selected-channel[0]
2006-10-26 14:09:13 +00:00
mfranz
546d76269a
emit signal /sim/signals/fdm-initialized when the FDM is up; this is
...
useful to attach listeners and have their functions run at a time when
they can safely access FDM generated properties
2006-10-26 09:07:41 +00:00
fredb
9827a79987
Leidson Campos A. Ferreira improved the jpeg http server
2006-10-24 17:51:56 +00:00
mfranz
b4a4e9ea86
Vivian MEAZZA: add missing heading-indicator-dg inclusion (instrument_mgr.cxx)
...
mf:
- fix abs/fabs bug
- typos & cosmetics
2006-10-24 16:03:44 +00:00
mfranz
eb6b28f507
Vivian MEAZZA: Directional Gyro (DG) compass & electrically powered master
...
reference gyro
2006-10-23 21:58:28 +00:00
mfranz
43ce93303c
drop pointless warning. If the sound can't be removed, then proably because
...
it was never added, which is perfectly normal when the aircraft started
out of range. (Analog to the DME sound, which doesn't have that warning
either.)
2006-10-20 12:12:12 +00:00
curt
39869b582a
Fix a typo so that turbulence can work in JSBSim models once again.
2006-10-19 02:39:05 +00:00
mfranz
bdf16b7b7e
use correct data type for string::find()
2006-10-17 21:21:26 +00:00
mfranz
f6244d769c
Alexis Bory: revert hack; use correct type for string::find()
2006-10-17 20:39:00 +00:00
andy
3362ea2447
A bug was discovered on IRC where an errant script was setting a nil
...
value on a property. This becomes a NaN when converted to a numeric
value, which then percolated into the C++ world where it ultimately
caused a crash in YASim's turbulence code. While converting nil to
NaN isn't *strictly* wrong, it's dangerous for this reason. Toss a
Nasal exception instead. Hopefully this won't break too much
preexisting code.
2006-10-17 19:58:33 +00:00
mfranz
4da02e3d99
Vivian MEAZZA: "Bug fix - make TACAN work with no carrier in the environment"
2006-10-16 11:15:35 +00:00