Skip to content

Commit

Permalink
Bump to v1.3.0, autocalculate internal plugin version
Browse files Browse the repository at this point in the history
  • Loading branch information
scarletcafe committed Jul 15, 2019
1 parent f327969 commit 7787e4c
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 18 deletions.
9 changes: 1 addition & 8 deletions InvEqui.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -23,14 +23,7 @@
#include "AEGP_SuiteHandler.h"

#include "InvEqui_Strings.hpp"

/* Versioning information */

#define MAJOR_VERSION 1
#define MINOR_VERSION 2
#define BUG_VERSION 0
#define STAGE_VERSION PF_Stage_DEVELOP
#define BUILD_VERSION 1
#include "Meta.hpp"

enum {
INVEQUI_INPUT = 0,
Expand Down
16 changes: 6 additions & 10 deletions InvEquiPiPL.r
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@
#include <AE_General.r>
#endif

#include "Meta.hpp"

resource 'PiPL' (16000) {
{ /* array properties: 12 elements */
/* [1] */
Expand All @@ -13,11 +15,11 @@ resource 'PiPL' (16000) {
},
/* [2] */
Name {
"Inverse Equirectangular"
AE_INVEQUI_PLUGIN_NAME
},
/* [3] */
Category {
"Devon's Plug-ins"
AE_INVEQUI_PLUGIN_CATEGORY
},
#ifdef AE_OS_WIN
#ifdef AE_PROC_INTELx64
Expand All @@ -40,13 +42,7 @@ resource 'PiPL' (16000) {
},
/* [8] */
AE_Effect_Version {
589825
/*
MAJOR * 524288 +
MINOR * 32768 +
BUG * 2048 +
BUILD
*/
AE_INVEQUI_PLUGIN_VERSION
},
/* [9] */
AE_Effect_Info_Flags {
Expand All @@ -62,7 +58,7 @@ resource 'PiPL' (16000) {
},
/* [11] */
AE_Effect_Match_Name {
"GORIALIS InvEquirectangular"
AE_INVEQUI_PLUGIN_IDENTIFIER
},
/* [12] */
AE_Reserved_Info {
Expand Down
13 changes: 13 additions & 0 deletions Meta.hpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
#pragma once

#define MAJOR_VERSION 1
#define MINOR_VERSION 3
#define BUG_VERSION 0
#define STAGE_VERSION 0 // PF_Stage_DEVELOP
#define BUILD_VERSION 1


#define AE_INVEQUI_PLUGIN_NAME "Inverse Equirectangular"
#define AE_INVEQUI_PLUGIN_CATEGORY "Devon's Plug-ins"
#define AE_INVEQUI_PLUGIN_IDENTIFIER "GORIALIS InvEquirectangular"
#define AE_INVEQUI_PLUGIN_VERSION MAJOR_VERSION * 524288 + MINOR_VERSION * 32768 + BUG_VERSION * 2048 + BUILD_VERSION

0 comments on commit 7787e4c

Please sign in to comment.