summaryrefslogtreecommitdiff
path: root/src/common/mmo.hpp
diff options
context:
space:
mode:
authorBen Longbons <b.r.longbons@gmail.com>2012-12-12 22:36:08 -0800
committerBen Longbons <b.r.longbons@gmail.com>2012-12-12 22:36:08 -0800
commit608f959900968e83fd25231c72308fc608742dd5 (patch)
tree33a250f00947d7c83ba50779da466b5f5885db9f /src/common/mmo.hpp
parentd8e5c96fbbed5d526dd77d2e427bcb3090bddd58 (diff)
downloadtmwa-608f959900968e83fd25231c72308fc608742dd5.tar.gz
tmwa-608f959900968e83fd25231c72308fc608742dd5.tar.bz2
tmwa-608f959900968e83fd25231c72308fc608742dd5.tar.xz
tmwa-608f959900968e83fd25231c72308fc608742dd5.zip
Remove guilds, finally
If anyone in the future wonders why I did this, just look at how many lines of code this eliminates.
Diffstat (limited to 'src/common/mmo.hpp')
-rw-r--r--src/common/mmo.hpp126
1 files changed, 1 insertions, 125 deletions
diff --git a/src/common/mmo.hpp b/src/common/mmo.hpp
index 151fa03..45f86cf 100644
--- a/src/common/mmo.hpp
+++ b/src/common/mmo.hpp
@@ -26,15 +26,7 @@
# define MIN_WALK_SPEED 0
# define MAX_WALK_SPEED 1000
# define MAX_STORAGE 300
-# define MAX_GUILD_STORAGE 1000
# define MAX_PARTY 12
-# define MAX_GUILD 120 // increased max guild members to accomodate for +2 increase for extension levels [Valaris] (removed) [PoW]
-# define MAX_GUILDPOSITION 20 // increased max guild positions to accomodate for all members [Valaris] (removed) [PoW]
-# define MAX_GUILDEXPLUSION 32
-# define MAX_GUILDALLIANCE 16
-# define MAX_GUILDSKILL 8
-# define MAX_GUILDCASTLE 24 // increased to include novice castles [Valaris]
-# define MAX_GUILDLEVEL 50
# define MIN_HAIR_STYLE battle_config.min_hair_style
# define MAX_HAIR_STYLE battle_config.max_hair_style
@@ -100,7 +92,7 @@ struct mmo_charstatus
int hp, max_hp, sp, max_sp;
short option, karma, manner;
short hair, hair_color, clothes_color;
- int party_id, guild_id;
+ int party_id;
short weapon, shield;
short head_top, head_mid, head_bottom;
@@ -133,15 +125,6 @@ struct storage
struct item storage_[MAX_STORAGE];
};
-struct guild_storage
-{
- int dirty;
- int guild_id;
- short storage_status;
- short storage_amount;
- struct item storage_[MAX_GUILD_STORAGE];
-};
-
struct map_session_data;
struct gm_account
@@ -167,117 +150,10 @@ struct party
struct party_member member[MAX_PARTY];
};
-struct guild_member
-{
- int account_id, char_id;
- short hair, hair_color, gender, pc_class, lv;
- int exp, exp_payper;
- short online, position;
- int rsv1, rsv2;
- char name[24];
- struct map_session_data *sd;
-};
-
-struct guild_position
-{
- char name[24];
- int mode;
- int exp_mode;
-};
-
-struct GuildAlliance
-{
- int opposition;
- int guild_id;
- char name[24];
-};
-
-struct GuildExpulsion
-{
- char name[24];
- char mes[40];
- char acc[40];
- int account_id;
- int rsv1, rsv2, rsv3;
-};
-
-struct guild_skill
-{
- int id, lv;
-};
-
-struct guild
-{
- int guild_id;
- short guild_lv, connect_member, max_member, average_lv;
- int exp, next_exp, skill_point, castle_id;
- char name[24], master[24];
- struct guild_member member[MAX_GUILD];
- struct guild_position position[MAX_GUILDPOSITION];
- char mes1[60], mes2[120];
- int emblem_len, emblem_id;
- char emblem_data[2048];
- GuildAlliance alliance[MAX_GUILDALLIANCE];
- GuildExpulsion explusion[MAX_GUILDEXPLUSION];
- struct guild_skill skill[MAX_GUILDSKILL];
-};
-
-struct guild_castle
-{
- int castle_id;
- char map_name[24];
- char castle_name[24];
- char castle_event[24];
- int guild_id;
- int economy;
- int defense;
- int triggerE;
- int triggerD;
- int nextTime;
- int payTime;
- int createTime;
- int visibleC;
- int visibleG0;
- int visibleG1;
- int visibleG2;
- int visibleG3;
- int visibleG4;
- int visibleG5;
- int visibleG6;
- int visibleG7;
- int Ghp0; // added Guardian HP [Valaris]
- int Ghp1;
- int Ghp2;
- int Ghp3;
- int Ghp4;
- int Ghp5;
- int Ghp6;
- int Ghp7;
- int GID0;
- int GID1;
- int GID2;
- int GID3;
- int GID4;
- int GID5;
- int GID6;
- int GID7; // end addition [Valaris]
-};
struct square
{
int val1[5];
int val2[5];
};
-enum
-{
- GBI_EXP = 1, // ギルドのEXP
- GBI_GUILDLV = 2, // ギルドのLv
- GBI_SKILLPOINT = 3, // ギルドのスキルポイント
- GBI_SKILLLV = 4, // ギルドスキルLv
-
- GMI_POSITION = 0, // メンバーの役職変更
- GMI_EXP = 1, // メンバーのEXP
-
-};
-
#endif // MMO_HPP