1
0
Fork 0
Commit graph

7871 commits

Author SHA1 Message Date
Tim Moore
d5a893589c Use OSG polytope intersector to fill ground cache
This gets rid of a lot of messy code. Although the performance is about
the same as the old code, there is the possibility of a big performance
boost if/when the polytope intersector is taught about KD trees.
2009-02-13 09:47:31 +01:00
fredb
a9475796eb Improve TerraSync suggested by Alex Perry
Keep already scheduled tiles for later on relocation
2009-02-10 00:22:16 +01:00
mfranz
f3ba7a3bd4 - pass return values in set{,Bool,Int,Double}Value() and setprop()
- make some char* "const" to silence warnings

This removes the warning that (rarely) occurred if one wrote to a
write protected property with setprop(). While this was a useful
hint, it needlessly floods the terminal if one protected a property
intentionally. (Consider to add an SG_DEBUG warning instead.) It's
now the caller's job to check for the result if it actually cares.
2009-02-10 00:22:16 +01:00
durk
916240693f Some further work toward adding more AI/ATC messages. This patch provides
some prepratory work for assigning different operations to different
frequencies. It also returns a stub for returning an ATIS message ID.
Currently, the ATIC information ID is hardcoded to "Sierra", which needs
to be replaced by a dynamic ID once ATIS services are fully integrated
with the new trafficcontrol code. At least, it's marginally more realistic
then the previous information XX. :-).
2009-02-10 00:22:16 +01:00
fredb
83ece7efec Improve TerraSync
Really fetch tiles while there are no incoming messages.
Implement an aging mechanism to not try the same tile within a period of 10mn
2009-02-10 00:22:16 +01:00
fredb
3ba6d023f1 Remove things I didn't do 2009-02-10 00:22:16 +01:00
fredb
b9346e739a Update to the contributor list 2009-02-10 00:22:16 +01:00
durk
dcb38dbc3f Updated list of contributions / added names of contributers. 2009-02-10 00:22:16 +01:00
durk
6b2dff5c83 BUGFIX: If/else bracket misplacement. 2009-02-10 00:22:16 +01:00
ehofman
9cd26d8b34 Sync. w. JSBSim CVS 2009-02-06 22:40:10 +01:00
Tim Moore
1e71177e7c Merge branch 'topic/tape' into next 2009-02-06 15:44:51 +01:00
Tim Moore
3e37d81f1d HUD::Tape: avoid floating point exception 2009-02-06 15:44:07 +01:00
Tim Moore
157eb857ef Merge branch 'topic/multiplayer' into next 2009-02-06 12:18:09 +01:00
Tim Moore
0cbfd8bdb5 MP cleanup
Expand the message union to provide member functions that return pointers into
the message buffer.
2009-02-06 11:59:40 +01:00
Tim Moore
e83caa6321 Fix various mp bugs.
In multiplaymgr.cxx:
The length of a string property that is too big was written out in the message
even though the string was truncated. Also, it was possible to overrun the
message buffer.

