Skip to content
JDeeth edited this page Mar 29, 2018 · 1 revision

The Plugin Patterns Library provides classes for common tasks with the XPLM SDK for the X-Plane flight simulator. It is provided under BSD license.

Questions, support and pull request are handled through http://forums.x-plane.org/index.php?showtopic=49958


Library contents

Sim interface

dataref.h Connects with existing datarefs

owneddata.h Creates new datarefs

processor.h Abstract base for flight-loop callbacks

logichandler.h Abstract class for XP > FLCB > custom dataref processing

sharedobject.h Passes large objects as binary data to/from datarefs

Utility

basics.h Maths utility functions

log.h Defines log messages

logwriter.h Writes log messages to file

pluginpath.h Platform-independent paths to various folders

settings.h For loading and saving settings in a .ini file

smoothed.h Superficial smoothing - returns average of the last n assigned values

User interface

messagewindow.h Displays pop-up message

onscreendisplay.h Draws a window on the screen

menuitem.h Adds item to plugin menu in X-Plane window

action.h Abstract base for menu items

Sound

alsoundbuffer.h Stores a sound file

alcontextmanager.h Manages the playing of sound buffers

alcontextchanger.h Changes AL context using RAII

3D

overlaygauge.h

texture.h

fontmgr.h Loads and maps fonts for drawing onto textures

vertexbuffer.hpp For storing objects in VRAM

Clone this wiki locally