diff options
author | Eugenio Favalli <elvenprogrammer@gmail.com> | 2006-08-14 08:36:16 +0000 |
---|---|---|
committer | Eugenio Favalli <elvenprogrammer@gmail.com> | 2006-08-14 08:36:16 +0000 |
commit | c79bf8c82f0a38b574b83be2484eb347852cd833 (patch) | |
tree | bf13ca5f0ff3f0413bab52f89ba95e705ffce745 /src/net/network.h | |
parent | 9e6862623370f53d1b78e4bd167152b840e28884 (diff) | |
download | mana-client-c79bf8c82f0a38b574b83be2484eb347852cd833.tar.gz mana-client-c79bf8c82f0a38b574b83be2484eb347852cd833.tar.bz2 mana-client-c79bf8c82f0a38b574b83be2484eb347852cd833.tar.xz mana-client-c79bf8c82f0a38b574b83be2484eb347852cd833.zip |
Completed porting of character creation/deletion, fixed some issues with network code.
Diffstat (limited to 'src/net/network.h')
-rw-r--r-- | src/net/network.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/net/network.h b/src/net/network.h index 50ee9af7..f91c926b 100644 --- a/src/net/network.h +++ b/src/net/network.h @@ -59,7 +59,7 @@ class Network void dispatchMessages(); void flush(); - void send(MessageOut *msg); + void send(const MessageOut &msg); enum State { IDLE, @@ -96,4 +96,7 @@ class Network /** Convert an address from int format to string */ char *iptostring(int address); +// TODO: remove this global, just a temp solution. +extern Network *network; + #endif |