1
0
Fork 0
Commit graph

6571 commits

Author SHA1 Message Date
Dave Luff
c6276f5845 KLN89: Fix both incorrect behaviour and a segfault when deleting a partially-entered waypoint in the flightplan pages 2010-11-23 10:51:37 +00:00
Dave Luff
c30c183999 KLN89: Fix some bugs in the flightplan page text entry. Basically, draw the text entry string instead of the dummy waypoint ID. 2010-11-23 10:15:10 +00:00
James Turner
4a25fe3adc Ignore -psn_ argument if launched as a GUI app on Mac. 2010-11-22 23:28:12 +00:00
Dave Luff
a39fa6ca1e Merge branch 'kln89' into next 2010-11-22 22:44:21 +00:00
Dave Luff
dbd3e7077d KLN89: Change to more meaningful function names, and always clear the buffer after drawing. 2010-11-22 22:21:09 +00:00
Dave Luff
cd420dadf7 KLN89: Fix clipping bug affecting the KLN89 map page. Pixels and lines must be clipped when being put into the buffer, since the clip region may change before the buffer is rendered. Also, the wrong DrawPixel function was called from the oldDrawLine function. 2010-11-22 21:34:24 +00:00
James Turner
e0aef846e3 Fixing bug #172 - warp handling during pause. 2010-11-21 23:43:41 +00:00
Dave Luff
0b941b759a KLN89: Round properly when converting map points to pixel locations 2010-11-21 20:46:14 +00:00
Dave Luff
95f244b741 KLN89: Update obsolete email address 2010-11-21 17:14:15 +00:00
Dave Luff
34cbe3623b KLN89: Update obsolete email address 2010-11-21 17:13:41 +00:00
Dave Luff
650483f1d3 KLN89: Cleanup - fix broken indentation and email address, and replace tabs with spaces 2010-11-21 17:05:33 +00:00
Dave Luff
35e63ca406 Fix copy-and-paste error which resulted in right inner knob having left inner knob function whilst setting ID in flightplan pages 2010-11-21 15:56:15 +00:00
Erik Hofman
929ef66fc8 Merge branch 'next' of git://gitorious.org/fg/flightgear into next 2010-11-21 15:44:45 +01:00
Dave Luff
19d94f21e2 Clean up indentation and then replace tabs with spaces 2010-11-21 14:16:43 +00:00
ThorstenB
dec020cd64 Suppress framerate while splash screen active
Don't irritate the fps-geeks while the sim isn't ready yet.
And a minor pointer safety issue.
2010-11-21 13:58:10 +01:00
Dave Luff
80badf9fc5 Clarify comments 2010-11-21 09:59:49 +00:00
Torsten Dreyer
495a23a80a Avoid division by zero in exponential filters 2010-11-20 11:07:24 +01:00
Erik Hofman
2ea50c63bb Merge branch 'next' of git://gitorious.org/fg/flightgear into next 2010-11-19 15:35:38 +01:00
ThorstenB
fabf45bfd5 Use simgear abstraction for sleeping.
Fix required for Bill's OS...
2010-11-19 15:05:12 +01:00
ThorstenB
44901ae86f Tile manager improvements
Priority scheme for tile loading/removing
Cleaner tile manager interface for AI/groundcache/...
Reduce start-up delay. Drop splash screen when inner scenery is available.
Be nice to osg loader: slow-down main loop while initial scenery is still loading.
2010-11-19 13:59:43 +01:00
ThorstenB
20b58fd9ab Set initial environment visibility (thanks to kantoon) 2010-11-19 13:47:13 +01:00
ThorstenB
ca3cabc60a Kill some unnecessary include dependencies.
Speed-up compilation when working on tilemanager.
2010-11-19 13:44:52 +01:00
Vivian Meazza
6ac7271d80 Add oitput to property tree.
Signed-off-by: Vivian Meazza <vivian.meazza@lineone.net>
2010-11-19 09:55:36 +00:00
Vivian Meazza
12d10066a6 Merge branch 'next' of D:\Git_New\flightgear into next 2010-11-18 23:51:12 +00:00
Vivian Meazza
a68b07e67a Add Alignment settable at runtime, and add movement-induced errors.
Signed-off-by: Vivian Meazza <vivian.meazza@lineone.net>
2010-11-18 23:48:58 +00:00
ThorstenB
da32e9332c Freeze MP position during replay.
Now you can replay and watch your favourite landing
101 times without pi**ing off everyone else playing MP. :)
2010-11-15 23:28:51 +01:00
Tim Moore
38e1600bed add a command to print information about visible objects in the scene 2010-11-15 00:09:52 +01:00
James Turner
86b906e84e Expose SimGear and OSG versions via properties too. 2010-11-14 22:55:55 +00:00
Vivian Meazza
f51f15eb50 Merge branch 'next' of D:\Git_New\flightgear into next 2010-11-14 22:24:00 +00:00
ThorstenB
1d8913b53e Fixed path resolution (search --fg-aircraft dirs)
Do not abort early when resource doesn't match /sim/aircraft-dir.
2010-11-14 21:06:19 +01:00
Frederic Bouvier
3209a4db09 MSVC: ensure that HAVE_VERSION_H always has a value 2010-11-14 15:33:08 +01:00
Torsten Dreyer
8e55b03f01 Merge branch 'next' of gitorious.org:fg/flightgear into next 2010-11-14 13:54:59 +01:00
Torsten Dreyer
f97295f004 fix inconsitent property name fuel[-_]pump 2010-11-14 13:53:45 +01:00
Frederic Bouvier
79ece1c22c MSVC: compile with version.h if environment variable HAVE_VERSION_H is set to 1 2010-11-14 13:28:17 +01:00
Mathias Froehlich
3d54541cad Make out of source builds again work. 2010-11-14 11:07:46 +01:00
James Turner
1dbe833579 Use updated version.h if available.
Add single fallback header if version.h is missing.
2010-11-13 18:58:55 +00:00
James Turner
a6458c2ed6 Autoconf changes for more flexible versioning. 2010-11-13 10:40:29 -08:00
ThorstenB
e5348b67a5 New property identifying missing MP planes
Provide "model-installed" property at MP planes for pilot list.
Avoid direct directory access in Nasal (aircraft installed check).
2010-11-13 16:29:34 +01:00
Christian Schmitt
0a5e86f4e6 remove old .cvsignore files 2010-11-11 01:16:29 +01:00
Torsten Dreyer
0917a5e062 Bugfix: no automatic runway selection with --parkpos= 2010-11-10 23:28:07 +01:00
Torsten Dreyer
9242f3a083 Make startup.nas obsolete
This is an ugly hack for automatic runway selection on startup based on
metar data. It's main intention is to make startup.nas obsolete and
to guarantee the same runway selection logic as used for AI traffic.

