]> git.mxchange.org Git - flightgear.git/log
flightgear.git
17 years agoChanged formatting to K&R/4 by "popular demand".
durk [Sun, 10 Jun 2007 06:06:57 +0000 (06:06 +0000)]
Changed formatting to K&R/4 by "popular demand".

17 years agoA couple tweaks.
curt [Sat, 9 Jun 2007 22:38:54 +0000 (22:38 +0000)]
A couple tweaks.

17 years agoAdded back in a few defines that I had accidentally deleted before.
durk [Sat, 9 Jun 2007 13:25:21 +0000 (13:25 +0000)]
Added back in a few defines that I had accidentally deleted before.

17 years agoCode cleanup of AIModels (mainly AIAircraft), by Thomas Foerster
durk [Sat, 9 Jun 2007 11:49:16 +0000 (11:49 +0000)]
Code cleanup of AIModels (mainly AIAircraft), by Thomas Foerster

17 years agouse getNode instead of hasValue (it's just a dir node and doesn't need a value)
mfranz [Sat, 9 Jun 2007 10:15:50 +0000 (10:15 +0000)]
use getNode instead of hasValue (it's just a dir node and doesn't need a value)

17 years agoModified Files:
frohlich [Fri, 8 Jun 2007 07:14:56 +0000 (07:14 +0000)]
Modified Files:
fg_os_osgviewer.cxx: Enable mouse cursor change code on
sufficiently recent osg versions.

17 years agoModified Files:
frohlich [Fri, 8 Jun 2007 06:50:38 +0000 (06:50 +0000)]
Modified Files:
src/Main/options.cxx:
Olaf Flebbe: Make use of SGSceneFeatues for anisotropic filtering,
        clean up.

17 years agoanother secret commit to sneak in stuff:
mfranz [Thu, 7 Jun 2007 22:48:37 +0000 (22:48 +0000)]
another secret commit to sneak in stuff:
- cleanup

