]> git.mxchange.org Git - flightgear.git/log
flightgear.git
17 years agoModified Files:
frohlich [Sat, 7 Apr 2007 09:54:18 +0000 (09:54 +0000)]
Modified Files:
src/Main/renderer.cxx src/Model/panelnode.hxx: Make it compile with
current osg svn.

17 years ago- save pairs of <file>/<path> for each *-set.xml file in autosave.xml
mfranz [Thu, 5 Apr 2007 19:59:44 +0000 (19:59 +0000)]
- 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.

17 years ago- move fgInitTowerLocationListener() from fgInitPosition() to the init
mfranz [Wed, 4 Apr 2007 19:05:59 +0000 (19:05 +0000)]
- 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.

17 years agosetAttribute("archive", 1) sets this attribute to "true", and
mfranz [Wed, 4 Apr 2007 14:42:38 +0000 (14:42 +0000)]
setAttribute("archive", 1) sets this attribute to "true", and
getAttribute("archive") returns 1 if the attribute is set, and 0 otherwise.

Allow to query and to set all properties by not specifying an attribute
string:  getAttribute() returns all attributes bit coded in an integer,
and setAttribute(attr) sets all attributes. No assumptions may be made
about the meaning of the bits -- they can be changed in future fgfs releases.
The only valid use is to compare or set attribute numbers obtained in the
same fgfs run. This is meant for allowing full copies of property branches.
Also add getAttribute query strings "children" for the number of children,
and "alias".

17 years agoCsaba "Jester" HALASZ: radar fix & extension
mfranz [Wed, 4 Apr 2007 09:51:41 +0000 (09:51 +0000)]
Csaba "Jester" HALASZ: radar fix & extension
- fix breakage due to former commit (AIManager.cxx, r1.72)
- make AI properties available in AIBase
- add <valid> property for animations/nasal scripts
- support more MP and AI targets
- add target select and altitude display

17 years agoWin32 fix
fredb [Tue, 3 Apr 2007 11:36:47 +0000 (11:36 +0000)]
Win32 fix

17 years agoUpdate MSVC 7.1 projects
fredb [Tue, 3 Apr 2007 11:36:20 +0000 (11:36 +0000)]
Update MSVC 7.1 projects

17 years agofgFindAircraftPath(): put the MAX_DEPTH check at a place where it makes sense
mfranz [Mon, 2 Apr 2007 23:19:36 +0000 (23:19 +0000)]
fgFindAircraftPath(): put the MAX_DEPTH check at a place where it makes sense

17 years agoMS Windows can't handle the symbols ... sigh
mfranz [Mon, 2 Apr 2007 17:20:05 +0000 (17:20 +0000)]
MS Windows can't handle the symbols ... sigh

17 years ago- move format checking to the GUIInfo class. It has all the info, and this
mfranz [Mon, 2 Apr 2007 15:42:45 +0000 (15:42 +0000)]
- move format checking to the GUIInfo class. It has all the info, and this
  keeps copy_to_gui() cleaner
- add "float", "int" and "long"

17 years agoCsaba HALASZ: don't treat every entry in a scenario file as model entry,
mfranz [Mon, 2 Apr 2007 12:47:26 +0000 (12:47 +0000)]
Csaba HALASZ: don't treat every entry in a scenario file as model entry,
especially those called <description>. This was responsible for the aircraft
at --lon=0 --lat=0.

17 years agodrop plib render callback, validate <format> in setupObject(), and apply
mfranz [Mon, 2 Apr 2007 12:12:23 +0000 (12:12 +0000)]
drop plib render callback, validate <format> in setupObject(), and apply
it in copy_to_pui()

17 years agomore recent MS Windows systems reportedly support more than two joysticks,
mfranz [Sun, 1 Apr 2007 22:22:05 +0000 (22:22 +0000)]
more recent MS Windows systems reportedly support more than two joysticks,
so we need to rely on plib to tell us

17 years agoallow AI models to contain <nasal><load> and <nasal><unload> blocks in
mfranz [Sun, 1 Apr 2007 12:39:20 +0000 (12:39 +0000)]
allow AI models to contain <nasal><load> and <nasal><unload> blocks in
their XML wrapper/animation file. They can access their /ai/models node
via cmdarg() function. Example:

  <nasal>
          <load>
                  print("Hi, I'm the Nimitz. My data are under ",
                                  cmdarg().getPath());
          </load>
          <unload>
                  ...
          </unload>
  </nasal>

