Skip to content
The core logic for generating a BZFlag C++ plug-in source from JSON
TypeScript
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
src
.editorconfig
.gitattributes
.gitignore
.npmignore
.prettierrc
.travis.yml
LICENSE.md
README.md
index.ts
jest.config.js
package.json
tsconfig.json

README.md

bzfPluginGen

Build Status Coverage Status Latest release

Generating the skeleton of a BZFlag plug-in can be repetitive, mundane, tedious and synonyms. This library will be dedicated to generating a C++ plug-in skeleton given a JSON object following the IPlugin TypeScript interface.

There is no UI or CLI tool in this repo for you to run and test. If you are looking for a web-based UI, take a look at BZFlag Plug-in Starter v3.

Usage

The library has the PluginBuilder and PluginWriter classes for you to make use of.

  • The PluginBuilder is a helper class that will help you build the IPlugin interface programmatically and correctly.
  • The PluginWriter class takes an IPlugin object and provides a write() method to output the generated C++ code.

License

MIT

You can’t perform that action at this time.