From 3ecde465534c93315a1f88430129e8400f4d9fe2 Mon Sep 17 00:00:00 2001 From: ultramage Date: Wed, 24 Oct 2007 12:14:18 +0000 Subject: * Cleaned up some messy guild code (more to come) * Cleaned up the mail code, no more pointless dynamic allocation * Added upgrade_svn11548.sql to convert the mail table to new format * Updated vs7 and vs6 project files * Increased the max. send buffer size to 5M since 1M is not enough * Please complain if something stops working ^^; git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@11571 54d463be-8e91-2dee-dedb-b68131a5f0ec --- src/common/mmo.h | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) (limited to 'src/common/mmo.h') diff --git a/src/common/mmo.h b/src/common/mmo.h index 2389264d9..171c6c3de 100644 --- a/src/common/mmo.h +++ b/src/common/mmo.h @@ -132,7 +132,7 @@ struct skill { struct global_reg { char str[32]; - char value[256]; // [zBuffer] + char value[256]; }; //Holds array of global registries, used by the char server and converter. @@ -247,12 +247,11 @@ struct mail_message { char send_name[NAME_LENGTH]; int dest_id; char dest_name[NAME_LENGTH]; - char title[MAIL_TITLE_LENGTH]; char body[MAIL_BODY_LENGTH]; unsigned char read; - unsigned int timestamp; + unsigned int timestamp; // marks when the message was sent int zeny; struct item item; @@ -261,10 +260,8 @@ struct mail_message { struct mail_data { short amount; bool changed, full; - + short unchecked, unread; struct mail_message msg[MAIL_MAX_INBOX]; - - short unchecked, unreaded; }; struct registry { @@ -292,8 +289,6 @@ struct guild_storage { struct item storage_[MAX_GUILD_STORAGE]; }; -struct map_session_data; - struct gm_account { int account_id; int level; @@ -319,6 +314,7 @@ struct party { struct party_member member[MAX_PARTY]; }; +struct map_session_data; struct guild_member { int account_id, char_id; short hair,hair_color,gender,class_,lv; -- cgit v1.2.3-60-g2f50