Our Dynamic Dungeon project is moving along, and for this installment of the series, I am going to address several interesting concepts and techniques.

  • Creating custom entities so we can store our settings with the map.
  • Creating dialogs to change settings. Here I also show how we can use owner-drawn lists to draw comboboxes with previews of the fill from the map. We’ll also create macro versions of the settings commands.
  • Accessing the drawing InfoBlock to find fills.
  • Making sure our tool stop at the map border, the same way that CC3+’s drawing tools does.

I am including the interesting bits of code right here in the article, but I have made minor changes all over the code from the previous articles to accommodate some of the new features from this article, so don’t forget to download the complete project from the link at the end of this article.

To be able to follow this article series, you should have read my earlier articles in the series.

As with the previous installments, here is a short video showing our results so far.

Continue reading »