mfranz
235b35ef9a
set tower position at startup
2007-04-26 20:27:25 +00:00
curt
c8986567ae
Syd Adams:
...
Patch to enable atc chatter (and any other arbitrary "message" audio file)
to be played at any specified volume. (Previously these messages were always
played at a hardcoded volume of 1.0)
2007-04-20 18:32:42 +00:00
frohlich
f690bfd113
Modified Files:
...
src/Main/renderer.cxx src/Model/panelnode.hxx: Make it compile with
current osg svn.
2007-04-07 09:54:18 +00:00
mfranz
df4f1aa248
- save pairs of <file>/<path> for each *-set.xml file in autosave.xml
...
- loop up file name in the cache at startup. If it's found, check if the
file exists and use it, otherwise scan $FG_ROOT/Aircraft/ as usual,
and create a new cache while doing that. Rebuild cache on FG_ROOT change.
2007-04-05 19:59:44 +00:00
mfranz
d996d27121
- move fgInitTowerLocationListener() from fgInitPosition() to the init
...
part of fgIdleFunction() in main.cxx. fgInitPosition() is called again
at every reset, which would every time attach another listener.
2007-04-04 19:05:59 +00:00
mfranz
1eb5de245b
fgFindAircraftPath(): put the MAX_DEPTH check at a place where it makes sense
2007-04-02 23:19:36 +00:00
mfranz
caa83238b8
fix spectacularly useless error messages
2007-03-29 21:26:33 +00:00
frohlich
b230c0a1e8
Modified Files:
...
src/Main/renderer.cxx: Guard the OpenGL state around pui a bit more
2007-03-01 18:12:48 +00:00
frohlich
b81a7c8180
Modified Files:
...
src/Main/Makefile.am: Remove junk
2007-02-14 17:45:57 +00:00
fredb
9ae7377c95
Fix the jpg http server
2007-02-10 16:32:21 +00:00
frohlich
d4ecbb8856
Modified Files:
...
src/Main/renderer.cxx: Avoid an additional camera.
Guard the plain OpenGL drawables better.
This change now requires the new osg tarball or osg cvs.
2007-02-06 05:32:24 +00:00
frohlich
0edd68cd36
Modified Files:
...
src/Main/bootstrap.cxx: Olaf Flebbe: Appears to be requierd for
static linkage and pthreadswin32.
2007-01-31 20:44:44 +00:00
frohlich
a8a85fa80c
Modified Files:
...
src/Main/util.cxx: Olaf Flebbe: flush the osgDB cache just before
exit. This avoids a static destructor cleanup problem with static
osg linkage.
2007-01-31 20:43:10 +00:00
frohlich
dc9750f16e
Modified Files:
...
src/Main/renderer.cxx: Fix typo
2007-01-31 20:37:43 +00:00
frohlich
14c52fb33d
Modified Files:
...
src/Main/renderer.cxx: Avoid the ClearNode
2007-01-30 20:34:07 +00:00
frohlich
4ec7d1553c
Modified Files:
...
src/Main/renderer.cxx: Make it work with current osg cvs.
2007-01-28 20:01:47 +00:00
mfranz
8a489eed0b
only WARN if fgcommand "load" doesn't find the file; it returns the
...
success/failure result, and it's up to the caller to complain or ignore
2007-01-20 23:06:44 +00:00
mfranz
b7a7de4f30
don't search *-set.xml files in the the *complete* $FG_ROOT/Aircraft/ tree
...
(including all subdirs and with max depth!), but only the outmost level.
There are no *-set.xml files in deeper nested dirs, and with an ever growing
number of aircraft the search just lasts too long.
2007-01-15 20:58:20 +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
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
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
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
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
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
c9401da22d
Remove two g++ warnings
2006-12-17 18:32:56 +00:00
fredb
2422747bcc
Port jpg-httpd to OSG
2006-12-16 17:44:46 +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
frohlich
6ad85fbae9
Modified Files:
...
src/Main/renderer.cxx: Use a LightSource for the Light.
2006-11-23 17:50:49 +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
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
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
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
bd97270782
Modified Files:
...
src/Main/renderer.cxx: Make sure the normalize mode is not set
2006-11-08 20:45:21 +00:00
frohlich
6e370ce895
Modified Files:
...
fg_init.cxx: Oops, forgot to commit that chunk
2006-11-01 22:26:57 +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
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
c53eef58e4
Modified Files:
...
src/Main/Makefile.am: now we need libsgutil ...
2006-10-31 06:19:53 +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
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
durk
fee78e5119
Fixed a potentially tiny memory leak.
2006-09-30 05:17:45 +00:00
fredb
ec4887d1d2
Win32 only : Advertise we need a console when the program is linked as a 'Windows' subsystem
2006-09-27 20:18:08 +00:00
frohlich
4ea7fc6327
Attemp to fix the 'bogous tile problem'
2006-08-31 05:07:50 +00:00
fredb
2fc8a4bb4b
Remove compilation warnings
2006-08-21 07:41:23 +00:00
curt
2d6f291d4f
Add an initial implementation of the Garmin 400 series "Aviation In" data
...
format. I have a Garmin 295 to test with, but so far I haven't been able
to make this work (code should compile cleanly though.) I don't know if
I've made a mistake in the protocol or if my 295 just doesn't support this.
More work on this to come.
2006-08-20 23:37:13 +00:00