questinfo requirement update (#4168)

* The <quest ID> is now removed, all the conditions are handled by a <condition> argument. The <condition> is using the achievement_check_condition (like in achievement_db.yml) so any condition (in theory) can be used to display the icon.
* A new script command has been added to refresh the bubble for the given player anytime.

Thanks to @aleos89 and @secretdataz for the review!
This commit is contained in:
Atemo
2019-10-06 17:15:46 +02:00
committed by GitHub
parent df6385fd4a
commit b412c4fcab
20 changed files with 553 additions and 836 deletions

View File

@@ -384,7 +384,7 @@ enum petinfo_types {
PETINFO_FOODID
};
enum questinfo_types {
enum e_questinfo_types {
QTYPE_QUEST = 0,
QTYPE_QUEST2,
QTYPE_JOB,
@@ -402,6 +402,14 @@ enum questinfo_types {
QTYPE_NONE = 9999
};
enum e_questinfo_markcolor : uint8 {
QMARK_NONE = 0,
QMARK_YELLOW,
QMARK_GREEN,
QMARK_PURPLE,
QMARK_MAX
};
#ifndef WIN32
// These are declared in wingdi.h
/* Font Weights */