Jason Watkins
96d1d68123
Added X-Plane SDK copyright notice to Drawing.cpp
2015-04-14 12:02:18 -07:00
Jason Watkins
c0e7c1af13
Fixed MATLAB client implementation of setConn.
2015-04-14 11:59:04 -07:00
Jason Watkins
74dc2d22ed
Cleaned up main file.
...
- Improved formatting in XPCPlugin.cpp to be consistent throughout the file.
- Formatted copyright and license notices to be consistent with the rest of the codebase.
- Replaced out of date documentation with a link to the GitHub wiki
- Moved the writing of the log header to the Log class and expanded it to include useful information.
- Updated Windows binaries
2015-04-14 11:46:48 -07:00
Jason Watkins
4927b6d1b8
Fixed Java client implementation of setCONN
...
- The Java client now reads the CONF message sent by the plugin in response to the CONN command.
2015-04-14 10:22:34 -07:00
Jason Watkins
fe88204b57
Fixed an issue where the recvaddr was not set on Windows
...
- Also improved logging in UDPSocket
- Resolves nasa/XPlaneConnect#39
2015-04-14 10:22:34 -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
Jason Watkins
6c51fa476e
Refactored dataref manipulation operations to the DataManager class.
2015-04-13 15:53:38 -07:00
Jason Watkins
547eb4de18
Refactored various message-related operations into the Message class.
...
- Replaces the XPCMessage struct.
- Messages are now read from a UDPSocket by the Message class.
- Printing messages to the log is now handled by the Message class.
- In the future, may extend this class with command-specific subclasses that encapsulate additional message parsing functionality.
2015-04-13 09:42:29 -07:00
Jason Watkins
2736cd86de
Refactored socket code into UDPSocket class.
2015-04-13 09:23:25 -07:00
Jason Watkins
aa74bc57f5
Refactored drawing code into Drawing class.
2015-04-12 11:09:27 -07:00
Jason Watkins
a3a82f4a71
Refactored logging functionality into Log class.
2015-04-12 11:09:19 -07:00
Jason Watkins
be9252ce25
Updated Readmes.
...
- Moved all information in Readme.txt into README.md.
- Deleted Readme.txt.
- Updated README.md to refer users to the XPC wiki for detailed information.
2015-04-11 09:13:45 -07:00
Chris Teubert
cf56955756
Removed Non-relevant copyright notice
...
This file doesn’t use the X-Plane API
2015-04-09 16:35:44 -07:00
Christopher Teubert
c893706f72
Merge pull request #47 from jason-watkins/feature/waypoints
...
Add support for rendering waypoints in the world
2015-04-09 13:13:00 -07:00
Chris Teubert
48007932e5
updated Mac Binary
2015-04-09 13:13:15 -07:00
Jason Watkins
edba5c18ec
Updated Windows binaries
2015-04-09 12:17:59 -07:00
Jason Watkins
cfeb01fc02
Added MATLAB client support for WYPT command.
2015-04-09 12:17:58 -07:00
Jason Watkins
2e05f57baf
Added Java client support for WYPT command.
2015-04-09 12:17:53 -07:00
Jason Watkins
6417822a75
Added C test for WYPT command and fixed bugs in parseWYPT and sendWYPT.
2015-04-09 12:17:52 -07:00
Jason Watkins
1a83517bee
Implemented plugin support for handling WYPT commands.
2015-04-09 12:17:41 -07:00
Jason Watkins
8fed5d916c
Updated Interface Control Document to reflect updated TEXT and WYPT commands.
2015-04-09 09:06:24 -07:00
Jason Watkins
97eb023df6
Added waypoint support to the plugin.
...
- The plugin now supports drawing a series of waypoints in the world.
- The plugin supports add, remove, and clear operations
- Add and remove take a list of waypoints
- Clear removes all waypoints
2015-04-09 09:06:18 -07:00
Jason Watkins
001d5fd2d4
Quick fix to installation instructions in User Guide (C).txt
2015-04-08 09:37:19 -07:00
Christopher Teubert
b1f7c89d02
Merge pull request #46 from jason-watkins/feature/print-to-screen
...
Add the ability to print messages on screen
2015-04-08 09:26:50 -07:00
Chris Teubert
335570f34f
Updated C User Guide
2015-04-08 09:26:56 -07:00
Chris Teubert
354f51771e
Updated Mac Binary
2015-04-08 09:21:25 -07:00
Jason Watkins
c3e284fc02
Added support for newlines in TEXT command.
2015-04-08 09:13:57 -07:00
Chris Teubert
f8372f6f4d
Updates for Mac
2015-04-08 09:12:56 -07:00
Chris Teubert
10bf4d63ac
Small fixes
2015-04-08 09:12:56 -07:00
Chris Teubert
d18904bbe2
updates to Matlab Tests
2015-04-08 09:12:56 -07:00
Chris Teubert
efc591ead4
Added missing return
2015-04-08 09:12:56 -07:00
Chris Teubert
1fd92edb02
Added missing #include's
2015-04-08 09:12:56 -07:00
Chris Teubert
b7dfb8ec3e
Bug fix
...
Fixed function prototype in header (didn’t match source file)
2015-04-08 09:12:56 -07:00
Jason Watkins
1fb7a81336
Changed the draw phase of text messages to a more appropriate phase.
2015-04-07 16:26:56 -07:00
Jason Watkins
8445c60e00
Added support for the TEXT command to the MATLAB client
2015-04-07 15:33:53 -07:00
Jason Watkins
a903859a3c
Added support for the TEXT command to the Java client.
2015-04-07 15:33:53 -07:00
Jason Watkins
46913596c5
Added support for the TEXT command to the C client.
2015-04-07 15:33:46 -07:00
Jason Watkins
453ea65619
Added plugin support for drawing messages to screen.
...
- Either a single string will be drawn to screen, or nothing will be drawn.
- Intelligently registers and unregisters drawing callback to minimize overhead when no message is being displayed.
- Currently does not support newline characters (\r or \n). Newlines will cause text to be drawn overlapped.
2015-04-07 15:33:38 -07:00
Christopher Teubert
38ae9e699d
Merge pull request #44 from jason-watkins/feature/sendCTRL
...
Add support for multiplayer aircraft to sendCTRL
2015-04-07 11:20:02 -07:00
Chris Teubert
82abd8e712
updated mac plugin
2015-04-07 11:20:14 -07:00
Jason Watkins
a1b3d91964
Updated Windows plugin binaries
2015-04-07 10:43:40 -07:00
Jason Watkins
15df14d334
Added multiplayer sendCTRL support to MATLAB client
...
- Also fixed a bug in the message format where gear was sent as a single rather than a byte.
2015-04-07 10:43:40 -07:00
Jason Watkins
1f81a4e54d
Added Java client support for multiplayer sendCTRL
2015-04-07 10:43:39 -07:00
Jason Watkins
abf2a426d2
Added C client support for multiplayer sendCTRL commands.
2015-04-07 10:43:39 -07:00
Jason Watkins
79f632f9a3
Updated handleCTRL to support multiple aircraft.
...
- Resolves #12
2015-04-07 10:43:26 -07:00
Jason Watkins
a05ddb42be
Modified parseCTRL and readCTRL to return a struct.
...
- Defined a new struct that contains the information sent by the CTRL command
- Added some additional validation to parseCTRL.
- Changed the return type of parseCTRL and removed now redundant pointer parameters.
- Propagated return type change throughout the plugin code base.
2015-04-07 10:38:57 -07:00
Jason Watkins
04166d3bac
Expanded multiplayer DREF list to include more DREFs for non-player aircraft.
2015-04-07 10:38:37 -07:00
Jason Watkins
3825259603
Fixed .gitignore rules for IntelliJ
...
- All excluded IntelliJ files are now ignored, regardless of path.
2015-04-07 09:22:43 -07:00
Jason Watkins
42b9ee15c9
Removed unnecessary project file from Java example.
2015-04-07 08:45:44 -07:00
Jason Watkins
9d3e961a2f
Fixed bugs in C tests.
...
- math.h was not correctly included.
- the return value of sendCTRLtest sometimes incorrectly reported success.
2015-04-07 08:21:06 -07:00