Calling presets-commit from startup.nas during the initialization
sequence caused occasional trouble and sometimes, the AI traffic
operated on the opposite runway.
2010-11-10 22:19:25 +01:00
Vivian Meazza
66f1ac9222 Merge branch 'next' of D:\Git_New\flightgear into next 2010-11-08 22:06:04 +00:00
ThorstenB
85185b56c5 Fixed hot-spot display for 3d modes
Also set left/right culling masks (standard mask no effect when 3d rendering is enabled).
2010-11-08 00:24:41 +01:00
Vivian Meazza
438e365aad Merge branch 'next' of D:\Git_New\flightgear into next 2010-11-06 10:21:15 +00:00
Erik Hofman
9ad18de448 Merge branch 'next' of git://gitorious.org/fg/flightgear into next 2010-11-06 10:05:46 +01:00
James Turner
0cb0c59bc9 FGIO uses new SGSubsystem shutdown() logic 2010-11-06 07:22:37 +00:00
Vivian Meazza
8150bca689 Merge branch 'next' of D:\Git_New\flightgear into next 2010-11-04 20:09:52 +00:00
James Turner
c053de6b4c If preset-commit occurs during init, skip most re-init logic. 2010-11-02 23:19:09 +00:00
Vivian Meazza
cbb502957c Merge branch 'next' of D:\Git_New\flightgear into next 2010-11-02 22:59:34 +00:00
James Turner
eeaf4b13e6 Unify reset/reposition code-paths, and ensure initial state is preserved by a reset. 2010-11-02 22:45:43 +00:00
James Turner
0d6de72b57 Add headerpax-max-install-names, for Mac deployment. 2010-11-02 14:24:09 +00:00
Torsten Dreyer
c56aaa8771 add <initialize-to> to components
The tag <initialize-to> can be used to control the value
of the output when the component is first enabled. This
controls initialization of the output property and the current
value for internal computation
Valid values are

  <initialize-to>input</initialize-to>
