Mercurial > wow > mylilpony
changeset 15:21764271e02f
Updated addon versioning to automatically update with repo revision.
author | syzler |
---|---|
date | Sun, 10 Apr 2011 07:30:01 +0000 |
parents | b1e344c17ab5 |
children | 452b804e6241 |
files | MyLilPony.lua MyLilPony.toc MyLilPony.xml libMyLilPony/libMyLilPony.lua libMyLilPony/libMyLilPony_miscFunctions.lua libMyLilPony/libMyLilPony_mountData.lua libMyLilPony/libMyLilPony_mountFunctions.lua libMyLilPony/readme.txt readme.txt |
diffstat | 9 files changed, 61 insertions(+), 8 deletions(-) [+] |
line wrap: on
line diff
--- 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";
--- 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
--- 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 @@ <!-- - MyLilPony Copyright (c) 2011, Syzler All rights reserved. @@ -30,6 +29,14 @@ 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@ + -- + -- Trigger load frame +--> <Ui xmlns="http://www.blizzard.com/wow/ui/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.blizzard.com/wow/ui/ ..\FrameXML\UI.xsd"> <Frame name="MyLilPonyFrame" hidden="false">
--- 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;
--- 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.
--- 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
--- 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.
--- 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
--- 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