torsten
042d17dee2
added documentation for global elements and adapted to sourcecode modifications
2009-04-01 09:23:54 +02:00
mfranz
27389e0742
geodinfo: make vector origin altitude configurable
2009-04-01 09:23:54 +02:00
frohlich
5af98c0063
Remove unused switch node.
...
Modified Files:
src/Model/acmodel.cxx src/Model/acmodel.hxx
2009-04-01 09:23:53 +02:00
mfranz
3cdd8fedf6
wxradar: read aircraft data from the property tree, rather than AIBase
...
This allows to display objects that are in /ai/models/, but not managed
by the AI manager, and it follows fgfs' design principle that subsystems
should communicate over the property tree (if possible). This is a tad
slower, but the radar is only updated once every second.
2009-03-18 08:00:09 +01:00
frohlich
5168166a9f
Update with changes in simgear.
...
Modified Files:
src/Main/renderer.cxx src/Main/main.cxx
2009-03-18 08:00:09 +01:00
frohlich
183b871b48
Fix a problem with two concurent 'round to multiple of basic simulation
...
time' code paths. The problem may lead to skipped fdm updates at very high
frame rates. The most visible effect of that was that the aircraft
slips backwards wrt the forward moving carrier.
Remove unused stuff.
Modified Files:
configure.ac projects/VC7.1/FlightGear.vcproj
projects/VC8/FlightGearLib.vcproj src/Cockpit/cockpit.cxx
src/FDM/Makefile.am src/FDM/flight.cxx src/FDM/flight.hxx
src/FDM/SP/Balloon.cxx src/FDM/SP/BalloonSim.cpp
src/FDM/SP/BalloonSim.h src/Main/Makefile.am
src/Main/fg_init.cxx src/Main/main.cxx src/Time/Makefile.am
Removed Files:
src/Time/fg_timer.cxx src/Time/fg_timer.hxx
2009-03-18 08:00:09 +01:00
frohlich
aadf568c91
Remove unused stuff.
...
Modified Files:
src/Main/main.cxx src/Main/main.hxx
2009-03-18 08:00:09 +01:00
frohlich
22888ca8a5
Use simgear vector instead of plib vectors.
...
Modified Files:
SP/Balloon.cxx SP/BalloonSim.cpp SP/BalloonSim.h
2009-03-18 08:00:09 +01:00
mfranz
4e13f8e4a0
nasal syntax: handle bracket error correctly
2009-03-18 08:00:09 +01:00
frohlich
a99ea1c7b5
Port over remaining Point3D usage to the more type and unit safe SG* classes.
...
Remove leftover headers from plib/sg.
Modified Files:
src/AIModel/AIBase.cxx
src/AIModel/AIFlightPlanCreateCruise.cxx
src/ATCDCL/AIEntity.cxx src/ATCDCL/AIEntity.hxx
src/ATCDCL/AIGAVFRTraffic.cxx src/ATCDCL/AIGAVFRTraffic.hxx
src/ATCDCL/AILocalTraffic.cxx src/ATCDCL/AILocalTraffic.hxx
src/ATCDCL/AIMgr.cxx src/ATCDCL/ATC.hxx
src/ATCDCL/ATCDialog.cxx src/ATCDCL/ATCProjection.cxx
src/ATCDCL/ATCProjection.hxx src/ATCDCL/ATCutils.cxx
src/ATCDCL/ATCutils.hxx src/ATCDCL/approach.cxx
src/ATCDCL/commlist.cxx src/ATCDCL/ground.cxx
src/ATCDCL/ground.hxx src/ATCDCL/tower.cxx
src/ATCDCL/tower.hxx src/Airports/calc_loc.cxx
src/Airports/dynamics.cxx src/Airports/groundnetwork.cxx
src/Airports/parking.cxx src/Airports/runwayprefs.cxx
src/Airports/simple.cxx src/Cockpit/cockpit.cxx
src/Cockpit/hud.hxx src/Cockpit/hud_card.cxx
src/Cockpit/hud_rwy.cxx src/Environment/environment.cxx
src/FDM/UFO.cxx src/FDM/SP/MagicCarpet.cxx src/GUI/dialog.hxx
src/Instrumentation/HUD/HUD.hxx
src/Instrumentation/HUD/HUD_runway.cxx
src/Instrumentation/KLN89/kln89.cxx src/Main/fg_init.cxx
src/Main/viewer.cxx src/Main/viewmgr.cxx
src/Model/panelnode.cxx src/MultiPlayer/mpmessages.hxx
src/Scenery/tilemgr.cxx src/Traffic/SchedFlight.cxx
src/Traffic/TrafficMgr.cxx
2009-03-18 08:00:08 +01:00
frohlich
6ac5dd61e9
Remove unused variables.
...
Modified Files:
src/ATCDCL/AIEntity.cxx src/ATCDCL/AIEntity.hxx
src/ATCDCL/AIGAVFRTraffic.hxx src/ATCDCL/AILocalTraffic.cxx
2009-03-18 08:00:08 +01:00
frohlich
4a9484ac25
Remove unsed code.
...
Modified Files:
ATCProjection.cxx ATCProjection.hxx
2009-03-18 08:00:08 +01:00
frohlich
c254bb9c38
Make use of the fast bv intersection tests even for the croaser altitude
...
queries. This also fixes some issues with the carrier and the croaser
altitude values that is used when no hit is found.
Include some ifdefed out debugging code, that might be interresting.
Modified Files:
groundcache.hxx groundcache.cxx
2009-03-18 08:00:08 +01:00
mfranz
51b46283df
Roy V. OVESEN: add support for heading bug
2009-03-18 08:00:08 +01:00
frohlich
8f660b97ad
Make a simulation reset on the carrier work again.
...
Modified Files:
src/FDM/flight.cxx src/FDM/groundcache.cxx
src/FDM/groundcache.hxx
2009-03-18 08:00:08 +01:00
mfranz
845323eadd
remove redundant checks (and one indentation level)
2009-03-18 08:00:08 +01:00
frohlich
db2d4a7a68
Fix some sim time issues with the locations of the ground cache and the
...
queries in there.
Modified Files:
flight.cxx flight.hxx groundcache.cxx
groundcache.hxx JSBSim/JSBSim.cxx YASim/YASim.cxx
YASim/YASim.hxx
2009-03-18 08:00:08 +01:00
frohlich
da8b3f9ce5
The simtime alread contains the increment. So do not add that twice.
...
Modified Files:
src/AIModel/AIShip.cxx
2009-03-18 08:00:08 +01:00
mfranz
b00e1c10e0
Merge branch 'master' of ../.fg.osg
2009-03-18 08:00:08 +01:00
frohlich
2d1d8120f6
Set the reference time the transform is meant for.
...
Modified Files:
src/AIModel/AICarrier.cxx src/AIModel/AIShip.cxx
2009-03-18 08:00:08 +01:00
torsten
c7d3ed68c3
Add documentation of new <condition> element
2009-03-18 08:00:08 +01:00
frohlich
7cb7ba9f90
Fix cmpiler warning.
...
Modified Files:
Rotorpart.cpp Rotorpart.hpp
2009-03-18 08:00:08 +01:00
frohlich
f9f9350b96
Adapt to SGTimeStamp changes.
...
Modified Files:
configure.ac src/Cockpit/panel.cxx src/FDM/Makefile.am
src/FDM/flight.hxx src/FDM/ExternalNet/ExternalNet.hxx
src/Instrumentation/marker_beacon.cxx src/Main/Makefile.am
src/Main/fg_init.cxx src/Main/main.cxx
src/MultiPlayer/multiplaymgr.cxx src/Time/fg_timer.cxx
utils/GPSsmooth/MIDG_main.cxx utils/GPSsmooth/UGear_main.cxx
utils/GPSsmooth/gps_main.cxx
2009-03-18 08:00:08 +01:00
fredb
391e81f819
Update MSVC 7.1 projects
2009-03-18 08:00:07 +01:00
fredb
648247b71e
Win32 fix
2009-03-18 08:00:07 +01:00
frohlich
7e73a87882
Improove FGTileMgr::scenery_available for small ranges.
...
Use SGGeod in FGTileMgr, FGScenery apis.
Modified Files:
src/AIModel/AIBallistic.cxx src/Main/main.cxx
src/Scenery/scenery.cxx src/Scenery/scenery.hxx
src/Scenery/tilemgr.cxx src/Scenery/tilemgr.hxx
src/Scripting/NasalSys.cxx
2009-03-18 08:00:07 +01:00
frohlich
16211c9440
More robust behaviour when the tilemanager reports 'no scenery'.
...
Insert log if this happens.
Modified Files:
flight.cxx groundcache.cxx
2009-03-18 08:00:07 +01:00
mfranz
0e72224559
add <label-offset> param for adjusting number labels in scales
2009-03-18 08:00:07 +01:00
mfranz
92510697f3
restore consistent coding-style; remove obsolete code; fix typo
2009-03-18 08:00:07 +01:00
mfranz
d3b2b9f1e3
allow to change/reload HUD by setting path in /sim/path/path[1]
2009-03-18 08:00:07 +01:00
frohlich
f07e8a7e94
Avoid casts if there is a method for the apropriate job.
...
Modified Files:
src/Main/main.cxx
2009-03-11 23:14:34 +01:00
torsten
43880b201c
Make hardcoded error values configurable.
...
This patch introduces the optional elements
<config>
<spin-thresh>0.8</spin-thresh>
<max-roll-error-deg>40</max-roll-error-deg>
<max-pitch-error-deg>12</max-pitch-error-deg>
</config>
under the corresponding /instrumentation/attitude-indicator element.
The values are initialized to the shown default values if omitted.
These are the values of the former hardcoded constants.
2009-03-11 23:14:34 +01:00
durk
9cc92035b1
A set of additions related to allow the use of SID and STAR procedures.
...
The current code still has some rough edges, in particular memory still
needs to be deallocated where possible, and the actual use of the code
needs more testing. This code has been running without noticable problems,
so I think it's ready for some wider exposure. Detailed changes include:
- Finetuning of the SID/STAR data concept.
- Preloading of all SIDs, from one xml file.
- ATC determines which SID should be used and echoes this over the com1 or
com2 radio.
2009-03-11 23:14:34 +01:00
frohlich
19331f2813
Fix problem introduced with yesterdays viewer change.
...
Modified Files:
src/Main/viewer.cxx
2009-03-11 23:14:34 +01:00
frohlich
e51c8bdce9
Silence valgrind error.
...
Modified Files:
src/Main/viewer.cxx
2009-03-11 23:14:34 +01:00
mfranz
b57f623520
don't call change-only listeners at first trigger event
2009-03-11 23:14:34 +01:00
frohlich
b125315e50
Avoid SGLocation usage.
...
Again, the previous commit did not complete for some reason.
Modified Files:
configure.ac src/AIModel/AIBase.cxx
src/ATCDCL/AILocalTraffic.cxx src/FDM/Makefile.am
src/FDM/flight.hxx src/FDM/LaRCsim/LaRCsim.cxx
src/Main/Makefile.am src/Main/fg_init.cxx src/Main/main.cxx
src/Main/viewer.cxx src/Main/viewer.hxx
src/Scenery/tilemgr.cxx src/Scenery/tilemgr.hxx
2009-03-11 23:14:34 +01:00
frohlich
82b54e7a25
Avoid SGLocation usage.
...
Modified Files:
configure.ac src/AIModel/AIBase.cxx
src/ATCDCL/AILocalTraffic.cxx src/FDM/Makefile.am
src/FDM/flight.hxx src/FDM/LaRCsim/LaRCsim.cxx
src/Main/Makefile.am src/Main/fg_init.cxx src/Main/main.cxx
src/Main/viewer.cxx src/Main/viewer.hxx
src/Scenery/tilemgr.cxx src/Scenery/tilemgr.hxx
2009-03-11 23:14:34 +01:00
frohlich
30b05ee7a3
ompute some vectors from the current view when they are used.
...
Simplifies the update hell in the viewer a bit.
Modified Files:
src/Main/renderer.cxx src/Main/viewer.cxx src/Main/viewer.hxx
src/Time/tmp.cxx
2009-03-11 23:14:34 +01:00
frohlich
85be5659a7
Remove SGLocation based api.
...
Modified Files:
src/Scenery/tilemgr.cxx src/Scenery/tilemgr.hxx
2009-03-11 23:14:34 +01:00
frohlich
5f76fdd07a
Use the positon from the model placment.
...
Use SGGeod based apis in the scenery/tilemanager.
Remove ground query that is no longer used.
Modified Files:
src/Main/main.cxx
2009-03-11 23:14:33 +01:00
frohlich
f14b69f9e6
Use the position from the model placement.
...
Modified Files:
src/Sound/fg_fx.cxx
2009-03-11 23:14:33 +01:00
frohlich
6b72986b27
Use api's with objects instead of scalars.
...
Modified Files:
src/AIModel/AIAircraft.cxx
2009-03-11 23:14:33 +01:00
frohlich
6c0959468f
Use an AIEntity variable for the ground elevation instead of SGLocation.
...
Modified Files:
AIEntity.cxx AIEntity.hxx AILocalTraffic.cxx
2009-03-11 23:14:33 +01:00
frohlich
2229491ffe
Use new function.
...
Modified Files:
src/FDM/groundcache.cxx
2009-03-11 23:14:33 +01:00
frohlich
1845a95fd3
Add scenery functions working on SGGeod in place of SGLocation.
2009-03-11 23:14:33 +01:00
frohlich
55a978f2a8
Update groundcache api:
...
Make leaner interfaces to the groundcache.
Remove legacy interfaces.
Update users of them.
Add new query routines for 'nearest point' and 'body with given id'.
Modified Files:
src/FDM/flight.cxx src/FDM/flight.hxx src/FDM/groundcache.cxx
src/FDM/groundcache.hxx src/FDM/JSBSim/JSBSim.cxx
src/FDM/JSBSim/JSBSim.hxx src/FDM/YASim/FGGround.cpp
src/FDM/YASim/FGGround.hpp src/FDM/YASim/Gear.cpp
src/FDM/YASim/Gear.hpp src/FDM/YASim/Ground.cpp
src/FDM/YASim/Ground.hpp src/FDM/YASim/Model.cpp
2009-03-11 23:14:33 +01:00
frohlich
d2466d605f
Set the motion transform id in the collection step.
...
Modified Files:
src/FDM/groundcache.cxx
2009-03-05 10:52:03 +01:00
frohlich
b120d9dfb3
Casaba Halász: Fix some const warnings.
...
Modified Files:
src/FDM/YASim/Rotor.cpp src/FDM/YASim/Rotor.hpp
src/GUI/fonts.cxx
2009-03-05 10:52:03 +01:00
frohlich
8150f47155
Remove the StaticLeaf visitor methods.
...
Modified Files:
src/FDM/groundcache.cxx
2009-03-05 10:52:03 +01:00