summaryrefslogtreecommitdiff
path: root/src/map/pc.h
diff options
context:
space:
mode:
authorHaru <haru@dotalux.com>2018-07-28 03:21:42 +0200
committerGitHub <noreply@github.com>2018-07-28 03:21:42 +0200
commit621611e6e90af0c5551b4daca75ba1267d8e8478 (patch)
tree92ca087267778474df4c3589e22ec801f4c34622 /src/map/pc.h
parent164e79976b926da35612ce28cf84ebd9c2ac3d3e (diff)
parent7f5b041efd88bae052c98e1bd1c5e28676c73272 (diff)
downloadhercules-621611e6e90af0c5551b4daca75ba1267d8e8478.tar.gz
hercules-621611e6e90af0c5551b4daca75ba1267d8e8478.tar.bz2
hercules-621611e6e90af0c5551b4daca75ba1267d8e8478.tar.xz
hercules-621611e6e90af0c5551b4daca75ba1267d8e8478.zip
Merge pull request #2067 from dastgirp/1-achievement
Implemented Achievement System and Title System
Diffstat (limited to 'src/map/pc.h')
-rw-r--r--src/map/pc.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/map/pc.h b/src/map/pc.h
index 0781fe801..17a9b8200 100644
--- a/src/map/pc.h
+++ b/src/map/pc.h
@@ -37,7 +37,7 @@
#include "common/db.h"
#include "common/ers.h" // struct eri
#include "common/hercules.h"
-#include "common/mmo.h" // JOB_*, MAX_FAME_LIST, struct fame_list, struct mmo_charstatus, NEW_CARTS
+#include "common/mmo.h" // JOB_*, MAX_FAME_LIST, struct fame_list, struct mmo_charstatus, NEW_CARTS, struct s_achievement
/**
* Defines
@@ -631,6 +631,12 @@ END_ZEROED_BLOCK;
unsigned sitstand : 1;
unsigned commands : 1;
} block_action;
+
+ /* Achievement System */
+ struct char_achievements achievement;
+ bool achievements_received;
+ // Title
+ VECTOR_DECL(int) title_ids;
};
#define EQP_WEAPON EQP_HAND_R