]> git.mxchange.org Git - flightgear.git/log
flightgear.git
14 years agoGPS data validity clean-up; it was a mess, now it's more robust. Thanks to Dave Luff...
jmt [Sun, 18 Oct 2009 20:42:14 +0000 (20:42 +0000)]
GPS data validity clean-up; it was a mess, now it's more robust. Thanks to Dave Luff for reporting.

14 years agoFix route-manager / GPS sequencing interaction; tied properties need help to fire...
jmt [Sun, 18 Oct 2009 19:59:01 +0000 (19:59 +0000)]
Fix route-manager / GPS sequencing interaction; tied properties need help to fire listeners.

14 years agoFix a copy-and-paste bug with destination runways. Caught by Scott Hamilton.
jmt [Sun, 18 Oct 2009 17:54:18 +0000 (17:54 +0000)]
Fix a copy-and-paste bug with destination runways. Caught by Scott Hamilton.

14 years agoFurther GPS and route manager behavioural fixes
jmt [Thu, 15 Oct 2009 21:30:10 +0000 (21:30 +0000)]
Further GPS and route manager behavioural fixes

* When the nav-radio is slaved, calculated radial/target-hdg-deg
 (needed by some autopilot logic)
* Handle editing (including deletion) of route waypoints correctly,
 including deleting the active waypoint
* Add a signal to the route manager when the last wpt is reached, and
 use it in the GPS to revert to OBS mode.
* Change the altitude handling to use the specified cruise altitude
* Fix a bug where autopilot/locks/altitude was treated as a boolean

14 years agoRoute-manager: remove any interaction with the autopilot, or internal sequencing...
jmt [Wed, 14 Oct 2009 06:50:06 +0000 (06:50 +0000)]
Route-manager: remove any interaction with the autopilot, or internal sequencing; assume the GPS always handles this (it should, now). Also fix waypoint altitude handling, which was broken. If not altitude is supplied for a waypoint, default to the requested cruise altitude.

14 years agoMake the GPS drive the autopilot directly (if configured), also update external cours...
jmt [Tue, 13 Oct 2009 22:02:08 +0000 (22:02 +0000)]
Make the GPS drive the autopilot directly (if configured), also update external course (OBS) source, and init at the current airport.

14 years agoEnsure we always create a GPS instrument.
jmt [Tue, 13 Oct 2009 22:01:48 +0000 (22:01 +0000)]
Ensure we always create a GPS instrument.

14 years agoMake the HUD show GPS state, instead of RM state.
jmt [Tue, 13 Oct 2009 07:05:01 +0000 (07:05 +0000)]
Make the HUD show GPS state, instead of RM state.

14 years agoChange default airport search to exclude seaports and heliports, for the moment.
jmt [Tue, 13 Oct 2009 06:48:52 +0000 (06:48 +0000)]
Change default airport search to exclude seaports and heliports, for the moment.

14 years agoFix unrealistic-but-convenient direct-drive from the route-manager to the autopilot...
jmt [Sun, 11 Oct 2009 21:29:24 +0000 (21:29 +0000)]
Fix unrealistic-but-convenient direct-drive from the route-manager to the autopilot code. A new boolean config prop, 'drive-autopilot' exists, to disable this behaviour.

14 years agoMake GPS slaved mode on the navradio slightly more robust. Not done yet.
jmt [Fri, 9 Oct 2009 20:16:31 +0000 (20:16 +0000)]
Make GPS slaved mode on the navradio slightly more robust. Not done yet.

14 years agoFix various route-manager issues - HUD display of waypoints, some potential divide...
jmt [Thu, 8 Oct 2009 21:08:07 +0000 (21:08 +0000)]
Fix various route-manager issues - HUD display of waypoints, some potential divide-by-zeroes when paused or stationary, and Win32 compilation.

14 years agoRefactor airway code to use SGGeod in external APIs. First of various changes to...
jmt [Wed, 7 Oct 2009 08:34:53 +0000 (08:34 +0000)]
Refactor airway code to use SGGeod in external APIs. First of various changes to make airways more useful in GPS/FMS modules.

14 years agoFix an issue which VC90 warns about - using 'this' in initialiser lists.
jmt [Tue, 6 Oct 2009 23:13:18 +0000 (23:13 +0000)]
Fix an issue which VC90 warns about - using 'this' in initialiser lists.

14 years agoUse boost string algorithms to avoid dependence on C-library extensions missing in...
jmt [Tue, 6 Oct 2009 20:59:45 +0000 (20:59 +0000)]
Use boost string algorithms to avoid dependence on C-library extensions missing in MSVC. Also they're just nicer.

