ehofman
8da2f1a31b
Use SGPropertyNode_ptr wherever possible
2010-01-17 00:03:06 +01:00
Tim Moore
c1bb4aec97
Merge branch 'vivian/trainz'
2010-01-17 00:02:51 +01:00
Tim Moore
582a95f0cb
small cleanup to vivian's patch
2009-12-09 09:23:20 +01:00
Tim Moore
3922c12163
Vivian Meazza: AI escorts
2009-12-09 09:04:23 +01:00
Tim Moore
e503591af4
Merge branch 'jmt/gps'
...
Conflicts:
src/Instrumentation/gps.cxx
2009-11-27 06:40:47 +01:00
Tim Moore
d096455b7f
Add support for high speed trains. Change update rate to main frame rate, and move framerate-heavy functions to a 20Hz update cycle. Jitter is much reduced, at a small cost to framerate
...
Signed-off-by: v meazza <vivian.meazza@lineone.net>
Conflicts:
src/AIModel/AIGroundVehicle.cxx
2009-11-01 00:15:14 +01:00
Tim Moore
3a890859d3
more include SGMath.hxx to keep MSVC happy
2009-10-26 18:40:12 +01:00
v meazza
d974954b5a
Fix bug in collision calculations
...
Signed-off-by: v meazza <vivian.meazza@lineone.net>
2009-10-14 10:40:47 +02:00
v meazza
e91b5a8804
remove debug message
...
Signed-off-by: v meazza <vivian.meazza@lineone.net>
2009-10-14 10:40:47 +02:00
Tim Moore
919d1625df
Merge branch 'stuart/clouds'
2009-10-12 11:04:58 +02:00
jmt
bc7ac3493e
Refactor airway code to use SGGeod in external APIs. First of various changes to make airways more useful in GPS/FMS modules.
2009-10-08 10:37:21 +02:00
durk
47a7952f89
Stuart Buchanan:
...
Improvements to the cloudsystem:
- A new xml format
- Texture indexing based on the position of the sprite in the cloud
mass, allowing more control over the texture set.
- Improved fog and shading
- Better sprite distribution
- A more natural distribution of clouds, so no more obvious grids.
2009-10-04 02:05:08 +02:00
Tim Moore
d59088dc1a
Try to improve frame rate and reduce jitter
...
Signed-off-by: v meazza <vivian.meazza@lineone.net>
Conflicts:
src/AIModel/AIGroundVehicle.cxx
2009-09-30 08:08:09 +02:00
vmeazza
5c7d8c7b68
Add support for tunnel, y-offset and limit update rate
...
Signed-off-by: vmeazza <vivian.meazza@lineone.net>
2009-09-18 20:03:38 +02:00
frohlich
d09c0ec8b9
Disable collisions with the MP aircraft again.
...
Modified Files:
src/AIModel/AIMultiplayer.cxx
2009-09-12 15:47:52 +02:00
frohlich
cb10d714fd
Initialize all members.
...
Modified Files:
src/AIModel/AIAircraft.cxx src/AIModel/AIBase.cxx
2009-09-09 08:56:31 +02:00
frohlich
8676c2bbd8
Replace the SGVec*::sg() methods with the equivalent SGVec*::data() calls.
...
Modified Files:
src/Traffic/Schedule.cxx src/Sound/fg_fx.cxx src/Main/main.cxx
src/Instrumentation/navradio.cxx
src/AIModel/AIFlightPlanCreateCruise.cxx
2009-09-09 08:56:30 +02:00
Tim Moore
acbcf94bde
AIGroundVehicle from Vivian Meazza
2009-08-25 12:52:50 +02:00
Tim Moore
d838ef5f40
compilation fixes for gcc -Wall -Werror
...
Most are cosmetic, but the changes in the FGATCInstruction constructor
fix unitialized members.
2009-08-24 17:13:31 +02:00
torsten
e0b2d43fb4
the warning extinguisher hits again...
2009-08-23 21:43:09 +02:00
frohlich
bb2e5fb2c9
Use the 'all but self' capability of the scenery elevaton code instead of
...
playing with node masks.
Modified Files:
src/AIModel/AIAircraft.cxx src/AIModel/AIBallistic.cxx
src/AIModel/AIBase.cxx src/AIModel/AIBase.hxx
src/AIModel/AIShip.cxx src/AIModel/AIShip.hxx
src/AIModel/AIThermal.cxx src/ATCDCL/AILocalTraffic.cxx
2009-08-10 23:31:21 +02:00
Tim Moore
7d6c567fde
Refer to property types using props:: namespace
...
BOOL, FLOAT etc. conflict with typedefs in windows.h.
2009-07-17 14:54:12 +02:00
timoore
4cc3084256
SGPropertyNode::Type moves to simgear::props namespace
2009-07-16 12:10:47 +02:00
Tim Moore
e342d879e8
Radar patch from Vivian
2009-07-12 01:02:58 +02:00
fredb
219be77f1e
Suppress warnings
2009-07-02 08:59:16 +02:00
frohlich
33a2e2128f
Simplify AI model loading.
...
Modified Files:
AIBallistic.cxx AIBallistic.hxx AIBase.cxx AICarrier.hxx
Makefile.am
Removed Files:
AIModelData.cxx AIModelData.hxx
2009-06-23 10:54:10 +02:00
frohlich
8f501de78c
Remove carrier wire and catapult configuration from the scenario file.
...
This is now included in the model xml file.
So, wires and catapults also work even if they are not loaded by an AICarrier.
Modified Files:
AICarrier.cxx AICarrier.hxx
2009-06-23 10:54:10 +02:00
timoore
d30398f2b2
uninitialized variable fix from Vivian Meazza
2009-06-16 11:32:14 +02:00
fredb
97c214e4fc
Suppress warnings
2009-06-15 10:29:45 +02:00
jmt
6e42458a55
Convert waypoint::CourseAndDistance users to use SGGeodesy helper functions.
2009-06-11 16:05:20 +02:00
jmt
e1583cb28c
Update FGViewer position clients to work with SGGeod directly
2009-06-11 16:05:20 +02:00
fredb
5b93117e2d
Functions should always return a value
2009-06-03 00:18:54 +02:00
frohlich
d9c3c6da96
Fix Carriers without catapults and wires.
...
Modified Files:
src/AIModel/AICarrier.cxx
2009-05-20 00:00:05 +02:00
fredb
19eab15f8e
Remove few warnings
2009-05-18 12:24:17 +02:00
fredb
25c633af3e
Functions should always return a value
2009-05-18 12:24:17 +02:00
durk
a4debec122
Removed hardcoded performance data.
2009-05-18 12:24:15 +02:00
Tim Moore
f528fc7154
AICarrier fixes from Vivian
2009-05-04 16:16:00 +02:00
torsten
2fc7f94154
restoring original copyright of David Culp
2009-05-02 00:44:20 +02:00
torsten
7e3531ef5c
Implementation of ridge lift from Patrice Poly based on an algorithm of Ian Forster-Lewis
2009-05-02 00:44:20 +02:00
frohlich
58a427fb12
Fix a problem with node traversal masks and paged model loading that
...
shows up as a non solid carrier under some circumstance.
Modified Files:
AIBase.cxx AIBase.hxx AIShip.cxx
2009-04-15 23:19:30 +02:00
mfranz
de35bbe4ed
assign a unique module name to ai/mp embedded nasal (again): __model%u
2009-04-01 09:23:54 +02:00
durk
c478cdd35f
Allow the AI Traffic controller to set a transponder code. This code is
...
used in ATC chatter, and writted to the property, so it can -in principle-
be picked up by the radar.
2009-04-01 09:23:54 +02: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
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
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
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
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
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
6b72986b27
Use api's with objects instead of scalars.
...
Modified Files:
src/AIModel/AIAircraft.cxx
2009-03-11 23:14:33 +01:00
frohlich
3afc7e0690
Move the velocity computations for aimodels into AIShip.
...
You should now be able to step on any ship with your model.
Modified Files:
src/AIModel/AICarrier.cxx src/AIModel/AIShip.cxx
src/AIModel/AIShip.hxx
2009-03-05 10:52:03 +01:00