This is an example plugin for BVE Trainsim, in a MinGW project. It is only a scaffolding for other, more complicated plugins to build upon, this is only a "hello, world".
It includes an example in C++ using the official header, and an example in
simple C with a custom header that follows closely the official one.
atsplugin_c.h
is free for anyone to use in their plugins.
This has been tested against BVE 4.2.1947.25355 and Windows XP (x86).
For more information on the BVE API, see the developer documentation on the official website.
- MinGW for i686
- POSIX compliant shell (optional)
wget
(optional, if you don't already haveatsplugin.h
in the root of the project)
This template is licensed under Creative Commons Zero. Feel free to learn from it and to incorporate it into your own projects.