XPLM-Nim

X-Plane XPLM SDK wrapper


Keywords
X-Plane, XPLM, Plugin, SDK
License
BSD-3-Clause
Install
nimble install XPLM-Nim

Documentation

Nim X-Plane Plugin SDK wrapper

Based on X-Plane SDK Release 2.1.3 11/14/13 (http://www.xsquawkbox.net/xpsdk/).

XPLM wrapper installation

Using Nimble:

`$ nimble install XPLM-Nim`

Or cloning the git repo locally:

`$ git clone git@github.com:jpoirier/XPLM-Nim.git`

Just pass the package path (XPLM-Nim/src) explicitly when compiling
using the "--path:" option. See the XPLM_Test example below for details.

Build the XPLM_Test plugin example

If you installed the XPLM-Nim package using Nimble:

`$ nim c -d:release -d:useRealtimeGC -o:XPLM_Test.xpl XPLM_Test.nim`

If you cloned the XPLM-Nim package repo locally:

`$ nim c --path:../src -d:release -d:useRealtimeGC -o:XPLM_Test.xpl XPLM_Test.nim`

Now move the XPLM_Test.xpl plugin to your X-Plane 10/Resources/plugins folder.

Detailed Usage

View https://github.com/jpoirier/xplane-commviewer-plugin

Caveats

It's a work in progress.