Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

#80 Edit spellbook in map edit mode

closed-accepted
None
5
2010-12-21
2010-11-25
Malignant Manor
No

This allows you to add and remove spells while in map edit mode. Spells have remove or add where the reagent count normally is. You double click on the spell to add or remove it. Also included is a picture showing it in action.

Spellbook_object *save_book = book;

Patch 1 uses save_book as the object in void Spellbook_gump::do_spell. Patch 2 uses book. The function call that was already using save_book doesn't seem to need it and neither do my additions.

Discussion

  • Patch 1, patch 2, and preview screenshot

     
    Attachments
    • assigned_to: nobody --> malignantmanor
    • status: open --> closed-accepted
     
  • I applied a slightly modified version of the patch.