Show avatars in network games. User defined avatars are not transfered yet, but this is already prepared for integration.

This commit is contained in:
lotodore
2007-09-09 00:00:19 +00:00
parent b71ae4ac17
commit e8eddd3b1b
10 changed files with 129 additions and 22 deletions
+3
View File
@@ -25,6 +25,7 @@
#include <game_defs.h>
#include <gamedata.h>
#include <net/socket_helper.h>
#include <core/crypthelper.h>
#define NET_VERSION_MAJOR 2
#define NET_VERSION_MINOR 0
@@ -152,6 +153,8 @@ public:
int versionMinor;
std::string playerName;
std::string password;
bool showAvatar;
MD5Buf avatar;
};
NetPacketInit();