View Single Post
  #7  
Old 11-14-2002, 04:39 AM
Windcatcher
Demi-God
 
Join Date: Jan 2002
Posts: 1,175
Default

The actual deletion is pretty instant. The time comes from reloading the spawn information so it can redraw the map. It has to find all spawns for that zone only, then go through them one at a time to calculate the screen coordinates for the little red dots. That in and of itself wouldn't take too much time, if not for the fact that the drop-downs are hooked into the query result set as well, and therefore are changing their lookuip tables' current records on the fly (not the data, just the record to which they point, but it still takes some time).

Because the process is so time-consuming, the map X,Y coords are NOT recalculated when a spawn is moved. For instance, if you change a record's X coordinate, the red dot's screen coordinates won't change on the map, even if you zoom in or out. Only deleting a record or changing the zone updates it.

One possibility might be to disable the drop-downs during the reloading process, and then re-enable them once that has finished. I don't know if that will work, but I'll try to remember to look into it.

The next version will have an additional checkbox that lets you display the locations of all the door spawns on the map. They are shown as blue dots, and hovering the mouse over one shows it's "name" in the blue label. At the present time you can't select one, but I'm working on that...
Reply With Quote