17 years agoRemove the GUI popup from the screen capture C++ code (a request via
andy [Thu, 7 Jun 2007 16:57:59 +0000 (16:57 +0000)]
Remove the GUI popup from the screen capture C++ code (a request via
IRC wanted this to be scritable) and add it back (as a tip popup) via
a little nasal in the keyboard handler.  Also put the synthesis of
property nodes back into fgcommand(), because I got cold feet.

17 years agoVivian MEAZZA:
mfranz [Thu, 7 Jun 2007 16:30:26 +0000 (16:30 +0000)]
Vivian MEAZZA:

- collision detection for AI objects
- subsubmodels

mf: various modifications; more general cleanup to do

17 years agoAllow the second (property node) argument to fgcommand() to be nil or
andy [Thu, 7 Jun 2007 16:17:48 +0000 (16:17 +0000)]
Allow the second (property node) argument to fgcommand() to be nil or
missing, for sanity.  Note that this will pass the resulting NULL
pointer through into the underlying SGCommand handlers, some of which
may be unprepared for it.  So basically this is now yet another way
you can use Nasal to exercise bugs and hose your sim; no biggie.

17 years agosavexml: analog to loadxml, if no <sourcenode> is given, save file
mfranz [Wed, 6 Jun 2007 21:18:25 +0000 (21:18 +0000)]
savexml: analog to loadxml, if no <sourcenode> is given, save file
contents from the argument tree's <data> node. That way one doesn't have
to plug a temporary branch into the main tree.

17 years agoModified Files:
frohlich [Tue, 5 Jun 2007 17:44:49 +0000 (17:44 +0000)]
Modified Files:
FGManipulator.cxx: Stuart Buchanan: add tab key translation.

17 years agoadd check for thumbnail size
mfranz [Tue, 5 Jun 2007 16:04:24 +0000 (16:04 +0000)]
add check for thumbnail size

17 years agoMaik: fix crash when using aircraft with hitches under the command
andy [Tue, 5 Jun 2007 16:01:43 +0000 (16:01 +0000)]
Maik: fix crash when using aircraft with hitches under the command
line solver.  (He promises to get all the MP interaction out of the
FDM in a future patch.)

17 years agoloadxml: if argument "targetnode" isn't defined, return the file data in
mfranz [Mon, 4 Jun 2007 10:07:31 +0000 (10:07 +0000)]
loadxml: if argument "targetnode" isn't defined, return the file data in
the argument tree under "data". This is useful in cases where the file
data are only needed temporarily and shouldn't remain in the main tree.

17 years agoSyd ADAMS:
mfranz [Sun, 3 Jun 2007 18:17:05 +0000 (18:17 +0000)]
Syd ADAMS:

"normalize the radar x and y-shift , 0 to 1.0 based on
/instruments/radar/range to make animation simpler"

17 years agoSync w. JSBSim CVS (merge from PRE_OSG_PLIB_20061029 branch)
mfranz [Sun, 3 Jun 2007 12:49:19 +0000 (12:49 +0000)]
Sync w. JSBSim CVS   (merge from PRE_OSG_PLIB_20061029 branch)

17 years agoSync w. JSBSim CVS (merge from PRE_OSG_PLIB_20061029 branch)
mfranz [Sun, 3 Jun 2007 09:37:02 +0000 (09:37 +0000)]
Sync w. JSBSim CVS   (merge from PRE_OSG_PLIB_20061029 branch)

17 years ago-Minor fix: Only read traffic from data/Traffic/fgtraffic.xml if that path really...
durk [Thu, 31 May 2007 19:53:53 +0000 (19:53 +0000)]
-Minor fix: Only read traffic from data/Traffic/fgtraffic.xml if that path really exists.
- Added a comment explaining why the first 1000 frames are skipped.

17 years ago- add heading-deg, pitch-deg, roll-deg to impact/
mfranz [Thu, 31 May 2007 18:08:12 +0000 (18:08 +0000)]
- add heading-deg, pitch-deg, roll-deg to impact/
- if no <impact-reports> node is defined for a particular submodel, then
  write the path to /ai/models/model-impact instead
- don't tie() properties that are only ever set a single time, if at all!
- better variable names

17 years agoMaik JUSTUS: fix typo (ROTORRELTARGET)
mfranz [Thu, 31 May 2007 16:58:58 +0000 (16:58 +0000)]
Maik JUSTUS: fix typo (ROTORRELTARGET)

17 years agoModified Files:
frohlich [Thu, 31 May 2007 12:12:06 +0000 (12:12 +0000)]
Modified Files:
src/Cockpit/panel_io.cxx: use existing function to parse an
interpolation table.

17 years agoModified Files:
frohlich [Wed, 30 May 2007 13:17:31 +0000 (13:17 +0000)]
Modified Files:
projects/VC8/FGJS.vcproj projects/VC8/FlightGear.vcproj
projects/VC8/FlightGearLib.vcproj projects/VC8/JS_demo.vcproj:
Olaf Flebbe: win32 build system.

17 years agoModified Files:
frohlich [Wed, 30 May 2007 13:15:14 +0000 (13:15 +0000)]
Modified Files:
src/GUI/dialog.cxx src/GUI/menubar.cxx
src/Include/config.h-msvc8 src/Main/fg_os_osgviewer.cxx:
Olaf Flebbe: build fixes for osgviewer on win32.

17 years agoModified Files:
frohlich [Mon, 28 May 2007 05:21:45 +0000 (05:21 +0000)]
Modified Files:
src/Main/options.cxx:
Olaf Flebbe: Improoved texture filtering.

17 years agoMaik: add ROTORELTARGET and ROTORENGINEMAXRELTORQUE input axes
andy [Sun, 27 May 2007 20:19:15 +0000 (20:19 +0000)]
Maik: add ROTORELTARGET and ROTORENGINEMAXRELTORQUE input axes

17 years agoModified Files:
frohlich [Sat, 26 May 2007 13:53:46 +0000 (13:53 +0000)]
Modified Files:
  src/Input/input.cxx src/Input/input.hxx
src/Main/FGManipulator.cxx src/Main/fg_os.cxx
  src/Main/fg_os.hxx src/Main/fg_os_osgviewer.cxx
src/Main/fg_os_sdl.cxx src/Main/renderer.cxx
src/Main/renderer.hxx: First cut of osg multi view configurations.

17 years agoModified Files:
frohlich [Sat, 26 May 2007 13:51:23 +0000 (13:51 +0000)]
Modified Files:
src/Scenery/tileentry.cxx: Jonathan Wagner:
Removes black dots by accounting for radius of nodes
when calculating visible nodes for traversal without removing the
optimization.  Confirmed fix with a few people on IRC.

17 years agoModified Files:
frohlich [Sat, 26 May 2007 11:39:13 +0000 (11:39 +0000)]
Modified Files:
src/GUI/gui.h src/GUI/gui_funcs.cxx src/Main/fg_commands.cxx
src/Main/renderer.cxx src/Main/renderer.hxx: Tim Moore:
These patches implement a command to dump the entire OSG scene graph as
        a .osg text file. While large, this allows debuggers to really see
        what's happening in the scene graph.

17 years agoModified Files:
frohlich [Sat, 26 May 2007 11:33:11 +0000 (11:33 +0000)]
Modified Files:
  src/Main/renderer.cxx:
Tim Moore:
This patch fixes the (lack of) spin animation in the osgViewer version.

17 years agoMaik: place the contact points at the rotor blade tips (center+radius), not at center...
andy [Fri, 25 May 2007 22:58:04 +0000 (22:58 +0000)]
Maik: place the contact points at the rotor blade tips (center+radius), not at center+diameter

17 years agoMaik: add unbalance and testing of rotor ground contact
andy [Fri, 25 May 2007 21:15:59 +0000 (21:15 +0000)]
Maik: add unbalance and testing of rotor ground contact

17 years agoModified Files:
frohlich [Fri, 25 May 2007 18:08:37 +0000 (18:08 +0000)]
Modified Files:
src/Main/FGManipulator.cxx: Tim Moore:
This adds support for the keypad and the ever-important backspace and
delete (!) to the osgViewer code.

17 years agoDon't fix what ain't broke.
durk [Fri, 25 May 2007 07:20:41 +0000 (07:20 +0000)]
Don't fix what ain't broke.

17 years agoQuit the application on window close.
frohlich [Wed, 23 May 2007 17:57:05 +0000 (17:57 +0000)]
Quit the application on window close.

17 years agoYank the automake version test. The numerics break for the (two-digit
andy [Mon, 21 May 2007 20:22:18 +0000 (20:22 +0000)]
Yank the automake version test.  The numerics break for the (two-digit
minor number) automake 1.10 shipped with Ubuntu Feisty, and in any
case version 1.4 (the last incompatible version) is now over 8 years
old.

17 years agoNeed to pull in config.h before plib/pu.h or else PUI thinks it's in
andy [Mon, 21 May 2007 19:24:57 +0000 (19:24 +0000)]
Need to pull in config.h before plib/pu.h or else PUI thinks it's in
Glut mode and the build breaks under SDL

17 years agoModified Files:
frohlich [Mon, 21 May 2007 17:50:02 +0000 (17:50 +0000)]
Modified Files:
configure.ac src/Main/Makefile.am src/Main/fg_os.cxx
src/Main/fg_os.hxx src/Main/fg_os_sdl.cxx src/Main/main.cxx
src/Main/renderer.cxx src/Main/renderer.hxx
src/Network/jpg-httpd.cxx
Added Files:
src/Main/FGManipulator.cxx src/Main/FGManipulator.hxx
src/Main/fg_os_osgviewer.cxx:
Tim Moore: Make use of osgViewer.

17 years agoUpdates.
curt [Fri, 18 May 2007 02:09:55 +0000 (02:09 +0000)]
Updates.

17 years agoFix an array overrun error (Ok'd by Jon)
curt [Thu, 17 May 2007 20:25:16 +0000 (20:25 +0000)]
Fix an array overrun error (Ok'd by Jon)

17 years agoAdded Olaf Flebbe.
curt [Thu, 17 May 2007 19:46:29 +0000 (19:46 +0000)]
Added Olaf Flebbe.

17 years agoUpdates.
curt [Thu, 17 May 2007 19:27:41 +0000 (19:27 +0000)]
Updates.

17 years agoLadislav Michnovič: fix a 64bit problem.
curt [Thu, 17 May 2007 18:43:36 +0000 (18:43 +0000)]
Ladislav Michnovič: fix a 64bit problem.

17 years agoTrim any extra verbocity in the version number.
curt [Wed, 16 May 2007 16:50:41 +0000 (16:50 +0000)]
Trim any extra verbocity in the version number.

17 years agoType consistency.
curt [Wed, 16 May 2007 16:47:13 +0000 (16:47 +0000)]
Type consistency.

17 years agoUpdates for scenery object database credits.
curt [Wed, 16 May 2007 14:32:07 +0000 (14:32 +0000)]
Updates for scenery object database credits.

17 years agoFor now, OSG head should look for the same "data" tree version as the plib
curt [Wed, 16 May 2007 03:53:47 +0000 (03:53 +0000)]
For now, OSG head should look for the same "data" tree version as the plib
branch.

17 years agoMail++, Vivian++, ... and mine, of course :-)
mfranz [Tue, 15 May 2007 22:41:18 +0000 (22:41 +0000)]
Mail++, Vivian++, ... and mine, of course  :-)
Will think about whose efforts are still unmentioned.

17 years agoreverting a small part; shouldn't make a difference, though
mfranz [Tue, 15 May 2007 21:37:16 +0000 (21:37 +0000)]
reverting a small part; shouldn't make a difference, though

17 years agoMaik JUSTUS: "further (final?) modifications for the jet ranger rotor"
mfranz [Tue, 15 May 2007 21:30:33 +0000 (21:30 +0000)]
Maik JUSTUS: "further (final?) modifications for the jet ranger rotor"

17 years agodrop /ai/models/ballistic[]/impact/signal node, and allow instead to define
mfranz [Tue, 15 May 2007 19:45:41 +0000 (19:45 +0000)]
drop /ai/models/ballistic[]/impact/signal node, and allow instead to define
a report node in the submodels config:

  <impact-reports>/sim/model/cow/impact</impact-reports>

When an impact happens, then the path of the submodel will be written to
this node. An attached listener function can evaluate the impact properties.

17 years ago- add leading underscores to class member variables
mfranz [Tue, 15 May 2007 17:22:49 +0000 (17:22 +0000)]
- add leading underscores to class member variables
- initialize ht_agl_ft with high value to avoid premature impact animation
- cosmetics

17 years agoVivian MEAZZA: add terrain collision for submodels on request
mfranz [Tue, 15 May 2007 16:19:11 +0000 (16:19 +0000)]
Vivian MEAZZA: add terrain collision for submodels on request
               (set <impact>1</impact> in the submodel config)

mf: minor modifications & cleanup; more to come

17 years ago- don't abort just because a sample wasn't found
mfranz [Tue, 15 May 2007 14:39:56 +0000 (14:39 +0000)]
- don't abort just because a sample wasn't found
- rename to play-audio-sample (not every sound is a message)

17 years agoAndy ROSS:
mfranz [Mon, 14 May 2007 16:24:41 +0000 (16:24 +0000)]
Andy ROSS:

add systime() function for benchmarking purposes. It returns UNIX epoch
time in seconds.

17 years agolet "terrain-elevation" also return material name ("material" -> "Grass")
mfranz [Sun, 13 May 2007 19:03:15 +0000 (19:03 +0000)]
let "terrain-elevation" also return material name ("material" -> "Grass")
and solid state ("solid")

17 years agos/resistence/resistance/
mfranz [Sun, 13 May 2007 11:58:36 +0000 (11:58 +0000)]
s/resistence/resistance/

17 years agos/resistence/resistance/
mfranz [Sun, 13 May 2007 11:53:21 +0000 (11:53 +0000)]
s/resistence/resistance/

17 years agosilence MSVC8
mfranz [Sun, 13 May 2007 08:43:40 +0000 (08:43 +0000)]
silence MSVC8

17 years agoadd error messages for invalid args to settimer()
mfranz [Sat, 12 May 2007 18:15:45 +0000 (18:15 +0000)]
add error messages for invalid args to settimer()

17 years agoAnders GIDENSTAM: fix slip skid ball (merge from JSBSim/cvs)
mfranz [Sat, 12 May 2007 15:10:39 +0000 (15:10 +0000)]
Anders GIDENSTAM: fix slip skid ball   (merge from JSBSim/cvs)

JSB: "Fixed a problem with turn coordinator bounding while at rest on the runway"

17 years agoVivian MEAZZA:
mfranz [Sat, 12 May 2007 10:39:56 +0000 (10:39 +0000)]
Vivian MEAZZA:

- extract common parts of load() and loadAI() into setData()
- fix trigger handling for aircraft that set a not yet existing property

17 years ago- degrade electrical XML SG_ALERT to SG_WARN. The reason why this is output
mfranz [Fri, 11 May 2007 18:00:07 +0000 (18:00 +0000)]
- degrade electrical XML SG_ALERT to SG_WARN. The reason why this is output
  at all is that this method is meant to be deprecated. But if it doesn't
  say that, and there's no generic replacement at all, then it's rather
  pointless.
- simplify parameter initialization (The old code copied from Instrumentation/
  but has been simplified there in the same manner a few months ago
  The new method is less picky about additional nodes ane outputs less
  pointless alerts. If there shall really be a check for that, then
  this should be a separate function. But it's nowhere else done in fgfs.

17 years ago- don't abort just because of an unexpected "repeat period"! Complain and
mfranz [Thu, 10 May 2007 14:28:17 +0000 (14:28 +0000)]
- don't abort just because of an unexpected "repeat period"! Complain and
  recover instead
- it was apparently planned to run the updated loop only every 1000th
  frame, but the counter isn't reset, so it runs every frame
- use SG_LOG instead of cerr
- don't add redundant slashes in SGPath::append()

17 years ago- One of the most frequent bug reports is about "terminate called after
mfranz [Thu, 10 May 2007 12:50:50 +0000 (12:50 +0000)]
- One of the most frequent bug reports is about  "terminate called after
  throwing an instance of 'sg_io_exception'\nAbandon". And this is caused
  by compiling fgfs/sg without exception support (unlikely) or linking
  against a libSDL/libglut that was compiled/linked without execption
  support. While we can't fix that, we can tell the users who's to blame. :-)
- handle  const char *  exceptions

17 years agoMaik JUSTUS: remove temporary debugging message
mfranz [Wed, 9 May 2007 21:12:20 +0000 (21:12 +0000)]
Maik JUSTUS: remove temporary debugging message

17 years agodegrade SG_ALERT message about phi/delta3 values to SG_WARN (should
mfranz [Wed, 9 May 2007 21:01:19 +0000 (21:01 +0000)]
degrade SG_ALERT message about phi/delta3 values to SG_WARN (should
probably be SG_DEBUG!?)

17 years agoModified Files:
frohlich [Wed, 9 May 2007 20:41:08 +0000 (20:41 +0000)]
Modified Files:
src/ATC/AIPlane.cxx src/ATC/ATC.cxx src/ATC/ATCDialog.cxx
src/ATC/ATCmgr.cxx src/ATC/Makefile.am src/ATC/approach.cxx
src/ATC/atis.cxx src/ATC/ground.cxx src/ATC/tower.cxx
src/GUI/mouse.cxx src/Main/Makefile.am src/Main/fg_init.cxx
src/Main/fg_props.cxx src/Main/globals.cxx
src/Main/globals.hxx src/Main/main.cxx src/Main/renderer.cxx
src/Model/acmodel.cxx src/Scenery/scenery.cxx
src/Scenery/scenery.hxx src/Scenery/tilemgr.cxx
src/Scenery/tilemgr.hxx
Removed Files:
src/ATC/ATCdisplay.cxx src/ATC/ATCdisplay.hxx:
Remove unused functions and the disabled ATC display.

17 years agoMaik JUSTUS:
mfranz [Wed, 9 May 2007 20:36:43 +0000 (20:36 +0000)]
Maik JUSTUS:

"minor update for the rotor FDM. It results in a more realistic
calculation of the phase shift of rotor and therefor in a little bit
more realistic flight behavior.
(Additionally you can modify the initial position of the rotor and some
(not finished) modifications for the jet ranger rotor)."

17 years agoModified Files:
frohlich [Tue, 8 May 2007 06:12:26 +0000 (06:12 +0000)]
Modified Files:
src/FDM/groundcache.cxx src/Main/fg_commands.cxx
src/Main/main.cxx src/Main/renderer.cxx
src/Scenery/FGTileLoader.cxx src/Scenery/scenery.cxx
src/Scenery/scenery.hxx src/Scenery/tileentry.cxx
src/Scenery/tileentry.hxx src/Scenery/tilemgr.cxx
src/Scenery/tilemgr.hxx: Simplify scenegraph structure.

17 years ago(untested) last-minute changes are evil! :-)
mfranz [Mon, 7 May 2007 14:37:38 +0000 (14:37 +0000)]
(untested) last-minute changes are evil!  :-)

17 years agoproperty_list.cxx: in verbose mode (toggle with Ctrl-'.'-entry) also
mfranz [Mon, 7 May 2007 14:29:40 +0000 (14:29 +0000)]
property_list.cxx: in verbose mode (toggle with Ctrl-'.'-entry) also
  show "secret" values, that is: values of nodes with children. These
  can be used like all normal (leaf) properties, but their values were
  until now only shown in writeProperties() dumps. Also show the
  number of attached listeners. Example:    foo = 'bar' (string, AU, L3).

dialog.cxx: add warning message for broken <format>s; cosmetics

17 years agolet foo.getAttribute("listeners") return the number of listeners attached
mfranz [Mon, 7 May 2007 14:23:56 +0000 (14:23 +0000)]
let foo.getAttribute("listeners") return the number of listeners attached
to props.Node foo  (shall be used in debug.nas and possibly props.nas)

17 years agocosmetics: make the reason for the cast obvious. (Now that almost all of
mfranz [Mon, 7 May 2007 14:06:05 +0000 (14:06 +0000)]
cosmetics: make the reason for the cast obvious. (Now that almost all of
fgfs has to be recompiled (because of a patch to simgear/props/props.hxx)
this is the right time to commit this completely unimportant patch. :-)

17 years agoinitialize variables before using them
mfranz [Sun, 6 May 2007 14:02:44 +0000 (14:02 +0000)]
initialize variables before using them

17 years agouse STL_IOMANIP to load <iomanip>
mfranz [Sat, 5 May 2007 11:40:12 +0000 (11:40 +0000)]
use STL_IOMANIP to load <iomanip>

17 years agorevert last: keep --props option because of option architecture
mfranz [Sat, 5 May 2007 09:57:17 +0000 (09:57 +0000)]
revert last: keep --props option because of option architecture

17 years agoDeclare --props option obsolete and issue a warning message. Rationale:
mfranz [Sat, 5 May 2007 09:16:59 +0000 (09:16 +0000)]
Declare --props option obsolete and issue a warning message. Rationale:
- props is easy to mix up with the --prop option (for setting properties)
- the name is unspecific and inconsistent: other option names describe
  the protocol -- the way to get the properties. How is, for example,
  --httpd less about prop(ertie)s?
- two identical options easily confuse people, as can be seen in The
  FlightGear Manual, where --telnet and --props were described differently

17 years agoremove all traces to --props
mfranz [Sat, 5 May 2007 08:51:16 +0000 (08:51 +0000)]
remove all traces to --props

17 years agoModified Files:
frohlich [Sat, 5 May 2007 08:08:24 +0000 (08:08 +0000)]
Modified Files:
src/AIModel/AIBase.cxx src/AIModel/AICarrier.cxx
src/ATC/AIEntity.cxx src/Cockpit/hud_rwy.cxx
  src/FDM/Makefile.am src/FDM/flight.hxx src/FDM/groundcache.cxx
src/Instrumentation/HUD/HUD_runway.cxx src/Main/Makefile.am
src/Main/fg_init.cxx src/Main/main.cxx src/Main/renderer.cxx
src/Main/viewer.cxx src/Main/viewer.hxx src/Model/acmodel.cxx
src/Model/modelmgr.cxx src/Scenery/scenery.cxx
src/Scenery/scenery.hxx src/Scenery/tileentry.cxx
src/Time/tmp.cxx: Remove the scenery center handling.
Osg has double valued transforms at any relevant place.

17 years agoadd missing property names
mfranz [Fri, 4 May 2007 19:34:19 +0000 (19:34 +0000)]
add missing property names

17 years ago- remove dependence on /sim/number-views: the view manager just uses all
mfranz [Fri, 4 May 2007 14:58:52 +0000 (14:58 +0000)]
- remove dependence on /sim/number-views: the view manager just uses all
  /sim/view[*] that it finds. It's not only unnecessary that view definitions
  have subsequent indices, but aircraft are now *requested* to use indices
  100++. /sim/view[0] .. /sim/view[99] are reserved for the system. (Not
  that we'd ever need that many, This is just a convention, it's nowhere
  hard-coded.)
- replace the string operations for property paths by method calls & other
  improvements

17 years agowrite a more useful list on shift-"."-click, not the whole subtree
mfranz [Thu, 3 May 2007 21:20:15 +0000 (21:20 +0000)]
write a more useful list on shift-"."-click, not the whole subtree

17 years agonew fgcommand: "terrain-elevation"
mfranz [Thu, 3 May 2007 19:15:20 +0000 (19:15 +0000)]
new fgcommand: "terrain-elevation"
- input:  longitude-deg, latitude-deg
- output: elevation-m

17 years agoproperty browser: shift click on the "." entry dumps the contents of that
mfranz [Thu, 3 May 2007 19:00:55 +0000 (19:00 +0000)]
property browser: shift click on the "." entry dumps the contents of that
dir level to the terminal (remember: ctrl-click -> toggle additional info,
and ctrl-click on ".." move to root level)

17 years agoModified Files:
frohlich [Thu, 3 May 2007 18:47:39 +0000 (18:47 +0000)]
Modified Files:
src/Main/renderer.cxx src/Scenery/Makefile.am
Added Files:
src/Scenery/redout.cxx src/Scenery/redout.hxx:
Add simple redout effect.

17 years agoModified Files:
frohlich [Thu, 3 May 2007 18:12:29 +0000 (18:12 +0000)]
Modified Files:
src/GUI/new_gui.cxx src/GUI/new_gui.hxx src/Main/main.cxx
  src/Main/renderer.cxx src/Main/renderer.hxx
src/Main/splash.cxx src/Main/splash.hxx
src/Scenery/scenery.hxx: Move splash screen into the scenegraph.

17 years agoFree the splash texture memory when it's no longer needed. Nowadays splash
mfranz [Wed, 2 May 2007 18:49:31 +0000 (18:49 +0000)]
Free the splash texture memory when it's no longer needed. Nowadays splash
textures are mostly 512x512 pixels, so we wasted 786 kB (RGB) or 1MB (RGBA)
during the whole fgfs runtime for mere startup prettification.

17 years agomove the "interpolator" subsystem into the INIT group (same as "nasal"),
mfranz [Tue, 1 May 2007 18:06:48 +0000 (18:06 +0000)]
move the "interpolator" subsystem into the INIT group (same as "nasal"),
because nasal's f_interpolate() may be called in Nasal at times when the
GENERAL subsystem group is being deconstructed; access it by addressing
the group directly, as using globals->get_subsystem() does then not
work any more then; yeah, it's all for a rare border case ...  :-)

17 years agoremove util.cxx workaround for listener-call-at-exit-segfault, and make
mfranz [Tue, 1 May 2007 17:03:50 +0000 (17:03 +0000)]
remove util.cxx workaround for listener-call-at-exit-segfault, and make
NasalSys.cxx more robust instead. The reason for the crash was that during
fgfs shutdown destroyed subsystems (GENERAL group) still need Nasal access
(for AI Model destruction listeners), but at that point globals->get_subsystem()
can't even deliver the "nasal" subsystem (INIT group). One way to solve that
problem would have been to replace  globals->get_subsystem("nasal") by
globals->get_subsystem_mgr()->get_group(SGSubsystemMgr::INIT)->get_subsystem("nasal"),
but Andy decided to store a pointer to the active "nasal" subsysten in
NasalSys.cxx instead, as the "nasal" subsystem needs to be accessed in
every single Nasal extension function, and multiple "nasal" subsystems are
out of the question, anyway.

17 years agosince the submodel_mgr subsystem does now also hold references to AI models,
mfranz [Tue, 1 May 2007 09:18:11 +0000 (09:18 +0000)]
since the submodel_mgr subsystem does now also hold references to AI models,
we need to explicitly destroy that here, too, so that it has guaranteed
access to the Nasal subsystem. Otherwise we get a segfault on exit. When
the next subsystem needs this special treatement (radar?), we should
introduce a new subsystem group (in addition to INIT and GENERAL)

17 years agoset viewport in every progress step, so that the splash texture gets rescaled
mfranz [Sun, 29 Apr 2007 21:15:45 +0000 (21:15 +0000)]
set viewport in every progress step, so that the splash texture gets rescaled
on window resize in fg/osg (works in fg/plib without that, but can't hurt
there either)                                       (thanks to Tim MOORE)

17 years ago(hopefully) fix the problem that some people have:
mfranz [Sun, 29 Apr 2007 09:58:37 +0000 (09:58 +0000)]
(hopefully) fix the problem that some people have:
"FATAL: PUI: No Live Interface! Forgot to call puInit ?"
We shouldn't use the splash progress message before guiInit().

Leave the "idle_state" step for now, to keep the similarity
with fg/plib as big as possible. This can be dropped later.

17 years agore-order gl commands for better rgba texture support
mfranz [Sat, 28 Apr 2007 20:34:21 +0000 (20:34 +0000)]
re-order gl commands for better rgba texture support

17 years agoallow rgba splash textures (I don't expect that they'll be used much, but
mfranz [Sat, 28 Apr 2007 12:37:20 +0000 (12:37 +0000)]
allow rgba splash textures (I don't expect that they'll be used much, but
they don't cost much either, and allow contoured images with colored
backgrounds -- nice for squadron emblems etc.)

17 years agoAdd support for a new file format which where packet type are saved out into
curt [Fri, 27 Apr 2007 15:30:26 +0000 (15:30 +0000)]
Add support for a new file format which where packet type are saved out into
one file per type in a simple binary conglomeration of packets with no headers
or checksumming (this format is intended for local storage only, not to be
transmitted on the fly over a noisy communication pipe.)

17 years agomake listeners aware of their id, and output trigger message in
mfranz [Fri, 27 Apr 2007 14:30:05 +0000 (14:30 +0000)]
make listeners aware of their id, and output trigger message in
log levels "debug" and "bulk"

17 years agoVivian MEAZZA:
mfranz [Fri, 27 Apr 2007 11:02:39 +0000 (11:02 +0000)]
Vivian MEAZZA:

"BUGFIX - fix initiation order - make sure that the AI Model list is
populated before we attempt to attach submodels."

17 years agoset tower position at startup
mfranz [Thu, 26 Apr 2007 20:27:25 +0000 (20:27 +0000)]
set tower position at startup