diff options
author | Andrei Karas <akaras@inbox.ru> | 2012-06-17 20:13:48 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2012-06-17 20:13:48 +0300 |
commit | c2efedab22275302f0a10cc197424d345a021d18 (patch) | |
tree | 7488abbb3655451a3f6a1621e0708f72011af5f6 /src/net/manaserv/playerhandler.cpp | |
parent | 79aba82be3de5b6b571e2f59f7a34ded4b03160f (diff) | |
download | manaplus-c2efedab22275302f0a10cc197424d345a021d18.tar.gz manaplus-c2efedab22275302f0a10cc197424d345a021d18.tar.bz2 manaplus-c2efedab22275302f0a10cc197424d345a021d18.tar.xz manaplus-c2efedab22275302f0a10cc197424d345a021d18.zip |
Replace SDL int types to C++ types.
Diffstat (limited to 'src/net/manaserv/playerhandler.cpp')
-rw-r--r-- | src/net/manaserv/playerhandler.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/net/manaserv/playerhandler.cpp b/src/net/manaserv/playerhandler.cpp index eeb597908..b42aa383e 100644 --- a/src/net/manaserv/playerhandler.cpp +++ b/src/net/manaserv/playerhandler.cpp @@ -73,7 +73,7 @@ extern Connection *gameServerConnection; PlayerHandler::PlayerHandler() { - static const Uint16 _messages[] = + static const uint16_t _messages[] = { GPMSG_PLAYER_MAP_CHANGE, GPMSG_PLAYER_SERVER_CHANGE, @@ -271,7 +271,7 @@ void PlayerHandler::handleMessage(Net::MessageIn &msg) /* case SMSG_PLAYER_ARROW_MESSAGE: { - Sint16 type = msg.readInt16(); + int16_t type = msg.readInt16(); switch (type) { @@ -338,7 +338,7 @@ void PlayerHandler::stopAttack() } -void PlayerHandler::emote(Uint8 emoteId A_UNUSED) +void PlayerHandler::emote(uint8_t emoteId A_UNUSED) { // TODO } @@ -446,7 +446,7 @@ void PlayerHandler::requestOnlineList() } -void PlayerHandler::updateStatus(Uint8 status) +void PlayerHandler::updateStatus(uint8_t status) { } |