File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed
Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change 1515#include " objdat.h"
1616#include " textdat.h"
1717#include " towners.h"
18+ #include " utils/attributes.h"
1819
1920namespace devilution {
2021
@@ -35,7 +36,7 @@ struct TownerDataEntry {
3536};
3637
3738/* * Contains the data for all towners loaded from TSV. */
38- extern std::vector<TownerDataEntry> TownersDataEntries;
39+ extern DVL_API_FOR_TEST std::vector<TownerDataEntry> TownersDataEntries;
3940
4041/* * Contains the quest dialog table loaded from TSV. Indexed by [towner_type][quest_id]. */
4142extern std::unordered_map<_talker_id, std::array<_speech_id, MAXQUESTS>> TownerQuestDialogTable;
Original file line number Diff line number Diff line change 1919#include " levels/dun_tile.hpp"
2020#include " player.h"
2121#include " quests.h"
22+ #include " utils/attributes.h"
2223
2324namespace devilution {
2425
@@ -41,7 +42,7 @@ enum _talker_id : uint8_t {
4142};
4243
4344// Runtime mappings built from TSV data
44- extern std::unordered_map<_talker_id, std::string> TownerLongNames; // Maps towner type enum to display name
45+ extern DVL_API_FOR_TEST std::unordered_map<_talker_id, std::string> TownerLongNames; // Maps towner type enum to display name
4546
4647struct Towner {
4748 OptionalOwnedClxSpriteList ownedAnim;
You can’t perform that action at this time.
0 commit comments