14 years agoNumerical robustness for the GPS code, when dt or last_speed_kts is zero.
jmt [Tue, 6 Oct 2009 20:50:15 +0000 (20:50 +0000)]
Numerical robustness for the GPS code, when dt or last_speed_kts is zero.

14 years agoinclude header for auto_ptr
Tim Moore [Tue, 6 Oct 2009 09:18:26 +0000 (11:18 +0200)]
include header for auto_ptr

14 years agoLand the GPS/route-manager re-write. Many things are better, many other things will...
jmt [Mon, 5 Oct 2009 21:09:20 +0000 (21:09 +0000)]
Land the GPS/route-manager re-write. Many things are better, many other things will be better, some things are no doubt broken. Please be patient and report problems on the mailing list.

14 years agoExtend FGPositioned API to support queries by name as well as ident.
jmt [Mon, 5 Oct 2009 19:58:24 +0000 (19:58 +0000)]
Extend FGPositioned API to support queries by name as well as ident.

14 years agoExtender iterative search APIs with a 'has-next' return arg, to enable better iterati...
jmt [Sun, 4 Oct 2009 22:14:14 +0000 (22:14 +0000)]
Extender iterative search APIs with a 'has-next' return arg, to enable better iteration UI.

14 years agoBugfix use of type checks in FGPositioned::findAllWithIdentSortedByRange
jmt [Thu, 1 Oct 2009 16:50:54 +0000 (16:50 +0000)]
Bugfix use of type checks in FGPositioned::findAllWithIdentSortedByRange

14 years agoUse boost::to_lower_copy instead of function from simgear
Tim Moore [Wed, 30 Sep 2009 22:15:37 +0000 (00:15 +0200)]
Use boost::to_lower_copy instead of function from simgear

The simgear function is about to get removed.

14 years agoPositioned support for adding user waypoints.
jmt [Mon, 28 Sep 2009 23:42:10 +0000 (23:42 +0000)]
Positioned support for adding user waypoints.

14 years agoFurther extensions to FGPositioned to support ongoing GPS work.
jmt [Sun, 27 Sep 2009 23:12:58 +0000 (23:12 +0000)]
Further extensions to FGPositioned to support ongoing GPS work.

14 years agoExtend FGPositioned to allow mapping from a string to a type.
jmt [Sat, 26 Sep 2009 11:46:42 +0000 (11:46 +0000)]
Extend FGPositioned to allow mapping from a string to a type.

14 years agoMerge branch 'jmt/reciprocal'
Tim Moore [Wed, 23 Sep 2009 05:44:02 +0000 (07:44 +0200)]
Merge branch 'jmt/reciprocal'

14 years agoAlex Buzin: Fix wrong calculation of temperature and dewpoint
torsten [Tue, 22 Sep 2009 18:47:24 +0000 (18:47 +0000)]
Alex Buzin: Fix wrong calculation of temperature and dewpoint

14 years agoFix the temperature computation.
torsten [Sun, 20 Sep 2009 15:46:05 +0000 (15:46 +0000)]
Fix the temperature computation.

14 years agoRon Jensen:
torsten [Sun, 20 Sep 2009 15:42:46 +0000 (15:42 +0000)]
Ron Jensen:
While troubleshooting the new environment I discovered the metar station
elevation (station_elevation_ft) is never being set because there is a
local variable that overrides it.

14 years agoMerge branch 'tat/configure'
Tim Moore [Sun, 20 Sep 2009 20:44:58 +0000 (22:44 +0200)]
Merge branch 'tat/configure'

14 years agoonly complain about binary record length mismatch if mode is binary.
torsten [Thu, 17 Sep 2009 20:17:35 +0000 (20:17 +0000)]
only complain about binary record length mismatch if mode is binary.

14 years agounintentional introduction of a not yet ready util.
torsten [Fri, 18 Sep 2009 07:37:23 +0000 (07:37 +0000)]
unintentional introduction of a not yet ready util.

14 years agoand the (hopefully) last one from Tat's Mac-can-run-make patch
torsten [Thu, 17 Sep 2009 18:42:15 +0000 (18:42 +0000)]
and the (hopefully) last one from Tat's Mac-can-run-make patch

14 years agoforgotten ones from Tat's patch to enable make builds on Macs
torsten [Thu, 17 Sep 2009 17:03:26 +0000 (17:03 +0000)]
forgotten ones from Tat's patch to enable make builds on Macs