Note, however, that the <unload> block is only called on exit at the moment,
not when the tile is unloaded.

17 years agoRon JENSEN: turn cout into SG_LOG/SG_WARN (merge from JSBSim/cvs)
mfranz [Sun, 1 Apr 2007 12:23:54 +0000 (12:23 +0000)]
Ron JENSEN: turn cout into SG_LOG/SG_WARN  (merge from JSBSim/cvs)

17 years agoyet another round() ...
mfranz [Sat, 31 Mar 2007 17:45:23 +0000 (17:45 +0000)]
yet another round() ...

17 years agoanother case of round()
mfranz [Sat, 31 Mar 2007 15:27:21 +0000 (15:27 +0000)]
another case of round()

17 years agouse round() from SG, as this isn't available everywhere
mfranz [Sat, 31 Mar 2007 15:17:55 +0000 (15:17 +0000)]
use round() from SG, as this isn't available everywhere

17 years agoobsolete through changes to Instrumentation/{instrument_mgr,altimeter}.?xx
mfranz [Sat, 31 Mar 2007 12:28:04 +0000 (12:28 +0000)]
obsolete through changes to Instrumentation/{instrument_mgr,altimeter}.?xx
and Systems/static.?xx, and addition of Environment/atmosphere.?xx

17 years agoJohn DENKER:
mfranz [Sat, 31 Mar 2007 09:36:19 +0000 (09:36 +0000)]
John DENKER:

"This altimetry method is valid to above 100,000 feet, and
correctly handles Kollsman settings"

17 years agoVivian MEAZZA:
mfranz [Fri, 30 Mar 2007 22:51:52 +0000 (22:51 +0000)]
Vivian MEAZZA:

"""
"Flight plans" which can start at a given time (gmt)

WAITUNTIL tokens which pause the flight plans until a given time (gmt)

Submodels can now be attached to any AI objects (except submodels - it can
be done, but in my experimental code it's too expensive in frame rate atm)

"No-roll" attribute added to Ballistic objects - useful for wakes and the
like

"Random" attribute added to Ballistic objects (adds =- 5% to the Cd) -
useful for smoke, exhausts

If the <trigger> tag is not specified the Ballistic object/s will be
released at start-up (cannot be stopped)

Submodels are not released from AI Objects if the AI Object is more than 15
miles away.
"""

mf: minor code and formatting fixes; submodels.?xx were FUBAR and are thus
    astyle formatted;

    NOTE that <name> tags END, EOF, WAIT, WAITUNTIL are *depreciated*.
    Don't get too used to them. This will have to be moved from the "name"
    to regular engries.

17 years agofix spectacularly useless error messages
mfranz [Thu, 29 Mar 2007 21:26:33 +0000 (21:26 +0000)]
fix spectacularly useless error messages

17 years agoSync with Nasal CVS (soon to become Nasal 1.1). Notable new features:
andy [Thu, 29 Mar 2007 18:50:28 +0000 (18:50 +0000)]
Sync with Nasal CVS (soon to become Nasal 1.1).  Notable new features:

Nasal now supports calls to "subcontexts" and errors can be thrown
across them, leading to complete stack traces when call() is used,
instead of the truncated ones we now see.

Vectors can now be concatenated using the ~ operator that used to work
only for strings.

Better runtime error messages in general due to a fancier
naRuntimeError() implementation

A big data size shrink on 64 bit systems; the size of a naRef dropped
by a factor of two.

"Braceless code blocks" have been added to the parser, so you can
write expressions like "if(a) b();" just like in C.  Note that there's
still a parser bug in there that fails when you nest a braced block
within a braceless one.

Character constants that appear in Nasal source code can now be
literal multibyte UTF8 characters (this was always supported for
string literals, but character constants were forced to be a single
byte).

New modules: "bits", "thread", "utf8" and (gulp...) "io".  The bits
library might be useful to FlightGear, the utf8 one probably not as
Plib does not support wide character text rendering.  The thread
library will work fine for spawning threads to do Nasal stuff, but
obviously contact with the rest of FlightGear must be
hand-synchronized as FlightGear isn't threadsafe.  The io library is
no doubt the most useful, as it exposes all the basic stdio.h
facilities; it's also frighteningly dangerous when combined with
networked code...

