Jason Watkins
835f1e6527
Added support for the VIEW command to the plugin.
...
- The VIEW command allows clients to change the camera position in X-Plane.
2015-05-08 09:03:23 -07:00
Jason Watkins
0884cfd395
Added support for setting multiple datarefs to the plugin.
...
- The DREF command now uses the packet length to detect and set multiple datarefs in a single packet.
2015-05-07 15:24:56 -07:00
Jason Watkins
01b55f97c4
Fixed bug in handling of CTRL command
...
Several of the values were not checked for the "don't change" sentinel value.
2015-05-05 13:04:09 -07:00
Jason Watkins
3030f67a9d
Add support for speed brakes to plugin HandleCtrl function.
2015-05-05 13:04:08 -07:00
Jason Watkins
7f1af73c3c
Moved XPData array to DataManager and removed DataMaps.
...
After removing C++11 features, only the declaration of XPData remained in DataMaps, making it somewhat pointless to separate XPData from DataManager.
2015-05-05 13:04:03 -07:00
Jason Watkins
aeceb87f1d
Merge latest changes from release-1.0.1
...
Removing all C++11 features touches many parts of many files, so better merge the changes into develop ASAP to prevent future conflicts.
2015-05-05 08:33:54 -07:00
Jason Watkins
796fd0f7aa
Fix for Linux builds
2015-05-04 16:09:45 -07:00
Jason Watkins
1ee3f85b23
Added "switch" functionality to plugin SIMU message handler.
2015-05-01 14:48:33 -07:00
Jason Watkins
781fc390c2
Fixed bug in array initialization for SIMU command.
2015-04-30 10:03:24 -07:00
Jason Watkins
39c2f58a54
Fixed issues related to overwriting values in POSI commands.
...
- Added global position drefs for multiplayer aircraft.
- Added checks for the "don't change" sentinel value to SetPosition, SetOrientation and SetFlaps.
- Reordered validation checks in SetGear to be consistent with the above methods.
- Removed some now redundant "don't change" value checks in the MessageHandlers class.
2015-04-30 09:04:31 -07:00
Chris Teubert
e512cdd981
Pause should be an array
2015-04-30 09:04:30 -07:00
Jason Watkins
bdc4a04f1f
Fixed minor issues reported by Visual Studio code analysis tool.
2015-04-28 12:10:35 -07:00
Jason Watkins
9109056437
Improved data logging.
2015-04-24 10:30:35 -07:00
Jason Watkins
625482dcdd
Fixed bug in DATA message handler.
...
- Data validation checks were being executed in the wrong order. This caused most valid DATA commands to be reported as empty.
2015-04-24 10:30:34 -07:00
Jason Watkins
1950685675
Fixed type errors
...
- Some instances of stdint types were reintroduced by a merge conflicgt. They have now been converted back to language types.
2015-04-23 14:52:38 -07:00
Chris Teubert
41e72b81d2
Added a few comments
2015-04-23 10:08:17 -07:00
Jason Watkins
a6a99dc574
Updated plugin includes to build in gcc and added Linux binaries.
2015-04-22 10:16:34 -07:00
Jason Watkins
bb5c6d8a28
Merge branch 'feature/consistency' into develop
2015-04-21 15:58:44 -07:00
Jason Watkins
1523405495
Fixed errors in MATLAB client and updated tests.
2015-04-21 15:21:05 -07:00
Jason Watkins
5ee49c7d81
Updated plugin.
...
- Removed dependency on C client.
- The plugin now responds to client requests on the same port used to establish the connection.
Removed C client dependency from plugin.
2015-04-17 10:56:03 -07:00
Chris Teubert
e60dde457c
Changes to work with Mac
...
Changes include:
- Updating Project
- fixing sendto declaration
- Fixed some bugs in #if Mac sections
- Removed unneeded #includes (my compiler didn’t like them)
2015-04-16 12:58:49 -07:00
Jason Watkins
1a3f658774
Changed types from fixed width types in stdint to language primitive types guaranteed to be at least as big.
2015-04-16 10:13:18 -07:00
Jason Watkins
8591db96c0
Fixed various type inconsistencies to remove warning when building on Windows
2015-04-14 15:49:25 -07:00
Jason Watkins
52bf998632
Refactored message handling code into the MessageHandlers class.
...
- Re-enabled CONF messages sent in response to CONN commands.
- There was a bug in the construction of the CONF message.
- Resolves nasa/XPlaneConnect#31
2015-04-14 10:21:34 -07:00