WoWInterface - View Single Post - 3rd Party Addon Interface to Carbonite Update?
View Single Post
11-01-10, 05:34 PM   #2
A Pyroguard Emberseer
carboniteaddon's Avatar
AddOn Author - Click to view addons
Join Date: Feb 2008
Posts: 2,245
I read it all. We have no problem with you trying to draw stuff on the map, but would like you to do it through the public API functions, so internal changes don't break your code.

These functions were added for RareSeeker a few years ago and should still work:

function Nx.MapMinimapOwned()
function Nx.MapInitIconType (iconType, drawMode)
function Nx.MapAddIconPoint (iconType, mapName, x, y, texture)
function Nx.MapAddIconRect (iconType, mapName, x, y, x2, y2, color)
function Nx.MapSetIconTip (icon, tip)

The code you are calling is similar to these functions, but appears you are using more functions and parameters.

Since I just released 4.013 yesterday and am now working on 4.03 for WoW 4.0.3, this is not a good time for me to make the changes.

If you make a simple list of all Carbonite API functions you are calling and the types of parameters you are passing each, I can modify the existing public functions and add new ones to do what you need. This would probably have to be done after all the other map changes I need to make for WoW 4.0.3.