17 years agoadd signal on GUI reinit; needed for reloading Nasal loaded XML dialogs
mfranz [Wed, 28 Mar 2007 20:33:18 +0000 (20:33 +0000)]
add signal on GUI reinit; needed for reloading Nasal loaded XML dialogs

17 years agolayout-props.cxx: hrule/vrule shall be accepted as widgets even if they
mfranz [Mon, 26 Mar 2007 15:17:38 +0000 (15:17 +0000)]
layout-props.cxx: hrule/vrule shall be accepted as widgets even if they
    have no children (in which case they default to 1px thickness & stretch).
    This allows to just write <hrule/> instead of <hrule><dummy/></hrule>.
    One can still use <hrule><pref-height>3</pref-height></hrule>, of course.
layout.cxx: drop silly do??Box calls for hrule/vrule (yes, I wrote that :-)

17 years agoIf text contains "{display|voice}" groups, skip the delimiters and
mfranz [Fri, 23 Mar 2007 15:53:58 +0000 (15:53 +0000)]
If text contains "{display|voice}" groups, skip the delimiters and
discard the display part. The curly braces wouldn't be spoken anyway,
and the | would be spoken as "vertical bar", which is completely
useless (which is why it had been disabled in the past already).

17 years ago- turn \n, \t, \r into spaces. Otherwise Festival spells out ".^M" as
mfranz [Fri, 23 Mar 2007 10:45:11 +0000 (10:45 +0000)]
- turn \n, \t, \r into spaces. Otherwise Festival spells out ".^M" as
  "period".
- fix rather embarrassing string concatenation bug  :-)

17 years ago- FGPropertyManager.{cpp,h}: fix memory corruption bug
mfranz [Mon, 19 Mar 2007 16:37:36 +0000 (16:37 +0000)]
- FGPropertyManager.{cpp,h}: fix memory corruption bug
- JSBSim.?xx: use guarded SGPropertyNode pointers

17 years agorevert condition() patch. This can as easily be done in pure Nasal.
mfranz [Sun, 18 Mar 2007 10:52:11 +0000 (10:52 +0000)]
revert condition() patch. This can as easily be done in pure Nasal.

17 years agoset module namespace in globals, otherwise two subsequent calls can't share
mfranz [Sat, 17 Mar 2007 20:51:06 +0000 (20:51 +0000)]
set module namespace in globals, otherwise two subsequent calls can't share
variables, which makes the whole module kind-of pointless

17 years agoNew Nasal command _condition(p) where p is a property node containing
mfranz [Sat, 17 Mar 2007 15:58:15 +0000 (15:58 +0000)]
New Nasal command _condition(p) where p is a property node containing
a condition as described in $FG_ROOT/Docs/README.condition. Returns 1 if
condition is true, 0 if false, and nil on error.

17 years ago- abort when "cvs up" failed (due to failed connection)
mfranz [Thu, 15 Mar 2007 17:05:51 +0000 (17:05 +0000)]
- abort when "cvs up" failed (due to failed connection)
- improve fg-upload example: copying upload address to clipboard (KDE)

17 years agocan't "exec" fg-upload, as this doesn't trigger the trapZZ
mfranz [Sun, 11 Mar 2007 22:05:37 +0000 (22:05 +0000)]
can't "exec" fg-upload, as this doesn't trigger the trapZZ

17 years ago- more efficient filter routine
mfranz [Sun, 11 Mar 2007 19:30:36 +0000 (19:30 +0000)]
- more efficient filter routine
- fix wrong log message
- cleanup & cosmetics, as always

17 years agowhoops, need to turn off globbing, or ALLOW * doesn't do what it is supposed to
mfranz [Sat, 10 Mar 2007 21:40:39 +0000 (21:40 +0000)]
whoops, need to turn off globbing, or ALLOW * doesn't do what it is supposed to

17 years agobefore a day passes with no commits at all, better have some fg-submit stuff :-)
mfranz [Sat, 10 Mar 2007 20:46:38 +0000 (20:46 +0000)]
before a day passes with no commits at all, better have some fg-submit stuff :-)
- drop the DEFAULT keyword in .fg-submit configuration files. That was
  a silly idea. The default rules are now always appended. One can still
  bypass them by ALLOWing or DENYing anything before, for example, by using
  DENY *, or ALLOW *.
