ThorstenB
e59fabaf82
Clean-up some SGMath dependencies.
2012-05-05 00:56:29 +02:00
ThorstenB
89b41395d8
Move viewer-related sources to separate folder.
...
Simple source directory clean-up, so "Main" folder contains fewer stuff
and the list of files in the editors a lot shorter.
2012-04-25 23:28:00 +02:00
James Turner
2218a44ed7
Support loading PropertyList data remotely, as part of #450 . Along the way, centralise the HTTPClient object so it can be used beyond the METAR download engine.
2012-04-18 10:25:27 +01:00
James Turner
a38362646d
Don't create intermediate static libraries for build fgfs. (Speeds up rebuilds in Xcode dramatically, possible in other IDEs too)
2012-03-26 13:09:39 +01:00
Mathias Froehlich
5ca01925cd
hla: Rename HLAVariantData* to HLAVariantRecordData*.
...
Rename the variant record data types and elements to something
more standard conformant. This catches up with recent changes
in simgear.
2012-02-25 18:01:17 +01:00
Mathias Froehlich
c5ddd7b1f3
hla: Avoid using deprecated readObjectModelTemplate.
...
Avoid using the now deprecated readObjectModelTemplate() method
in HLAFederate. Make more use of the available general
initialization functions in HLAFederate.
2012-02-25 18:01:09 +01:00
ThorstenB
632824e4d8
Fix MSVC build issue.
...
MSVC complained about ambiguous "floor" when T=<int>.
2012-02-19 20:30:15 +01:00
ThorstenB
511072f206
protocol module: minor clean-up
2012-02-19 14:57:25 +01:00
Thomas Geymayer
dd3afd4c4e
Use simgear functions for clip and wrap around.
2012-02-19 14:53:04 +01:00
Thomas Geymayer
ccf15ac97e
Remove unneeded function and add bool relative changes
2012-02-19 14:53:04 +01:00
Thomas Geymayer
4ec6810c29
Support relative changes and wrapping for generic protocol input.
2012-02-19 14:53:04 +01:00
ThorstenB
d47342a5a4
Add --log-class option, improve logging classes.
...
Replace SG_GENERAL by more specific log classes in many places.
Allow "," to separate logging classes (using "|" is odd on the
command-line).
Also add new option to make logging more useful for developers.
You can use:
--log-level=debug --log-class=environment
to only get environment debug messages, or
--log-level=debug --log-class=sound,ai
to only get debug messages related to the sound or AI subsystem.
2011-12-11 14:06:17 +01:00
ThorstenB
a756ad0f43
#513 : netgui alignment mismatching on 32bit/64bit machines
...
netgui data structure now is identical for all platforms. Manually aligned
the fields, so compilers do not add (CPU architecture-specific) padding.
2011-12-09 19:01:15 +01:00
ThorstenB
4b2506d709
Add new performance monitoring subsystem.
...
Rename some subsystems for naming consistency.
2011-11-19 15:37:49 +01:00
James Turner
70b4f38ebc
Goodbye automake.
2011-11-01 11:15:53 +00:00
James Turner
b1b4b7ecf4
Fix (nearly) all the std:: namespace violations in headers, in preparation for fixing SGsmplstat.hxx to *not* do a 'using namespace std'.
2011-10-17 17:41:59 +01:00
Mathias Froehlich
a486eebeef
hla: Avoid explicit attribute update request. Is already done by simgear.
2011-10-04 20:58:46 +02:00
Mathias Froehlich
40d72b3ba7
hla: use the property based interface from the property data element.
2011-10-03 13:00:25 +02:00
Mathias Froehlich
761644c51d
hla: use the new HLAFederate::processMessages() call.
2011-10-02 15:13:55 +02:00
Mathias Froehlich
7645dd3a1d
hla: make use of createJoin/resignDestroy.
2011-10-01 18:37:55 +02:00
Mathias Froehlich
1c1722a2e9
Adapt to recent simgear hla/rti changes.
2011-08-31 20:02:00 +02:00
James Turner
51e307a742
Make errno dependency explicit, since raw_socket.hxx won't expose it, soon.
2011-08-23 10:25:17 +01:00
ThorstenB
f22a36c59c
Fix replay NaN issue due to unrecorded/uninitialized data.
...
Replay was setting spoiler/speedbrake properties, however these were never
recorded/initialized, resulting in NaNs being introduced.
2011-08-13 16:53:47 +02:00
ThorstenB
5bd8828fe6
Allow bidirectional support for generic interfaces.
2011-08-10 00:05:10 +02:00
James Turner
1c8d8e7908
More CMake headers support
2011-07-19 07:58:03 +01:00
Torsten Dreyer
c1d150a8e5
Ray protocol: don't use hardcoded gravity 9.81
2011-07-17 19:32:16 +02:00
James Turner
b0566a3ed0
Fix make dist rule for removed files. (will pick to 2.4)
2011-07-17 11:58:46 +01:00
ThorstenB
cd20c6073c
#346 related: missing status message for property server
...
Provide same start-up status message as for other protocols.
2011-06-20 22:50:07 +02:00
Mathias Froehlich
d21924770f
Avoid crashing in hla initialization failure.
2011-06-05 13:45:40 +02:00
James Turner
9c983359aa
Move all MP code in src/MultiPlayer.
...
Allow the subsystem to be (re-)inited at runtime.
2011-05-29 00:04:30 +01:00
Curtis L. Olson
11686cfb49
Hopefully add AV400WSim.cxx to the cmake system (not tested) since I use
...
autoconf/make.
2011-05-03 12:27:25 -05:00
Curtis L. Olson
e81479d857
Bruce Hellstrom @ ATC Flight Sim.
...
New module contributed: AV400WSim.
Supports communication with external (aka real) Garmin 400/500 WAAS flight
sim units. Includes changes to options.cxx and fg_io.cxx to support
invoking and configuring the new module.
2011-05-03 11:12:55 -05:00
Torsten Dreyer
0114fd962e
Fix broken tank properties. More verbose generic protocol error messages
2011-03-22 18:00:55 +01:00
Csaba Halasz
ae8438333c
Quick fix for ascii generic input line separator problem
2011-03-06 02:38:39 +01:00
ThorstenB
8962477cfa
Fix huge multiplayer memory leak.
...
Almost all FGPropertyData elements received via MP were leaked.
Property data is now cleanly deallocated in the FGExternalMotionData destructor.
Thanks to Jester for reporting rising mem consumption in MP mode.
2011-02-16 00:49:00 +01:00
Mathias Froehlich
3134acca83
Add the hla stuff to the cmake build system.
2011-01-17 21:35:12 +01:00
Mathias Froehlich
70dd6279a7
Add an initial implementation of a hla module.
2011-01-17 21:35:03 +01:00
James Turner
a91ec5f9f9
Initial work on CMake build files, with considerable help from Olaf Flebbe.
2010-12-19 15:06:04 +00:00
Christian Schmitt
0a5e86f4e6
remove old .cvsignore files
2010-11-11 01:16:29 +01:00
Anders Gidenstam
d7440d8fc5
src/Network/jpg-httpd.cxx: Include C++ C headers instead of plain C headers.
2010-10-24 15:22:06 +02:00
James Turner
987c1bdfda
Automake build fixes for PLIB net/ul removal.
2010-10-24 11:04:14 +01:00
James Turner
7ccba95b9c
Remove direct uses of PLIB ulXXX functions
2010-10-24 07:10:51 +01:00
James Turner
0e53e2cbb1
PLIB net removed from FlightGear
2010-10-24 07:10:51 +01:00
James Turner
94a3471956
Merge commit 'refs/merge-requests/7' of git://gitorious.org/fg/flightgear into topics/merge7
2010-10-19 09:05:51 +01:00
James Turner
6251814604
Use a property listener on the root, to observe property creation, and thus lazily update the MP property map. Fixes bug 164, and probably many latent MP missing-property issues.
2010-10-18 00:58:35 +01:00
James Turner
0c342308eb
Make MultiPlayer a well-behaved subsystem.
2010-10-05 23:17:32 +01:00
James Turner
84b45683fc
Refactor exit code, so the osgViewer gets 'done'.
2010-09-30 23:13:11 +01:00
Thorsten Brehm
5a7f838ff2
Fixed all type-casts violating the strict-aliasing rule.
...
=> Removes compiler warnings and optimization problems.
2010-09-27 23:48:20 +02:00
James Turner
7f36caede6
Create TimeManager subsystem, and collect the time related code out of main.cxx and fg_init.cxx into it.
...
Remove the unfortunately named 'tmp.[cxx|hxx]', pushing the remaining code in FGLight.
(second try, with init bug fixed)
2010-08-04 09:16:37 +01:00
James Turner
47fd8a8a2a
Revert "Create TimeManager subsystem" - not quite ready for prime-time yet!
...
This reverts commit 50eb95dcad
.
2010-08-02 00:23:36 +01:00