14 years agofgpanel is shouldn't have escaped (yet)
torsten [Thu, 17 Sep 2009 07:39:04 +0000 (07:39 +0000)]
fgpanel is shouldn't have escaped (yet)

14 years agoTatsuhiro Nishioka:
torsten [Wed, 16 Sep 2009 17:07:49 +0000 (17:07 +0000)]
Tatsuhiro Nishioka:
Patches for configure.ac and Makefile.am files in FG/SG so Mac developers can build these in a unix way.
These also enables Mac developers to choose either PLIB framework or PLIB static libs.

14 years agoDifferent approach to handling the paired-ILS-on-opposite-runways situation. This...
jmt [Wed, 16 Sep 2009 09:35:22 +0000 (09:35 +0000)]
Different approach to handling the paired-ILS-on-opposite-runways situation. This uses additional information we now store (in FGRunway) to be more explicit about the behaviour (i.e only look at paired navids), and crucially, does not misbehave near either threshold. Instead it always switches about the runway midpoint (so back-course/missed-approaches are broken as before), leading to stable behaviour when touching down.

I am pretty confident this is (was, from FS2004) also the 'solution' taken by MSFS.

14 years agoAssociate non-ILS localisers with their runway.
jmt [Wed, 16 Sep 2009 00:23:34 +0000 (00:23 +0000)]
Associate non-ILS localisers with their runway.

14 years agoMake FGRunway track reciprocal runways.
jmt [Wed, 16 Sep 2009 00:17:12 +0000 (00:17 +0000)]
Make FGRunway track reciprocal runways.

14 years agoLogging: less verbose about navaids we didn't align.
jmt [Mon, 14 Sep 2009 12:44:30 +0000 (12:44 +0000)]
Logging: less verbose about navaids we didn't align.

14 years agoLogging: less verbose traffic-manager startup.
jmt [Mon, 14 Sep 2009 12:39:41 +0000 (12:39 +0000)]
Logging: less verbose traffic-manager startup.

14 years agoLogging: less verbose panel loading.
jmt [Mon, 14 Sep 2009 12:39:25 +0000 (12:39 +0000)]
Logging: less verbose panel loading.

14 years agoMerge branch 'topic/atmos-merge' into next
Tim Moore [Sat, 12 Sep 2009 13:50:06 +0000 (15:50 +0200)]
Merge branch 'topic/atmos-merge' into next

John Denker's atmosphere changes. Original commit message:
Two-parameter physics-based model of atmosphere up to 262,467 ft i.e.
the top of the mesosphere. Correctly exhibits the HALT phenomenon.

