summaryrefslogtreecommitdiff
path: root/src/common/mmo.h
diff options
context:
space:
mode:
authorultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec>2007-10-24 12:14:18 +0000
committerultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec>2007-10-24 12:14:18 +0000
commit3ecde465534c93315a1f88430129e8400f4d9fe2 (patch)
treefb1153e7be48da7d89b9697be733124650045fdf /src/common/mmo.h
parent04580084c4ac2113d06a23fdf2ca4596dd04011b (diff)
downloadhercules-3ecde465534c93315a1f88430129e8400f4d9fe2.tar.gz
hercules-3ecde465534c93315a1f88430129e8400f4d9fe2.tar.bz2
hercules-3ecde465534c93315a1f88430129e8400f4d9fe2.tar.xz
hercules-3ecde465534c93315a1f88430129e8400f4d9fe2.zip
* 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
Diffstat (limited to 'src/common/mmo.h')
-rw-r--r--src/common/mmo.h12
1 files changed, 4 insertions, 8 deletions
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;