1
0
Fork 0
Commit graph

1865 commits

Author SHA1 Message Date
ehofman
d86391cd03 Harald JOHNSEN:
added a new scenario 'none' so we can switch back to standard flightgear weather
2005-08-22 17:41:58 +00:00
ehofman
b8ab119d06 Update the texture width to match 512 instead of 513 :-( 2005-07-31 17:21:55 +00:00
ehofman
31f7dd492a Update an old splash screen. 2005-07-31 17:18:20 +00:00
ehofman
ace9790ced Harald JOHNSEN:
I added an option to disable the recording of replay data. It takes more cpu than we can think.
2005-07-31 08:52:26 +00:00
ehofman
801edaf448 Torsten Dreyer:
Add a radar altimeter (like the King KRA-10A)
2005-07-31 08:31:08 +00:00
ehofman
1f89d8e6aa Mathias Fröhlich:
Document the carrier options
2005-07-31 08:09:14 +00:00
ehofman
e84116ab7f options.xml 2005-07-31 08:08:02 +00:00
ehofman
c2204cf97f Remove now unused data. 2005-07-31 08:04:48 +00:00
ehofman
26fc44aa32 Harald JOHNSEN:
Changes
=======

- shadowvolume.cxx, renderer.cxx :
  - reduced the polygon offset a bit to eliminate some artifact ;
  - changed again the cleanup code for objects inside a tile because it could crash on rare occasion ;
  - the culling of shadow casters has been rewritten to traverse the scene graph, it should be
    a bit faster when there is a lot of objects ;
  - the range selector was not correctly handled, sometimes the wrong LOD was casting shadows.
  - added the option to display aircraft's transparent objects after the shadows, this will
    reduce the problem of shadows being hidden by the transparent object (propeller disk,
    rotor, etc). A side effect is that aircraft's transparent objects won't receive shadows
    anymore. This is usually a good thing except when the aircraft use a 'transparent'
    texture where it should not. A transparent texture in the plib context is a texture
    with an alpha channel or a material with alpha <= 0.99.

- model.cxx, animation.cxx, shadowvolume.cxx :
  - added an optional <condition> under the <noshadow> animation

- tower.cxx
  - correct a rare bug where all occurences of the aircraft are not deleted from the
  departure list causing a crash in FGTower::CheckDepartureList function.
2005-07-18 16:58:52 +00:00
mfranz
47436f4676 make text color a bit brighter 2005-07-13 11:32:37 +00:00
mfranz
dc45f751bf - consider F10/F9 key changes in help screens
- put hrule under titlebar
2005-07-13 11:30:32 +00:00
mfranz
e21dbdbef1 - move "Toggle FDM data logging" from Shift-F10 to Shift-F9
- let Shift-F10 cycle through GUI styles; F10 is already about GUI stuff
  (enable/disable menu), so this is the most obvious key
2005-07-13 11:14:07 +00:00
mfranz
d4f33ef4c2 fix input field color 2005-07-13 11:03:16 +00:00
mfranz
02ca61961d allow to cycle through available styles 2005-07-13 10:56:42 +00:00
mfranz
34dd362fd7 moved to styles/ 2005-07-13 10:56:03 +00:00
mfranz
c5ad1399fa load both available styles (of course, fgfs shouldn't keep dozens of
styles in memory, but two or three are probably a good idea; one for
bright environments, one for dark, and one for ... whatever)
2005-07-13 10:55:36 +00:00
mfranz
79ba75f01b - create styles directory
- move old style there, named "default.xml"
- add experimental style: "anthrax.xml" ("anthracite.xml" was too long :-)
2005-07-13 10:53:38 +00:00
mfranz
cefc6a87b1 xml syntax fix 2005-07-11 13:18:56 +00:00
mfranz
30526c9307 fix typo; rule instead of underscores 2005-07-11 08:27:47 +00:00
mfranz
7c0b24a30c cleanup (setting "combo" properties doesn't work due to yet another plib bug) 2005-07-11 08:08:19 +00:00
mfranz
3f8c5f59c9 style resembles original style much better now; dialogs are still too
opaque.
2005-07-08 23:32:46 +00:00
mfranz
7d25bac87f fix a few mistakes 2005-07-08 16:54:22 +00:00
mfranz
3f8f6bce2e document global color/font settings (themes) 2005-07-08 16:41:09 +00:00
mfranz
a14392d518 font name change due to license requirements 2005-07-08 13:30:15 +00:00
mfranz
114eceb823 make "OK" the default button 2005-07-08 07:08:55 +00:00
mfranz
2f761ab099 include the style file 2005-07-07 21:03:49 +00:00
mfranz
350386e4f5 - simple style file, that is supposed to eventually define the old fgfs
style by means of the new "theme engine". Currently there are some
  differences, though.
2005-07-07 21:03:15 +00:00
ehofman
f2d7f7d9c0 Add the noshadow animation type 2005-07-05 17:58:17 +00:00
mfranz
83356869b2 <format>s are only applied again on updated values if they are <live>
(does that make sense?)
2005-07-05 09:12:23 +00:00
ehofman
49ebb5b7a7 Depreciate the old-pilot-offset-dialog. 2005-07-05 08:51:18 +00:00
ehofman
c24684b0bf Depreciate the old-load/save-dialog code. 2005-07-04 14:40:35 +00:00
ehofman
e61b42ac68 Update timeofday 2005-07-04 09:10:27 +00:00
mfranz
68beceba9f typo 2005-07-03 13:15:39 +00:00
ehofman
b0e8526e8d Mathias Fröhlich:
I have introduced the posibility to start directly on the carrier.

With that patch you will have a --carrrier=id argument where id can either be
the pennant number configured in the nimitz scenario or the carriers name
also configured in the carriers scenario.
Additionaly you can use --parkpos=id to select different positions on the
carrier. They are also configured in the scenario file.

That includes the switch of the whole FGInterface class to make use of the
groundcache.
That means that an aircraft no longer uses the current elevation value from
the scenery class. It rather has its own local cache of the aircrafts
environment which is setup in the common_init method of FGInterface and
updated either manually by calling
 FGInterface::get_groundlevel_m(lat, lon, alt_m);
or implicitly by calling the above method in the
 FGInterface::_updateGeo*Position(lat, lon, alt);
methods.
A call get_groundlevel_m rebuilds the groundcache if the request is outside
the range of the cache.

Note that for the real usage of the groundcache including the correct
information about the movement of objects and the velocity information, you
still need to set up the groundcache in the usual way like YASim and JSBSim
currently does.
If you use the native interface, you will get only static objects correctly.
But for FDM's only using one single ground level for a whole step this is IMO
sufficient.

The AIManager gets a way to return the location of a object which is placed
wrt an AI Object. At the moment it only honours AICarriers for that.
That method is a static one, which loads the scenario file for that reason and
throws it away afterwards. This looked like the aprioriate way, because the
AIManager is initialized much later in flightgears bootstrap, and I did not
find an easy way to reorder that for my needs. Since this additional load is
very small and does only happen if such a relative location is required, I
think that this is ok.

Note that moving on the carrier will only work correctly for JSBSim and YASim,
but you should now be able to start and move on every not itself moving
object with any FDM.
2005-07-03 09:42:09 +00:00
mfranz
ceb8abd810 - move <hrule> to correct place and add a dummy child
- fix indentation
2005-07-02 20:51:09 +00:00
mfranz
bc12ef3a37 fix DOS line ending 2005-07-01 06:23:13 +00:00
mfranz
d9cb887375 Juergen Tretthahn: s/stepFlaps/flapsDown/ 2005-07-01 05:20:24 +00:00
mfranz
0f97cfccdf slightly more effective stop() method 2005-06-30 00:18:20 +00:00
andy
f1c70da6d4 Fix interpolate() so that interpolate("/prop/name") freezes the
interpolation at the current value.  This was always a feature of the
C++ code, but the Nasal wrapper couldn't handle the empty argument
list.
2005-06-29 23:58:58 +00:00
mfranz
c20d609bfb now that the <repeatable> property actually works, we have to set it
where it is desirable (it defaults to false); the <key>'s <repeatable>
setting is also used for the <mod-shift> branch, so we have to set it
as soon as one branch needs it.
2005-06-27 07:16:09 +00:00
ehofman
07aaf76d45 Harald JOHNSEN:
Changes
=======

New volumetric shadows for FlightGear.

There is now two new checkboxes in the rendering dialog to enable/disable shadows
for the user aircraft and for static scenery objects (ie those defined in the .stg files).
AI and random objects are not handled for the moment.


known bugs
==========
- ghost objects
2005-06-26 17:19:58 +00:00
mfranz
beb96181c5 - no <desc> in <bindings>; they are either at <key> level, or at
<mod-up>, <mod-shift>, ...
- remove doubles; cosmetics
2005-06-23 14:01:58 +00:00
mfranz
17166921c0 - rename controls.stepFlaps() to controls.flapsDown(), because:
- to support "old-style" gear/flap control (operation as long as button
  pressed/lever pushed -> b29/hurricane), let bindings not only report
  up/down, but up (-1), stop (0), down (1).
- let controls.flapsDown() ignore "stop" so as to remain compatible with
  prior behavior
- adapt all joysticks/aircraft (sigh)
- some minor cosmetics in joystick configs, such as indentation fixes
2005-06-22 13:08:01 +00:00
mfranz
a96b1d75cd add hrule description 2005-06-20 22:19:07 +00:00
mfranz
a943e01c6d Jim Campbell: another name; fixed <mac> axes 2005-06-20 17:12:16 +00:00
mfranz
1988fbb089 Jim Campbell: add carb-heat axis support 2005-06-20 16:52:58 +00:00
mfranz
6654497a78 cosmetics (only to annoy everybode) 2005-06-19 18:25:57 +00:00
mfranz
bc51a3df26 - exploit the nasal namespace feature, which simplifies matters a lot and
avoids the obscure and ugly "which" workaround

Note that the input subsystem sets variable "this" to this joystick's
base property path; This is useful to be able to access the driver's own
information from the property tree. Example:

   data = props.globals.getNode(this).getNode("data");

where "this" contains string "/input[0]/joysticks[0]/js[0]" if the js is
the first in the system
2005-06-19 17:29:56 +00:00
mfranz
94dc0aab8d another name ... 2005-06-18 12:21:11 +00:00
mfranz
8a2ba09c4a call controls.stepFlaps() wrapper to keep bindings functional with aircraft
that implement special flaps behavior; use controls.throttleAxis() where
safely possible to support arbitrary numbers of engines
2005-06-16 16:47:31 +00:00