summaryrefslogtreecommitdiff
path: root/include/pso
diff options
context:
space:
mode:
authormrb0nk500 <b0nk@b0nk.xyz>2023-03-03 14:59:27 -0400
committermrb0nk500 <b0nk@b0nk.xyz>2023-03-03 14:59:27 -0400
commit9634309c46742c13cbd198b223fe5301dab53632 (patch)
treebff7f3396fb4cc813e581ad9633511af33e91d37 /include/pso
parent0799a0377ad850ef5f140dfa6098302115548712 (diff)
TMenuList, TPlyGuildCardTag: Add constructors
Diffstat (limited to 'include/pso')
-rw-r--r--include/pso/TMenuList.h2
-rw-r--r--include/pso/TPlyGuildCardTag.h3
2 files changed, 5 insertions, 0 deletions
diff --git a/include/pso/TMenuList.h b/include/pso/TMenuList.h
index 54ca441..af71a87 100644
--- a/include/pso/TMenuList.h
+++ b/include/pso/TMenuList.h
@@ -13,6 +13,8 @@ class TMenuListEntry : public TPlyGuildCardTag {
public:
T entry;
+ TMenuListEntry() : TPlyGuildCardTag() {};
+
void bswap();
void assign(const TMenuListEntry &src);
diff --git a/include/pso/TPlyGuildCardTag.h b/include/pso/TPlyGuildCardTag.h
index 815685d..5808e56 100644
--- a/include/pso/TPlyGuildCardTag.h
+++ b/include/pso/TPlyGuildCardTag.h
@@ -13,6 +13,9 @@ struct gc_tag {
class TPlyGuildCardTag {
public:
+ TPlyGuildCardTag();
+ TPlyGuildCardTag(u16 tag2, u32 guildcard_number);
+
void bswap();
void assign(const TPlyGuildCardTag &src);
void assign(const TPlyGuildCardTag *src);