plugin versioning

General announcements relating to the modularized MacroQuest2 system.

Moderator: MacroQuest Developers

User avatar
dont_know_at_all
Developer
Developer
Posts: 5450
Joined: Sun Dec 01, 2002 4:15 am
Location: Florida, USA
Contact:

plugin versioning

Post by dont_know_at_all » Mon Feb 13, 2006 1:45 am

Code: Select all

/echo ${Plugin[mq2map].Version}
[MQ2] 1.00
Plugins can now be versioned. I'm hoping this is a good thing. Macro writers, plugins need not be backwards compatible, so an inequality might not be that useful. Plugin writers, please update the version when there are functional changes.

Version numbers are a float controlled by the PLUGIN_VERSION(X) macro, which should have global scope:

Code: Select all

#include "../MQ2Plugin.h"

PLUGIN_VERSION(1.1);
If this macro is missing, the plugin is version 1.0.