summaryrefslogtreecommitdiff
path: root/src/common
diff options
context:
space:
mode:
authorzephyrus <zephyrus@54d463be-8e91-2dee-dedb-b68131a5f0ec>2008-03-02 19:07:14 +0000
committerzephyrus <zephyrus@54d463be-8e91-2dee-dedb-b68131a5f0ec>2008-03-02 19:07:14 +0000
commitc90e9f42da90183a0be9c29a11beec7db606d44f (patch)
tree0bfb8fd5236a12e24006dfb511eb7448e27bc8b4 /src/common
parent767b08018e035e1d04e7d83ea923a146626761f0 (diff)
downloadhercules-c90e9f42da90183a0be9c29a11beec7db606d44f.tar.gz
hercules-c90e9f42da90183a0be9c29a11beec7db606d44f.tar.bz2
hercules-c90e9f42da90183a0be9c29a11beec7db606d44f.tar.xz
hercules-c90e9f42da90183a0be9c29a11beec7db606d44f.zip
- New optimizations for mail system and adjust to use it on Auctions.
- Added a Sql patch to clear all deleted mails. (There is no need to keep that data) - Added more code for Auctions. Not implemented but just for study. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@12278 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/common')
-rw-r--r--src/common/mmo.h8
1 files changed, 2 insertions, 6 deletions
diff --git a/src/common/mmo.h b/src/common/mmo.h
index dc5931166..2ffcc33c8 100644
--- a/src/common/mmo.h
+++ b/src/common/mmo.h
@@ -244,9 +244,6 @@ enum mail_status {
MAIL_NEW,
MAIL_UNREAD,
MAIL_READ,
- MAIL_DELETED,
- MAIL_RETURNED,
- MAIL_INVALID,
};
struct mail_message {
@@ -283,9 +280,8 @@ struct auction_data {
unsigned short hours;
unsigned int price, buynow;
- unsigned int timestamp;
-
- bool changed; // To know if data have been changed for save
+ unsigned int timestamp; // auction's end time
+ int auction_end_timer;
};
struct registry {