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
@@ -21,6 +21,7 @@
#ifndef _PLAYERDATA_H_
#define _PLAYERDATA_H_
#include <core/crypthelper.h>
#include <string>
#include <list>
#include <map>
@@ -45,6 +46,8 @@ struct PlayerInfo
PlayerInfo() : ptype(PLAYER_TYPE_HUMAN) {}
std::string playerName;
PlayerType ptype;
bool hasAvatar;
MD5Buf avatar;
};
class PlayerData