Quantcast WoWInterface: SVN - HolidayFun - Path Comparison - / Rev 2 and / Rev 3

WoWInterface SVN HolidayFun

Compare Revisions

  • This comparison shows the changes necessary to convert path
    /
    from Rev 2 to Rev 3
    Reverse comparison

Rev 2 → Rev 3

trunk/Holiday Fun/Holiday Fun.toc
1,7 → 1,7
## Interface: 30300
## Interface: 50100
## Title: Holiday Fun!
## Author: Seerah
## Version: 1.0
## Version: 1.1
## Notes: Get in the holiday spirit with a Christmas themed UI!
## SavedVariables: HolidayFunDB
 
trunk/Holiday Fun/holiday.lua
116,13 → 116,13
 
lightsframeleft:Show() --ready to start OnUpdate now if db.lightsOn == true
 
PlaySoundFile("Interface\\AddOns\\Holiday Fun\\media\\hohoho.wav")
PlaySoundFile("Interface\\AddOns\\Holiday Fun\\media\\hohoho.ogg")
if db.musicOn then
local count = 0 --this count var is local to only this scope(?)
f:SetScript("OnUpdate", function(self,elapsed)
count = count + elapsed
if count >= 3 and not musicplayed then --music gets overwritten by zone music if not delayed at login
PlayMusic("Interface\\AddOns\\Holiday Fun\\media\\CarolBells.wav")
PlayMusic("Interface\\AddOns\\Holiday Fun\\media\\CarolBells.ogg")
musicplayed = true
if not db.playOnce then --if db.playOnce == false then stop OnUpdate from counting, keeping the music looping
f:Hide()
191,7 → 191,7
print("|cff78AB46Holiday Fun!:|r Loop music set to on. 'Carol of the Bells' will play continuously.")
end
elseif arg == "playmusic" then
PlayMusic("Interface\\AddOns\\Holiday Fun\\media\\CarolBells.wav")
PlayMusic("Interface\\AddOns\\Holiday Fun\\media\\CarolBells.ogg")
print("|cff78AB46Holiday Fun!:|r Now playing 'Carol of the Bells' - if you have music set to loop in your sound options, this will play continuously. Type '/holidayfun stopmusic' to stop the song from playing.")
elseif arg == "stopmusic" then
StopMusic()
trunk/Holiday Fun/media/CarolBells.wav Cannot display: file marked as a binary type. svn:mime-type = application/octet-stream
trunk/Holiday Fun/media/hohoho.wav Cannot display: file marked as a binary type. svn:mime-type = application/octet-stream
trunk/Holiday Fun/media/CarolBells.ogg Cannot display: file marked as a binary type. svn:mime-type = application/octet-stream Property changes : Added: svn:mime-type + application/octet-stream
trunk/Holiday Fun/media/hohoho.ogg Cannot display: file marked as a binary type. svn:mime-type = application/octet-stream Property changes : Added: svn:mime-type + application/octet-stream