set the output-property to the input value

  <initialize-to>output</initialize-to>
set the output-property to the output value

  <initialize-to>none</initialize-to>
ignore input and output value
2010-11-02 11:07:33 +01:00
Vivian Meazza
830c2ae7db Merge branch 'next' of D:\Git_New\flightgear into next 2010-11-01 18:23:23 +00:00
Erik Hofman
ff985e43df Merge branch 'next' of git://gitorious.org/fg/flightgear into next 2010-11-01 15:04:59 +01:00
James Turner
545969054c Use new Simgear platform defines in Input code. 2010-10-31 12:23:16 +00:00
Csaba Halasz
27782d7c8b Added null pointer check to AI subsystem tear down in FGGlobals destructor to avoid crash when using --help option 2010-10-31 00:36:54 +02:00
Vivian Meazza
8ec60b663d Merge branch 'next' of D:\Git_New\flightgear into next 2010-10-29 20:59:01 +01:00
ThorstenB
7dd2cf19e8 Fixed some compiler warnings.
Please the compiler (gods).
2010-10-29 21:14:09 +02:00
James Turner
f02267e3e3 Remove a stray include that got missed. 2010-10-29 14:11:54 +01:00
Vivian Meazza
9ac9940e38 Merge branch 'next' of D:\Git_New\flightgear into next 2010-10-29 10:14:12 +01:00
James Turner
d1a4590721 Goodbye old HUD - and the archeology it depended upon in cockpit.cxx 2010-10-29 08:47:58 +01:00
Erik Hofman
e7ed88af92 Merge branch 'next' of git://gitorious.org/fg/flightgear into next 2010-10-29 09:10:59 +02:00
Erik Hofman
61788d6558 temporary fix for a crash of the c172 (and possibly other aircraft) 2010-10-29 09:10:07 +02:00
Frederic Bouvier
6081f24b00 Don't blindly delete the global property tree on reinit 2010-10-29 09:00:31 +02:00
Vivian Meazza
02fb83c774 Merge branch 'next' of D:\Git_New\flightgear into next 2010-10-28 17:35:03 +01:00
Vivian Meazza
0840b188d2 Re-interpret gyro wander under g-forces
Signed-off-by: Vivian Meazza <vivian.meazza@lineone.net>
2010-10-28 17:32:22 +01:00
Vivian Meazza
b88d0988cd More rationalization of methods, and other clean-ups
Signed-off-by: Vivian Meazza <vivian.meazza@lineone.net>
2010-10-28 17:29:41 +01:00
James Turner
0147f78d20 Remove persistent references to AI mananger and its objects from the submodel-manager. 2010-10-28 15:10:37 +01:00
James Turner
e9f4106bc1 Remove confusing default (missing) path from 2D panel code. 2010-10-28 13:54:45 +01:00
James Turner
0320010d95 Make use of view[0] in HUD-runway lazy. 2010-10-28 13:54:01 +01:00
James Turner
c96206aafd Tweak shutdown code, chasing intermittent segfaults on shutdown. 2010-10-26 23:42:34 +01:00
Torsten Dreyer
ae5c29e685 Merge branch 'next' of gitorious.org:fg/flightgear into next 2010-10-26 21:20:54 +02:00
Torsten Dreyer
4371a18771 resurrection of /sim/rendering/draw-otw 2010-10-26 21:20:01 +02:00
Erik Hofman
68f5429048 Sync with JSBSim cvs + Anders' patch to get it working with FlightGear. 2010-10-26 09:48:56 +02:00
Torsten Dreyer
657cd883d7 Compile again, replace clib strXXX with std::string 2010-10-25 14:48:56 +02:00
James Turner
e5abcb1d4e Merge commit 'refs/merge-requests/9' of git://gitorious.org/fg/flightgear into integration/merge9
Conflicts:
	src/GUI/new_gui.cxx
