summaryrefslogtreecommitdiff
path: root/src/login/login.h
diff options
context:
space:
mode:
authorcodemaster <codemaster@54d463be-8e91-2dee-dedb-b68131a5f0ec>2004-11-13 17:36:40 +0000
committercodemaster <codemaster@54d463be-8e91-2dee-dedb-b68131a5f0ec>2004-11-13 17:36:40 +0000
commite0eb6d1e455dd5cb9cfe1f657b22953b14697fc1 (patch)
treeeffefdd5956988eed1512769f8c0b13b564e6ad8 /src/login/login.h
parent438d56fdd334f9fbd97037d5b37607ef3712aa41 (diff)
downloadhercules-e0eb6d1e455dd5cb9cfe1f657b22953b14697fc1.tar.gz
hercules-e0eb6d1e455dd5cb9cfe1f657b22953b14697fc1.tar.bz2
hercules-e0eb6d1e455dd5cb9cfe1f657b22953b14697fc1.tar.xz
hercules-e0eb6d1e455dd5cb9cfe1f657b22953b14697fc1.zip
Updated and optimized with FREYA's additions.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/athena@159 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/login/login.h')
-rw-r--r--src/login/login.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/login/login.h b/src/login/login.h
index b810a5412..8589bf004 100644
--- a/src/login/login.h
+++ b/src/login/login.h
@@ -13,9 +13,10 @@
#define START_ACCOUNT_NUM 2000000
#define END_ACCOUNT_NUM 100000000
+int login_port;
struct mmo_account {
char* userid;
- char* passwd;
+ char passwd[33];
int passwdenc;
long account_id;
@@ -27,7 +28,7 @@ struct mmo_account {
};
struct mmo_char_server {
- char name[20];
+ char name[21];
long ip;
short port;
int users;
@@ -35,4 +36,6 @@ struct mmo_char_server {
int new;
};
+struct mmo_char_server server[MAX_SERVERS];
+int server_fd[MAX_SERVERS];
#endif