- fix a typo that broke ~/.fg-submitrc loading (but ~/.fg-submit worked anyway)
- some minor improvments, cleanup and all that

17 years agoyeah, yet another patch ... :-]
mfranz [Fri, 9 Mar 2007 19:15:54 +0000 (19:15 +0000)]
yeah, yet another patch ... :-]
- fix config file name in $HOME; This didn't match the documentation.
  (doesn't cost us anything to check ~/.fg-submit first, and then ~/.fg-submitrc)
- don't use mktemp for the backup files. Some outdated distributions
  (Debian) come with a version that mandates six X, which is just too ugly.
  Just find the first free slot with sequential number. That isn't thread
  safe, but mktemp isn't either, so ...  (Should be using "lockfile", but
  its availability on CygWin is questionable. And it's not *that* important.)
- some more documentation
- some cleanup, too, of course

17 years ago- rules can be defined in optional .fg-submit config files, via commands
mfranz [Fri, 9 Mar 2007 16:22:27 +0000 (16:22 +0000)]
- rules can be defined in optional .fg-submit config files, via commands
  ALLOW, DENY, IGNORE, DEFAULT  ... see documentation on top
- make fg-upload arguments like the documentation says. (I had accidentally
  left $1=$PWD, $2=archive, $3=diff, while it should be $1=archive, $2=diff)
- add -v option (verbose)

17 years ago- escape '+' in awk pattern (gawk doesn't need it, but mawk does)
mfranz [Thu, 8 Mar 2007 23:16:57 +0000 (23:16 +0000)]
- escape '+' in awk pattern (gawk doesn't need it, but mawk does)
- change the mktemp lines to please Debian's stoneage version ... sigh
- reject archives

17 years agowhoops, sorry for the noise -- we don't need that first arg
mfranz [Thu, 8 Mar 2007 17:14:29 +0000 (17:14 +0000)]
whoops, sorry for the noise -- we don't need that first arg

17 years agofg-check: speedup, minor fixes, cleanup
mfranz [Thu, 8 Mar 2007 16:45:48 +0000 (16:45 +0000)]
fg-check: speedup, minor fixes, cleanup

fg-submit:
- takes alternative optional basename (used instead of dirname)
- calls optional user defined fg-upload script at the end (example on top)
- minor fixes, different color for changed binary files
- cleanup, improved documentation

17 years ago- add fg-check script; Can be used to check source/data before committing or
mfranz [Wed, 7 Mar 2007 16:26:33 +0000 (16:26 +0000)]
- add fg-check script; Can be used to check source/data before committing or
  submitting. Detects various kinds of ugliness, but also reports false
  positives. (People aren't supposed to compress texture filer so save
  40 bytes. ;-)
- bugfix in fg-submit + some more cleanup and cosmetics

17 years agodon't move existing diff/tar.bz2 file away asking if it's ok to overwrite,
mfranz [Tue, 6 Mar 2007 21:48:28 +0000 (21:48 +0000)]
don't move existing diff/tar.bz2 file away asking if it's ok to overwrite,
but rather copy the files to mktemp generated & guaranteed unique files
(don't worry, this is the last patch for today :-)

17 years agocleanup
mfranz [Tue, 6 Mar 2007 21:23:26 +0000 (21:23 +0000)]
cleanup

17 years agomake unified diff
mfranz [Tue, 6 Mar 2007 20:35:28 +0000 (20:35 +0000)]
make unified diff

17 years agoscript that generates an archive with changed and new files for submission;
mfranz [Tue, 6 Mar 2007 19:23:36 +0000 (19:23 +0000)]
script that generates an archive with changed and new files for submission;
works on Unix/Linux/CygWin

17 years agoVivian MEAZZA:
mfranz [Mon, 5 Mar 2007 21:40:39 +0000 (21:40 +0000)]
Vivian MEAZZA:

"Implement 'flightplans' for AIShips. This patch also introduces the concept
of a 'WAIT' token for AIShips: when the flightplan reaches a 'WAIT', the
AIShip stops and pauses for the specified time (secs)."

17 years agoModified Files:
frohlich [Thu, 1 Mar 2007 18:12:48 +0000 (18:12 +0000)]
Modified Files:
src/Main/renderer.cxx: Guard the OpenGL state around pui a bit more

17 years agoHans Ulrich NIEDERMANN:
mfranz [Thu, 1 Mar 2007 17:53:24 +0000 (17:53 +0000)]
Hans Ulrich NIEDERMANN:

"""
Fix Y2K bug triggering string overflow

sim_control_.date_string is a char[7], so it can contain "yymmdd" and
the terminating '\0'. However, nowtime->tm_year is 107 for the year 2007,
so you'll end up with a 7 digit number and the string written to
sim_control_.date_string is longer than sim_control_.date_string is.
Ouch!
"""

mf: ... and sim_control_.date_string isn't even used.

17 years agoCsaba HALASZ: fix dme property name
mfranz [Thu, 1 Mar 2007 17:39:45 +0000 (17:39 +0000)]
Csaba HALASZ: fix dme property name

17 years agoCan't assume that the aircraft has a fuel tank.
andy [Thu, 1 Mar 2007 00:30:07 +0000 (00:30 +0000)]
Can't assume that the aircraft has a fuel tank.

17 years agoSwitch to "nav" (cooked) data to drive FlightGear.
curt [Tue, 27 Feb 2007 19:45:48 +0000 (19:45 +0000)]
Switch to "nav" (cooked) data to drive FlightGear.

17 years agoVivian MEAZZA: call AI models' ::reinit() methods on reinit
mfranz [Mon, 26 Feb 2007 11:47:04 +0000 (11:47 +0000)]
Vivian MEAZZA: call AI models' ::reinit() methods on reinit

17 years agodon't descend into <nasal> groups to avoid padding space beind added around
mfranz [Sat, 24 Feb 2007 19:43:19 +0000 (19:43 +0000)]
don't descend into <nasal> groups to avoid padding space beind added around

17 years agoNick WARNE: fix property name
mfranz [Fri, 23 Feb 2007 21:34:41 +0000 (21:34 +0000)]
Nick WARNE: fix property name

17 years agoFix a bug in file logging (add an ignore checksum option just to humor
curt [Wed, 21 Feb 2007 21:11:15 +0000 (21:11 +0000)]
Fix a bug in file logging (add an ignore checksum option just to humor
myself.)

17 years agoremove "show" command from help screen (command can be removed later)
mfranz [Tue, 20 Feb 2007 21:12:56 +0000 (21:12 +0000)]
remove "show" command from help screen  (command can be removed later)

17 years agoanimation plugin for Blender 2.43
mfranz [Tue, 20 Feb 2007 11:35:59 +0000 (11:35 +0000)]
animation plugin for Blender 2.43

17 years agoFix a couple data packet decoding mistakes.
curt [Tue, 20 Feb 2007 03:13:01 +0000 (03:13 +0000)]
Fix a couple data packet decoding mistakes.

17 years agoUpdate the ugear health structure to match the microgear code.
curt [Mon, 19 Feb 2007 22:52:52 +0000 (22:52 +0000)]
Update the ugear health structure to match the microgear code.

17 years agofix set command: allow strings to contain spaces
mfranz [Mon, 19 Feb 2007 20:52:55 +0000 (20:52 +0000)]
fix set command: allow strings to contain spaces

17 years agos/--props/--telnet/ (I may do that. I wrote this file. :-)
mfranz [Mon, 19 Feb 2007 16:18:57 +0000 (16:18 +0000)]
s/--props/--telnet/   (I may do that. I wrote this file. :-)

17 years agoModified Files:
frohlich [Wed, 14 Feb 2007 17:55:52 +0000 (17:55 +0000)]
Modified Files:
src/Scenery/newcache.cxx: Olaf Flebbe:
make destructor work.
Bug: Do not modify a map while iterating over  it.

17 years agoModified Files:
frohlich [Wed, 14 Feb 2007 17:51:23 +0000 (17:51 +0000)]
Modified Files:
src/Navaids/awynet.cxx src/Navaids/awynet.hxx: Olaf Flebbe:
Implement ~FGAirwayNetwork, though it is not called now
Guard snprint properly.

17 years agoModified Files:
frohlich [Wed, 14 Feb 2007 17:45:57 +0000 (17:45 +0000)]
Modified Files:
src/Main/Makefile.am: Remove junk

17 years agoFix the jpg http server
fredb [Sat, 10 Feb 2007 16:32:21 +0000 (16:32 +0000)]
Fix the jpg http server

17 years agoModified Files:
frohlich [Fri, 9 Feb 2007 05:41:42 +0000 (05:41 +0000)]
Modified Files:
navradio.cxx: Olaf Flebbe: Use bool for booleans.

17 years agoModified Files:
frohlich [Fri, 9 Feb 2007 05:35:10 +0000 (05:35 +0000)]
Modified Files:
  Navaids/navdb.cxx: Olaf Flebbe: plug memory leak.

17 years agoModified Files:
frohlich [Fri, 9 Feb 2007 05:34:34 +0000 (05:34 +0000)]
Modified Files:
Airports/runways.cxx: Correct termination condition.

17 years agoModified Files:
frohlich [Tue, 6 Feb 2007 05:32:24 +0000 (05:32 +0000)]
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.

17 years agoexport mouse coords of "main" mouse
mfranz [Mon, 5 Feb 2007 20:29:26 +0000 (20:29 +0000)]
export mouse coords of "main" mouse

17 years ago- add two error messages to setlistener() (invalid property or func object)
mfranz [Sat, 3 Feb 2007 16:46:39 +0000 (16:46 +0000)]
- add two error messages to setlistener() (invalid property or func object)
- adapt last changes to Style Of The Tile

17 years agoUpdate MSVC 7.1 project file : annunciator removed
fredb [Sat, 3 Feb 2007 07:36:36 +0000 (07:36 +0000)]
Update MSVC 7.1 project file : annunciator removed

17 years agoModified Files:
frohlich [Wed, 31 Jan 2007 21:44:29 +0000 (21:44 +0000)]
Modified Files:
FGJS.vcproj FlightGear.sln FlightGear.vcproj
FlightGearLib.vcproj JS_demo.vcproj: Olaf Flebbe: update VC8 build
system.

17 years agoModified Files:
frohlich [Wed, 31 Jan 2007 20:50:17 +0000 (20:50 +0000)]
Modified Files:
src/FDM/YASim/Launchbar.cpp: Olaf Flebbe: Make sure expressions
stay floats.

17 years agoModified Files:
frohlich [Wed, 31 Jan 2007 20:46:19 +0000 (20:46 +0000)]
Modified Files:
src/FDM/JSBSim/FGFDMExec.cpp: Olaf Flebbe: initialize uninitialized
variable.

17 years agoModified Files:
frohlich [Wed, 31 Jan 2007 20:44:44 +0000 (20:44 +0000)]
Modified Files:
src/Main/bootstrap.cxx: Olaf Flebbe: Appears to be requierd for
static linkage and pthreadswin32.

17 years agoModified Files:
frohlich [Wed, 31 Jan 2007 20:43:10 +0000 (20:43 +0000)]
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.

17 years agoModified Files:
frohlich [Wed, 31 Jan 2007 20:37:43 +0000 (20:37 +0000)]
Modified Files:
  src/Main/renderer.cxx: Fix typo

17 years agoModified Files:
frohlich [Tue, 30 Jan 2007 20:34:07 +0000 (20:34 +0000)]
Modified Files:
src/Main/renderer.cxx: Avoid the ClearNode

17 years agoModified Files:
frohlich [Tue, 30 Jan 2007 20:14:25 +0000 (20:14 +0000)]
Modified Files:
  light.cxx light.hxx sunsolver.cxx tmp.cxx: kick out sg.h

17 years agoModified Files:
frohlich [Tue, 30 Jan 2007 20:13:32 +0000 (20:13 +0000)]
Modified Files:
groundcache.hxx groundcache.cxx: Make use of the collision
library now available in simgear

17 years agoremove annunciator.[ch]xx; this is now done via Nasal:
mfranz [Mon, 29 Jan 2007 22:36:28 +0000 (22:36 +0000)]
remove annunciator.[ch]xx; this is now done via Nasal:

  <nasal>
      <annunciator>
          <file>Aircraft/Generic/annunciator.nas</file>
      </annunciator>
  </nasal>

17 years agosimplify and fix
fredb [Mon, 29 Jan 2007 07:53:42 +0000 (07:53 +0000)]
simplify and fix

17 years agothis should now really be correct; nothing for a beauty contest, though
mfranz [Sun, 28 Jan 2007 22:55:37 +0000 (22:55 +0000)]
this should now really be correct; nothing for a beauty contest, though

17 years agomake sure entries are actually erased :-)
mfranz [Sun, 28 Jan 2007 20:59:47 +0000 (20:59 +0000)]
make sure entries are actually erased  :-)

17 years agoModified Files:
frohlich [Sun, 28 Jan 2007 20:02:49 +0000 (20:02 +0000)]
Modified Files:
src/Scripting/NasalSys.cxx: make sure iterators stay valid

17 years agoModified Files:
frohlich [Sun, 28 Jan 2007 20:01:47 +0000 (20:01 +0000)]
Modified Files:
src/Main/renderer.cxx: Make it work with current osg cvs.

17 years agodon't truncate strings output by print() to 1024 bytes. This was apparently
mfranz [Sun, 28 Jan 2007 12:16:37 +0000 (12:16 +0000)]
don't truncate strings output by print() to 1024 bytes. This was apparently
done for performance reasons, but print() should be able to output any
valid string, and when SG_LOG uses strings and streams already, then we
can use that here, too. (Not discussed with Andy yet.)

17 years agoMaik JUSTUS: fix bug that caused aircraft zombies on an MP player's last
mfranz [Sun, 28 Jan 2007 11:40:56 +0000 (11:40 +0000)]
Maik JUSTUS: fix bug that caused aircraft zombies on an MP player's last
             position after he reset his fgfs

17 years agoMaik JUSTUS: add a missing pair of parens and rounding
mfranz [Wed, 24 Jan 2007 23:39:48 +0000 (23:39 +0000)]
Maik JUSTUS: add a missing pair of parens and rounding

17 years agobetter message
mfranz [Tue, 23 Jan 2007 23:40:08 +0000 (23:40 +0000)]
better message

17 years agoallow listeners to remove themselves. This is done by marking them
mfranz [Tue, 23 Jan 2007 16:47:04 +0000 (16:47 +0000)]
allow listeners to remove themselves. This is done by marking them
dead and letting the next NasalSys::update() remove all dead listeners.

17 years ago- remove "nasal-dir-initialized" signal node after use. This code is executed
mfranz [Tue, 23 Jan 2007 15:53:04 +0000 (15:53 +0000)]
- remove "nasal-dir-initialized" signal node after use. This code is executed
  before the property tree is stored away for reinit, so the signal would
  be emitted again on reset.
- fix inconsistent style that sneaked in with a previous patch

17 years agoMaik JUSTUS: support waterplane anchor
mfranz [Mon, 22 Jan 2007 23:01:39 +0000 (23:01 +0000)]
Maik JUSTUS: support waterplane anchor

17 years agoModified Files:
frohlich [Mon, 22 Jan 2007 05:46:51 +0000 (05:46 +0000)]
Modified Files:
src/Cockpit/hud.cxx src/Cockpit/hud.hxx
src/Cockpit/hud_labl.cxx src/Instrumentation/HUD/HUD_label.cxx:
Olaf Flebbe: avoid potential buffer overflows.

17 years agoModified Files:
frohlich [Mon, 22 Jan 2007 05:36:43 +0000 (05:36 +0000)]
Modified Files:
src/FDM/YASim/Launchbar.cpp: Olaf Flebbe:
Use float consts in float code

17 years agoModified Files:
frohlich [Mon, 22 Jan 2007 05:26:59 +0000 (05:26 +0000)]
Modified Files:
FlightGearLib.vcproj: Olaf Flebbe: MSVC8 project files updates

17 years agoMaik JUSTUS: connect fix
mfranz [Mon, 22 Jan 2007 00:10:39 +0000 (00:10 +0000)]
Maik JUSTUS: connect fix

17 years agoraise signal "/sim/signals/nasal-dir-initialized" when all Nasal files
mfranz [Sun, 21 Jan 2007 19:52:49 +0000 (19:52 +0000)]
raise signal "/sim/signals/nasal-dir-initialized" when all Nasal files
in $FG_ROOT/Nasal/* were loaded and executed, and thus all Nasal library
functions are available. This was in the past only done with settimer(..., 0),
constructions, but suchlike triggered timer functions are executed
*after* aircraft specific Nasal files were loaded, so they can't be
used for internal library initialization, where e.g. props.Node() is
already needed.