PDA

View Full Version : LDON chests as darkyellow



Klandis
10-13-2003, 06:28 PM
I used to filter them [Hunt] until I went on the ldon raid with 250 chests, so liting them dark yellow (only unused basic color) now instead.



diff -u -r1.39 map.cpp
--- map.cpp 2 Oct 2003 04:00:34 -0000 1.39
+++ map.cpp 14 Oct 2003 00:36:23 -0000
@@ -3682,7 +3682,9 @@
// set pen to black
p.setPen(black);

- if (spawn->typeflag() == 65)
+ if(spawn->classVal() == 62)
+ p.setBrush(darkYellow);
+ else if (spawn->typeflag() == 65)
p.setBrush(magenta);
else
{

curio
12-15-2003, 02:09 PM
Can this functionality be added into the Beta v5? It looks like the spawn drawning stuff got moved into MapIcon.cpp.

Rather than hard coding it tho, it ALMOST looks like chests could be identified using the "Map Icon Config" dialog.

Perhaps if the list of supported Map Icons (currently listing stuff like Drop, Door, NPC, NPC Corpse, Spawn, etc) could pull from the user's collection of SpawnList Categories.

Here's one possible way I'd envision using this

+ Using the Spawnlist window, I'd make a category labeled "Chests" that contained all the "LDoN Objects".

+ Using the Map "Edit Map Icons" dialog, my newly created Category "Chests" would show up in the "Map Icon" dropdown menu. I'd then select the color, Icon and Highlight information for my LDON chests.