diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-05-20 12:47:50 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-05-20 12:47:50 +0300 |
commit | 0ad3a821e42471a052027419336df2132613e9f3 (patch) | |
tree | 230b600ec683bf5abb7d9ba3aefe8c6197fc329a /src/net/charserverhandler.h | |
parent | 5e3b654000e75c29d79939684077c7833ecbcead (diff) | |
download | mv-0ad3a821e42471a052027419336df2132613e9f3.tar.gz mv-0ad3a821e42471a052027419336df2132613e9f3.tar.bz2 mv-0ad3a821e42471a052027419336df2132613e9f3.tar.xz mv-0ad3a821e42471a052027419336df2132613e9f3.zip |
Move character into separate file.
Diffstat (limited to 'src/net/charserverhandler.h')
-rw-r--r-- | src/net/charserverhandler.h | 24 |
1 files changed, 1 insertions, 23 deletions
diff --git a/src/net/charserverhandler.h b/src/net/charserverhandler.h index 095558cec..744ee685b 100644 --- a/src/net/charserverhandler.h +++ b/src/net/charserverhandler.h @@ -37,29 +37,7 @@ class CharSelectDialog; namespace Net { -/** - * A structure to hold information about a character. - */ -struct Character final -{ - Character() : - slot(0), - dummy(nullptr), - data() - { - } - - A_DELETE_COPY(Character) - - ~Character() - { - delete2(dummy); - } - - int slot; /**< The index in the list of characters */ - LocalPlayer *dummy; /**< A dummy representing this character */ - PlayerInfoBackend data; -}; +struct Character; typedef std::list<Character*> Characters; |