2010-10-25 09:12:21 +01:00
ThorstenB
d61e992d76 Fix occasional start-up crash when reading GUI XMLs.
_dialog_props holds SGSharedPtrs (pointers managed by reference counters).
Explicitly casting the object to an unmanaged SGPropertyNode* and deleting it
may cause heap corruption, since the following assignment "_dialog_props[..] = ..."
also tries to delete the (already deleted) object.
2010-10-24 21:36:15 +02:00
Anders Gidenstam
d7440d8fc5 src/Network/jpg-httpd.cxx: Include C++ C headers instead of plain C headers. 2010-10-24 15:22:06 +02:00
James Turner
987c1bdfda Automake build fixes for PLIB net/ul removal. 2010-10-24 11:04:14 +01:00
James Turner
db4b84bc5c Convert nasal directory() helper to use simgear::Dir 2010-10-24 07:10:51 +01:00
James Turner
7ccba95b9c Remove direct uses of PLIB ulXXX functions 2010-10-24 07:10:51 +01:00
James Turner
0e53e2cbb1 PLIB net removed from FlightGear 2010-10-24 07:10:51 +01:00
James Turner
984900d84d Make v2 HUD a top-level subsystem, so it can be reinit()ed correctly. 2010-10-24 07:10:02 +01:00
James Turner
957a59e57a Investigating an intermittent shutdown crash; fix deletion of AIManager. 2010-10-23 19:09:08 +01:00
James Turner
3464eef711 Make the v2 HUD support reinit(), so HUDs can be reloaded at runtime. 2010-10-22 19:11:24 +01:00
James Turner
d573cb43a0 Move three more subsystems into the init + update scheme - fixes some crashes found by papillion. 2010-10-22 16:44:37 +01:00
James Turner
f5c2c630eb Remove references to old (unused) airways code 2010-10-20 17:54:16 +01:00
James Turner
fe16732783 Fix Win32 compilation - avoid SID name clash with windows.h 2010-10-20 13:13:05 +01:00
James Turner
308fd1b112 Automake build fixes for airways commit. 2010-10-20 11:48:06 +01:00
James Turner
dd2eec7bd8 Airways/procedures code - add new data structures to store waypoints and
procedures, and routing algorithms, and modify the GPS, route manager and
WaypointList to use the new objects.
2010-10-20 09:02:02 +01:00
James Turner
0d7769ae72 Search aircraft dirs when loading AI models. Thanks to Thorsten Brehm for the catch. 2010-10-20 00:07:54 +01:00
James Turner
94a3471956 Merge commit 'refs/merge-requests/7' of git://gitorious.org/fg/flightgear into topics/merge7 2010-10-19 09:05:51 +01:00
James Turner
6251814604 Use a property listener on the root, to observe property creation, and thus lazily update the MP property map. Fixes bug 164, and probably many latent MP missing-property issues. 2010-10-18 00:58:35 +01:00
Torsten Dreyer
9f9e86a61e remove leftover debugging stuff 2010-10-12 15:26:00 +02:00
Torsten Dreyer
06fb956f2c Fix timing issue on startup for auto runway selection
The automatic runway selection code in startup.nas depends
on a valid metar before /sim/signals/nasal-dir-initialized
is fired. If the METAR arrives after that signal, no automatic
runway selection is performed. This patch waits for a METAR
on the first update() loop of the subsystem.
2010-10-11 21:21:53 +02:00
Torsten Dreyer
b9f2f432b3 Merge commit 'refs/merge-requests/8' of git://gitorious.org/fg/flightgear into merge-predictor-fix 2010-10-09 16:06:18 +02:00
Tim Moore
f901dac2ac replace GLU functions with OSG functionality 2010-10-08 23:48:01 +02:00
Thorsten Brehm
a4f1139fcd Fixed autopilot/Predictor.
Signature of Predictor::configure must match AnalogComponent::configure,
otherwise the inherited method isn't overridden.
=> predictor couldn't be configured.
=> speed predictor rules in "generic-autopilot-helper.xml" weren't working.
2010-10-08 21:41:09 +02:00
James Turner
9b2cea33e8 Remove uneccessary explicit update of FGLight 2010-10-05 23:17:32 +01:00
James Turner
0c342308eb Make MultiPlayer a well-behaved subsystem. 2010-10-05 23:17:32 +01:00