# HG changeset patch # User syzler # Date 1302420601 0 # Node ID 21764271e02fd4d91b4d975993201197b0973b85 # Parent b1e344c17ab55d6f92ef7cbb813c02eadd9a6f22 Updated addon versioning to automatically update with repo revision. diff -r b1e344c17ab5 -r 21764271e02f MyLilPony.lua --- a/MyLilPony.lua Sun Apr 10 07:12:30 2011 +0000 +++ b/MyLilPony.lua Sun Apr 10 07:30:01 2011 +0000 @@ -1,4 +1,3 @@ --- MyLilPony -- Copyright (c) 2011, Syzler -- All rights reserved. -- @@ -29,6 +28,15 @@ -- ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE -- POSSIBILITY OF SUCH DAMAGE. +------------------------------------------------------------------------ +-- Project: MyLilPony +-- Project Version: @project-version@ +-- Last Author: @file-author@ +-- Last Updated: @file-date-iso@ +-- +-- Main addon code +------------------------------------------------------------------------ + function MyLilPony.OnLoad() SlashCmdList["MyLilPony"] = MyLilPony.SlashHandler; SLASH_MyLilPony1 = "/pony"; diff -r b1e344c17ab5 -r 21764271e02f MyLilPony.toc --- a/MyLilPony.toc Sun Apr 10 07:12:30 2011 +0000 +++ b/MyLilPony.toc Sun Apr 10 07:30:01 2011 +0000 @@ -1,11 +1,11 @@ ## Interface: 40000 ## Title: MyLilPony -## Version: 1.1.@project-revision@ +## Version: @project-version@ ## Author: Syzler ## License: BSD ## Notes: Configuration-free summon mount commands, including a simple all-in-one mount command. -# libMyLilPony 1.1.@project-revision@ +# libMyLilPony @project-version@ libMyLilPony\libMyLilPony.lua libMyLilPony\libMyLilPony_mountData.lua libMyLilPony\libMyLilPony_mountFunctions.lua @@ -13,4 +13,4 @@ # MyLilPony MyLilPony.lua -MyLilPony.xml \ No newline at end of file +MyLilPony.xml diff -r b1e344c17ab5 -r 21764271e02f MyLilPony.xml --- a/MyLilPony.xml Sun Apr 10 07:12:30 2011 +0000 +++ b/MyLilPony.xml Sun Apr 10 07:30:01 2011 +0000 @@ -1,5 +1,4 @@ + diff -r b1e344c17ab5 -r 21764271e02f libMyLilPony/libMyLilPony.lua --- a/libMyLilPony/libMyLilPony.lua Sun Apr 10 07:12:30 2011 +0000 +++ b/libMyLilPony/libMyLilPony.lua Sun Apr 10 07:30:01 2011 +0000 @@ -1,4 +1,3 @@ --- libMyLilPony -- Copyright (c) 2011, Syzler -- All rights reserved. -- @@ -29,10 +28,17 @@ -- ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE -- POSSIBILITY OF SUCH DAMAGE. +------------------------------------------------------------------------ +-- Project: libMyLilPony +-- Project Version: @project-version@ +-- Last Author: @file-author@ +-- Last Updated: @file-date-iso@ +-- -- This file contains initial declarations for the library -- Make sure it loads first :P +------------------------------------------------------------------------ MyLilPony = {} -MYLILPONY_VERSION = "1.1.@project-revision@"; +MYLILPONY_VERSION = "@project-version@"; MYLILPONY_DEBUG_LOGGING = false; diff -r b1e344c17ab5 -r 21764271e02f libMyLilPony/libMyLilPony_miscFunctions.lua --- a/libMyLilPony/libMyLilPony_miscFunctions.lua Sun Apr 10 07:12:30 2011 +0000 +++ b/libMyLilPony/libMyLilPony_miscFunctions.lua Sun Apr 10 07:30:01 2011 +0000 @@ -1,4 +1,3 @@ --- libMyLilPony -- Copyright (c) 2011, Syzler -- All rights reserved. -- @@ -29,7 +28,14 @@ -- ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE -- POSSIBILITY OF SUCH DAMAGE. +------------------------------------------------------------------------ +-- Project: libMyLilPony +-- Project Version: @project-version@ +-- Last Author: @file-author@ +-- Last Updated: @file-date-iso@ +-- -- Misc helper functions used in the library +------------------------------------------------------------------------ --- Gets a hashtable of buffs on the specified unit. -- @param unit The unit frame name (e.g. "target", "player", "focus") of the unit whose buffs are to be retrieved. diff -r b1e344c17ab5 -r 21764271e02f libMyLilPony/libMyLilPony_mountData.lua --- a/libMyLilPony/libMyLilPony_mountData.lua Sun Apr 10 07:12:30 2011 +0000 +++ b/libMyLilPony/libMyLilPony_mountData.lua Sun Apr 10 07:30:01 2011 +0000 @@ -1,4 +1,3 @@ --- libMyLilPony -- Copyright (c) 2011, Syzler -- All rights reserved. -- @@ -29,7 +28,14 @@ -- ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE -- POSSIBILITY OF SUCH DAMAGE. +------------------------------------------------------------------------ +-- Project: libMyLilPony +-- Project Version: @project-version@ +-- Last Author: @file-author@ +-- Last Updated: @file-date-iso@ +-- -- Mount data table and API functions for checking type of mount +------------------------------------------------------------------------ local MyLilPony_Mounts = { -- standard ground mounts diff -r b1e344c17ab5 -r 21764271e02f libMyLilPony/libMyLilPony_mountFunctions.lua --- a/libMyLilPony/libMyLilPony_mountFunctions.lua Sun Apr 10 07:12:30 2011 +0000 +++ b/libMyLilPony/libMyLilPony_mountFunctions.lua Sun Apr 10 07:30:01 2011 +0000 @@ -1,4 +1,3 @@ --- libMyLilPony -- Copyright (c) 2011, Syzler -- All rights reserved. -- @@ -29,7 +28,14 @@ -- ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE -- POSSIBILITY OF SUCH DAMAGE. +------------------------------------------------------------------------ +-- Project: libMyLilPony +-- Project Version: @project-version@ +-- Last Author: @file-author@ +-- Last Updated: @file-date-iso@ +-- -- API functions for calling mounts +------------------------------------------------------------------------ --- Summons a random mount. -- Does nothing if the only available mount is already summoned. diff -r b1e344c17ab5 -r 21764271e02f libMyLilPony/readme.txt --- a/libMyLilPony/readme.txt Sun Apr 10 07:12:30 2011 +0000 +++ b/libMyLilPony/readme.txt Sun Apr 10 07:30:01 2011 +0000 @@ -1,4 +1,3 @@ -libMyLilPony Copyright (c) 2011, Syzler All rights reserved. @@ -30,13 +29,18 @@ POSSIBILITY OF SUCH DAMAGE. ===================================================================== + Project: libMyLilPony + Project Version: @project-version@ + Last Project Author: @project-author@ + Last Project Updated: @project-date-iso@ +===================================================================== To use libMyLilPony in your own addon, add the following lines to your TOC *in this order*, before you add any scripts that will call libMyLilPony. Adjust the path if necessary - the following case assumes you put the library in a subfolder called libMyLilPony -# libMyLilPony 1.1.@project-revision@ +# libMyLilPony @project-version@ libMyLilPony\libMyLilPony.lua libMyLilPony\libMyLilPony_mountData.lua libMyLilPony\libMyLilPony_mountFunctions.lua diff -r b1e344c17ab5 -r 21764271e02f readme.txt --- a/readme.txt Sun Apr 10 07:12:30 2011 +0000 +++ b/readme.txt Sun Apr 10 07:30:01 2011 +0000 @@ -1,4 +1,3 @@ -MyLilPony Copyright (c) 2011, Syzler All rights reserved. @@ -30,7 +29,13 @@ POSSIBILITY OF SUCH DAMAGE. ===================================================================== + Project: MyLilPony + Project Version: @project-version@ + Last Project Author: @project-author@ + Last Project Updated: @project-date-iso@ +===================================================================== +MyLilPony @project-version@ Command Help (/mylilpony, /pony, /mlp) /mylilpony auto - Summons a "suitable" mount /mylilpony random - Summons random mount