summaryrefslogtreecommitdiff
path: root/src/resources/questdb.h
AgeCommit message (Collapse)AuthorFilesLines
2025-07-14Fix quests window destruction and add QuestDB::initThorbjørn Lindeijer1-0/+1
The init call makes sure there are no quests loaded, which is necessary because `SettingsManager::unload` is only called on exit and not when switching servers. Closes #112
2025-07-02Implemented effects for new and completed questsThorbjørn Lindeijer1-0/+9
2025-07-02Added Quests windowThorbjørn Lindeijer1-1/+16
This window gives an overview over completed and currently active quests. A persistent checkbox toggles whether completed quests are shown. Item links are supported in quest texts. New window icon by meway. Completed quest icon for Mana theme copied from ManaPlus. The Quests window has no shortcut for now.
2025-06-23Apply quest effects to NPCsThorbjørn Lindeijer1-2/+39
The `TmwAthena::PlayerHandler` now handles the quest variables and applies the active quest effects to NPCs. They are updated when variables change or the map changes.
2025-06-17Add quest database support and parsing utilitiesThorbjørn Lindeijer1-0/+77
- Introduce QuestDB with quest/effect structures and XML parsing - Register questdb in CMake and settings manager - Add fromString overload for std::vector<int> parsing