In incoming  messages, null-terminate the callsign to prevent any funny
business. Don't believe invalid string lengths. Turn the warning about unknown
properties from a warning into info; there are too many buggy clients out there,
not to mention people who add their own MP properties (hi vivian :)
2009-02-06 08:50:14 +01:00
curt
67c4eec677 Add analog output support to the ATC hardware interface. 2009-02-04 23:51:22 +01:00
mfranz
4b5353d396 make default model configurable (default: Models/Geometry/glider.ac)
This allows to set Models/Geometry/null.ac or something that doesn't
look bad in multiplayer for both fast and slow speeds, for example
the harrier.
2009-02-04 23:51:22 +01:00
durk
b9848fe537 Add some more names / Fix Typos. 2009-02-04 23:51:22 +01:00
durk
fd0fb68d00 Added Alexis Bory. Alexis, in addition, kindly pointed out a typo in mu
own name in the revision note. Thanks.
2009-02-04 23:51:22 +01:00
durk
98f1c30ef0 Add one more name from my list of people who should be listed. 2009-02-04 23:51:22 +01:00
durk
913d25c571 Add some names that should not have been left out. In general, this
document needs a fix-up, considering that the date of the last update was
2005.
2009-02-04 23:51:22 +01:00
durk
e0b9d2365e Synchronize version number with our latest release. 2009-02-04 23:51:21 +01:00
Tim Moore
bfc059aa03 Merge branch 'releng/1.9.1' into maint 2009-02-03 23:49:14 +01:00
Tim Moore
c2c0e8eecd configure.ac for 1.9.1 release
Note that this commit is not, may never be, in CVS.
2009-02-03 00:32:05 +01:00
Tim Moore
43c47f3823 Merge branch 'maint' into next 2009-02-02 00:59:18 +01:00
mfranz
d9e9331422 do_save: s/reading/writing/ in the error message 2009-02-02 00:59:05 +01:00
Tim Moore
7259d36abf Change waitingTiles from std::queue to std::deque
std::queue can't be cleared portably.
2009-02-02 00:58:01 +01:00
fredb
155701aaeb Improve the terrasync strategy 2009-02-02 00:58:01 +01:00
fredb
cde8b0c54a Fix terrasync parsing of atlas messages 2009-02-02 00:58:01 +01:00
mfranz
46d381cc87 x/y/z offsets are in m, not deg 2009-02-02 00:58:01 +01:00
mfranz
ec03d4ce01 move <text> before <property> part, so that <format>s are applied initially 2009-02-02 00:58:01 +01:00
fredb
11d18d3e5f Support --fg-root in fgjs 2009-02-02 00:58:00 +01:00
durk
7ad2bee1a8 Brian Schack: Patch to the atlas protocol that allows nav1 &2 frequencies
and radials, as well the selected ADF frequency to be transmitted to Atlas
DT: Two minor modifications to the adf part to make it work, and some
testing.
2009-02-02 00:58:00 +01:00
fredb
41a8ae42f5 Allow the search of header files in the current directory 2009-02-02 00:58:00 +01:00
durk
9a19c238a9 And some more cleanup. 2009-02-02 00:58:00 +01:00
Tim Moore
0824fe68f3 Merge branch 'maint' into next 2009-02-02 00:57:24 +01:00
mfranz
58a2927aaf segfault-- 2009-02-02 00:56:25 +01:00
durk
e555d65d03 Cleaning up some unnecessary warnings. 2009-02-01 23:44:11 +01:00
durk
b15a5508a0 Note to self: Do test compile, even when it's only adding a simple if/else
statement around two existing pieces of code. :-)
2009-02-01 23:44:11 +01:00
durk
c6f88e5b9b Development for two new features:
* Some support for geometry information provided by the custom scenery
   project. Current support is for AI groundnets and runway use files only
   since this is a switch that involves a lot of data verification and
   updating, during the transistion the actual path where the data can be
   read from is user configurable. setting the property

   /sim/traffic-manager/use-custom-scenery-data to true

  will cause flightgear to read the ground networks from the scenery
  directory (--{fg-scenery}/Airports/[I]/[C]/[A]/[ICAO].groundnet.xml to be
  precise). Setting this property to false will retain the original
  behvior.
* For departing aircraft, runway takeoff calculations will be done on the
  basis of the performance database. For testing purposes, a performance
 estimate for a heavy jet has been added.
2009-02-01 23:44:10 +01:00
mfranz
5efca258c1 data hack: escalate some more; this disgusting hack must die *soon*! 2009-02-01 23:44:10 +01:00
mfranz
aa0dccf1e1 escalate warning for the ugly data hack 2009-02-01 23:44:10 +01:00
mfranz
c366a445c5 textbox: add <top-line> param that sets first line (last line if negative) 2009-02-01 23:44:10 +01:00
mfranz
48f22c330a make use of plib/svn features 2009-02-01 23:44:10 +01:00
ehofman
3cb45f4989 Sync. with JSBSim CVS 2009-01-28 07:59:55 +01:00
Tim Moore
0c5e9f46e7 Merge branch 'maint' into next 2009-01-26 09:49:07 +01:00
fredb
8766be0fb1 Update MSVC 7.1 projects - Remove pthreads dependency (2) 2009-01-26 09:48:31 +01:00
fredb
a325eea0c7 Update MSVC 7.1 projects - Remove pthreads dependency 2009-01-26 09:48:24 +01:00
mfranz
2e1cfcb83d fgPopup::checkHit(): revert r1.103 (consume mouse hits by default)
Can't reproduce the problem that r1.103 meant to fix, but it
caused another problem: MMB dragging events weren't passed,
so e.g. power lever control in the bo105 stopped working.
2009-01-26 09:48:14 +01:00
Tim Moore
738e06e845 _kollsman member not initialized
From Csaba Helasz
2009-01-26 09:37:46 +01:00