14 years agoVarious LOC/GS improvements from John Denker, adapted to trunk by me (hopefully not...
jmt [Fri, 11 Sep 2009 23:05:23 +0000 (23:05 +0000)]
Various LOC/GS improvements from John Denker, adapted to trunk by me (hopefully not introducing too many bugs along the way). Includes:
 - false LOC courses and GS lobes
 - LOC sensitivity based on runway dimensions
 - GS cutoff based on range
 - More accurate GS deviation computation, making final approach more stable

14 years agoAvoid strtof() for portability reasons.
curt [Thu, 10 Sep 2009 22:02:59 +0000 (22:02 +0000)]
Avoid strtof() for portability reasons.

14 years agoHandle "double" type fields correctly for ascii input data. Previously double
curt [Thu, 10 Sep 2009 18:12:33 +0000 (18:12 +0000)]
Handle "double" type fields correctly for ascii input data. Previously double
data was being down-cast to float and the loss of precision impacted data types like lon/lat positions dramatically, preventing smooth replay of data.

14 years agoDisable collisions with the MP aircraft again.
frohlich [Thu, 10 Sep 2009 17:45:17 +0000 (17:45 +0000)]
Disable collisions with the MP aircraft again.

Modified Files:
src/AIModel/AIMultiplayer.cxx

14 years agoAdd clamped degrees deviation for glideslope.
jmt [Thu, 10 Sep 2009 08:15:46 +0000 (08:15 +0000)]
Add clamped degrees deviation for glideslope.

14 years agoMerge branch 'jsd/atmos' into topic/atmos-merge
Tim Moore [Thu, 10 Sep 2009 10:14:30 +0000 (12:14 +0200)]
Merge branch 'jsd/atmos' into topic/atmos-merge

Conflicts:
src/Environment/environment.cxx
src/Environment/environment.hxx

John Denker's atmosphere changes. Original commit message:
Two-parameter physics-based model of atmosphere up to 262,467 ft i.e.
the top of the mesosphere. Correctly exhibits the HALT phenomenon.

14 years agocleanup of atmosphere patch
Tim Moore [Thu, 10 Sep 2009 09:42:42 +0000 (11:42 +0200)]
cleanup of atmosphere patch

Remove some dead code and space changes. Replace boost::tuple with std::pair,
but do use boost::tie.

14 years agoTwo-parameter physics-based model of atmosphere up to 262,467 ft i.e. the top of...
John Denker [Thu, 22 Jan 2009 01:11:52 +0000 (18:11 -0700)]
Two-parameter physics-based model of atmosphere up to 262,467 ft i.e. the top of the mesosphere. Correctly exhibits the HALT phenomenon.

14 years agoAdd normalised heading deflection property to navradio.
jmt [Wed, 9 Sep 2009 09:44:52 +0000 (09:44 +0000)]
Add normalised heading deflection property to navradio.

14 years agoFix MSVC compilation
daveluff [Tue, 8 Sep 2009 20:55:30 +0000 (20:55 +0000)]
Fix MSVC compilation

14 years agoTatsuhiro Nishioka:
torsten [Tue, 8 Sep 2009 17:50:14 +0000 (17:50 +0000)]
Tatsuhiro Nishioka:
Handle number keys on Keypad properly on Mac OS X

14 years agotest for the presence of alut.h. if it's not found only display a warning message...
ehofman [Tue, 8 Sep 2009 17:07:31 +0000 (17:07 +0000)]
test for the presence of alut.h. if it's not found only display a warning message in gl-info and test-env-map. A clean build without glut installed is now possible.

14 years agoDont execute code in case the soundmanager isn't properly initialized
ehofman [Tue, 8 Sep 2009 17:06:13 +0000 (17:06 +0000)]
Dont execute code in case the soundmanager isn't properly initialized

14 years agoFix compilation - missing include of globals.hxx
jmt [Tue, 8 Sep 2009 16:03:48 +0000 (16:03 +0000)]
Fix compilation - missing include of globals.hxx

14 years agoAdd normalised glideslope deviation property to nav-radio.
jmt [Tue, 8 Sep 2009 16:02:59 +0000 (16:02 +0000)]
Add normalised glideslope deviation property to nav-radio.

14 years agoFurther re-factoring of nav-radio code, again no functionality changed should occur...
jmt [Tue, 8 Sep 2009 14:23:44 +0000 (14:23 +0000)]
Further re-factoring of nav-radio code, again no functionality changed should occur. Radio reception / GPS slaving / Glideslope handling and CDI updating are all separate functions now.

14 years agoDont execute code in case the soundmanager isn't properly initialized
ehofman [Tue, 8 Sep 2009 13:51:24 +0000 (13:51 +0000)]
Dont execute code in case the soundmanager isn't properly initialized

14 years agoSet runway elevation to the airport elevation, and don't reset ILS/LOC elevation...
jmt [Tue, 8 Sep 2009 11:23:53 +0000 (11:23 +0000)]
Set runway elevation to the airport elevation, and don't reset ILS/LOC elevation when aligning with runways.

14 years agoUse the new vector conversion functions.
frohlich [Mon, 7 Sep 2009 21:40:46 +0000 (21:40 +0000)]
Use the new vector conversion functions.

Modified Files:
src/FDM/groundcache.cxx src/Main/renderer.cxx
src/Main/viewer.cxx src/Scenery/scenery.cxx

14 years agoMove dynamic_casts to EffectGeode into the findMaterial method.
frohlich [Mon, 7 Sep 2009 20:40:08 +0000 (20:40 +0000)]
Move dynamic_casts to EffectGeode into the findMaterial method.

Modified Files:
src/Scenery/scenery.cxx

14 years agoFix a problem introduced with the past vector changes.
frohlich [Mon, 7 Sep 2009 18:01:33 +0000 (18:01 +0000)]
Fix a problem introduced with the past vector changes.
Fix a potential nan problem with the scenery_available method.

Modified Files:
src/Scenery/scenery.cxx

14 years agoOne last update; remember whether input or output is requested. This will make sure...
ehofman [Mon, 7 Sep 2009 10:19:45 +0000 (10:19 +0000)]
One last update; remember whether input or output is requested. This will make sure FlightGear isn't communicating in both directions all the time.

14 years agoDon't forget to clear the previous configuration
ehofman [Mon, 7 Sep 2009 07:52:30 +0000 (07:52 +0000)]
Don't forget to clear the previous configuration

14 years agoMake FGIO a proper subsystem and add a reinit method for the generic protocol. This...
ehofman [Mon, 7 Sep 2009 07:27:38 +0000 (07:27 +0000)]
Make FGIO a proper subsystem and add a reinit method for the generic protocol. This should allow for easy runtime reloading of the configuration file.

14 years agoSync. with JSBSim (CVS) again
ehofman [Sat, 5 Sep 2009 12:22:54 +0000 (12:22 +0000)]
Sync. with JSBSim (CVS) again

14 years agoRemove obsolete version test.
frohlich [Sat, 5 Sep 2009 11:01:41 +0000 (11:01 +0000)]
Remove obsolete version test.

Modified Files:
src/Main/fg_os_osgviewer.cxx

14 years agoSimplify, fix some comments.
frohlich [Sat, 5 Sep 2009 11:01:06 +0000 (11:01 +0000)]
Simplify, fix some comments.

Modified Files:
src/Main/viewer.cxx

14 years agoCorrect logic to determine if we really have a hit.
frohlich [Fri, 4 Sep 2009 17:05:05 +0000 (17:05 +0000)]
Correct logic to determine if we really have a hit.

Modified Files:
src/Scenery/scenery.cxx

14 years agoInitialize all members.
frohlich [Fri, 4 Sep 2009 17:03:50 +0000 (17:03 +0000)]
Initialize all members.

Modified Files:
src/AIModel/AIAircraft.cxx src/AIModel/AIBase.cxx

14 years agoAvoid division by zero.
frohlich [Fri, 4 Sep 2009 17:01:53 +0000 (17:01 +0000)]
Avoid division by zero.

Modified Files:
src/Instrumentation/dme.cxx

14 years agoTatsuhiro Nishioka:
torsten [Fri, 4 Sep 2009 05:42:58 +0000 (05:42 +0000)]
Tatsuhiro Nishioka:
FG crashes at exit at very high likelihood.
The cause of the crash is that some subsystems (input and gui) call get_subsystems() at their destructor.
This is very dangerous since SGSubSystemMgr::get_subsystem() can refer to already deleted subsystems.

14 years agoReplace the SGVec*::sg() methods with the equivalent SGVec*::data() calls.
frohlich [Thu, 3 Sep 2009 20:18:34 +0000 (20:18 +0000)]
Replace the SGVec*::sg() methods with the equivalent SGVec*::data() calls.

Modified Files:
src/Traffic/Schedule.cxx src/Sound/fg_fx.cxx src/Main/main.cxx
src/Instrumentation/navradio.cxx
src/AIModel/AIFlightPlanCreateCruise.cxx

14 years agoTatsuhiro Nishioka:
torsten [Thu, 3 Sep 2009 08:45:43 +0000 (08:45 +0000)]
Tatsuhiro Nishioka:
Fixed: wrong event name for abs-hat0-y
Modified: let AxisElement to generate normalized input (-1.0 to 1.0).
                  This can be temporal and can be removed when AxisEvent normalizes its value.
Modified: clean up code
Added: some comments so other Mac developers can see what's going on

14 years agoRe-structure the nav-radio code, in preparation for cleaner GPS-slave separation...
jmt [Wed, 2 Sep 2009 17:01:30 +0000 (17:01 +0000)]
Re-structure the nav-radio code, in preparation for cleaner GPS-slave separation. No functionality changes (hopefully).

14 years agoAllow the joystick hat to move the view, even when the sim is paused.
jmt [Wed, 2 Sep 2009 14:07:43 +0000 (14:07 +0000)]
Allow the joystick hat to move the view, even when the sim is paused.

14 years agoMore precise matching of ILS records to navaids.
jmt [Mon, 31 Aug 2009 23:11:23 +0000 (23:11 +0000)]
More precise matching of ILS records to navaids.

14 years agoBertrand Coconnier:
ehofman [Mon, 31 Aug 2009 07:06:26 +0000 (07:06 +0000)]
Bertrand Coconnier:

Additionally to the original fix (problem with the Tec2b matrix initialization) I have modified the code for the "STRUCTURE" contacts in order not to generate NaNs when the z direction of the body frame is normal to the ground normal. Now there should no longer be any NaN generated by the landing gear code.

14 years agoAdd support for processing the ICAO.ils.xml scenery data into ILS/LOC nav records.
jmt [Sun, 30 Aug 2009 17:13:53 +0000 (17:13 +0000)]
Add support for processing the ICAO.ils.xml scenery data into ILS/LOC nav records.

14 years agoTwo minor (codewise) fixes to ensure everything works as advertised:
durk [Sun, 30 Aug 2009 14:39:04 +0000 (14:39 +0000)]
Two minor (codewise) fixes to ensure everything works as advertised:
 - Make sure to initialize the groundnetwork after succesful loading.
 - Ensure that the AI groundnetwork code proximity detection code used the
   correct values for bearing. (Note that detecting the proximity of the
   user aircraft appears still to be broken. I'll look into that later).

14 years agoAdded two missing files from JSBSim.org that were missing in the last sync.
durk [Sun, 30 Aug 2009 12:25:08 +0000 (12:25 +0000)]
Added two missing files from JSBSim.org that were missing in the last sync.

14 years agoSync with JSBSim CVS again
ehofman [Sun, 30 Aug 2009 08:22:03 +0000 (08:22 +0000)]
Sync with JSBSim CVS again

14 years agoAllow setting of NED velocities.
curt [Sat, 29 Aug 2009 18:42:58 +0000 (18:42 +0000)]
Allow setting of NED velocities.

14 years agoUpdate FGRunway to process information from threshold.xml files.
jmt [Sat, 29 Aug 2009 18:26:54 +0000 (18:26 +0000)]
Update FGRunway to process information from threshold.xml files.

14 years agoTrigger lazy loading of Airport data from the scenery on access.
jmt [Sat, 29 Aug 2009 18:00:14 +0000 (18:00 +0000)]
Trigger lazy loading of Airport data from the scenery on access.

14 years agomissing declaration of SGPropertyNode
torsten [Sat, 29 Aug 2009 13:24:33 +0000 (13:24 +0000)]
missing declaration of SGPropertyNode

14 years agoXMLLoader re-factoring.
jmt [Sat, 29 Aug 2009 10:21:51 +0000 (10:21 +0000)]
XMLLoader re-factoring.

14 years agoInitial framing for reading in-scenery airport data.
jmt [Sat, 29 Aug 2009 10:21:21 +0000 (10:21 +0000)]
Initial framing for reading in-scenery airport data.

14 years ago- added support for MAC OSX and initial hotplug support from Tatsuhiro Nishioka
torsten [Fri, 28 Aug 2009 15:05:21 +0000 (15:05 +0000)]
- added support for MAC OSX and initial hotplug support from Tatsuhiro Nishioka
- added support for per-device <nasal> <open> and <close>

14 years agochange back unsigned byte count to signed (multiplaymgr)
Tim Moore [Wed, 26 Aug 2009 22:12:44 +0000 (00:12 +0200)]
change back unsigned byte count to signed (multiplaymgr)

Also, small fixes to generic protocol from AndersG

14 years agoAIGroundVehicle from Vivian Meazza
Tim Moore [Tue, 25 Aug 2009 09:54:49 +0000 (11:54 +0200)]
AIGroundVehicle from Vivian Meazza

14 years agoAIGroundVehicle from Vivian Meazza
timoore [Tue, 25 Aug 2009 10:02:18 +0000 (10:02 +0000)]
AIGroundVehicle from Vivian Meazza

14 years agofix warnings in Multiplayer, Scripting, and Time
Tim Moore [Mon, 24 Aug 2009 16:07:19 +0000 (18:07 +0200)]
fix warnings in Multiplayer, Scripting, and Time

14 years agoFix transmission of float and double values in generic protocol
Tim Moore [Mon, 24 Aug 2009 16:06:06 +0000 (18:06 +0200)]
Fix transmission of float and double values in generic protocol

gcc -Wall -Werror turned up some problems with the type-punning of pointers
used to write the message buffer; it turns out that truncated ints were being
written to the message buffer when values needed to be swapped to network byte
order.

14 years agofix warnings in Main
Tim Moore [Mon, 24 Aug 2009 16:03:49 +0000 (18:03 +0200)]
fix warnings in Main

14 years agofix warnings in Instrumentation
Tim Moore [Mon, 24 Aug 2009 16:02:15 +0000 (18:02 +0200)]
fix warnings in Instrumentation

Mostly signed comparisons and order of initializers in constructors

14 years agofix warnings in GUI code
Tim Moore [Mon, 24 Aug 2009 16:00:10 +0000 (18:00 +0200)]
fix warnings in GUI code

14 years agoFix order of initializers in constructor
Tim Moore [Mon, 24 Aug 2009 15:58:27 +0000 (17:58 +0200)]
Fix order of initializers in constructor