From a74a4d84f33e7df32e5dcc6e94ebf1feab208967 Mon Sep 17 00:00:00 2001 From: James Whitehead II Date: Wed, 19 Jan 2011 13:58:16 +0000 Subject: [PATCH] Clarify that license is in fact All Rights Reserved, as it has always been --- TomTom.lua | 12 +++++++----- TomTom.toc | 1 + 2 files changed, 8 insertions(+), 5 deletions(-) diff --git a/TomTom.lua b/TomTom.lua index b0ab094..2f47869 100755 --- a/TomTom.lua +++ b/TomTom.lua @@ -1,5 +1,7 @@ --[[-------------------------------------------------------------------------- -- TomTom by Cladhaire +-- +-- All Rights Reserved ----------------------------------------------------------------------------]] -- Simple localization table for messages @@ -289,7 +291,7 @@ function TomTom:ReloadWaypoints() persistent = waypoint.persistent, minimap = minimap, world = world, - custom_callbacks = nil, + callbacks = nil, silent = true, }) end @@ -782,7 +784,7 @@ function TomTom:AddWaypoint(x, y, desc, persistent, minimap, world, silent) return self:AddZWaypoint(c, z, x, y, desc, persistent, minimap, world, nil, silent) end -function TomTom:AddZWaypoint(c, z, x, y, desc, persistent, minimap, world, custom_callbacks, silent, crazy) +function TomTom:AddZWaypoint(c, z, x, y, desc, persistent, minimap, world, callbacks, silent, crazy) -- Convert the c,z,x,y tuple to m,f,x,y and pass the work off to AddMFWaypoint() local mapId, floor = astrolabe:GetMapID(c, z) if not mapId then @@ -794,7 +796,7 @@ function TomTom:AddZWaypoint(c, z, x, y, desc, persistent, minimap, world, custo persistent = persistent, minimap = minimap, world = world, - custom_callbacks = custom_callbacks, + callbacks = callbacks, silent = silent, crazy = crazy, }) @@ -804,8 +806,8 @@ function TomTom:AddMFWaypoint(m, f, x, y, opts) opts = opts or {} local callbacks - if opts.custom_callbacks then - callbacks = opts.custom_callbacks + if opts.callbacks then + callbacks = opts.callbacks else callbacks = { minimap = { diff --git a/TomTom.toc b/TomTom.toc index ed93b19..3ba6bd4 100755 --- a/TomTom.toc +++ b/TomTom.toc @@ -2,6 +2,7 @@ ## Title: TomTom ## Author: jnwhiteh ## Version: @project-version@ +## License: All Rights Reserved ## Notes: Acts as your portable navigation assistant ## Notes-zhCN:一个简单的导航助手。 ## Notes-ruRU: Удобный портативный навигатор по игровой карте -- 1.7.9.5