diff options
author | Jared Adams <jaxad0127@gmail.com> | 2011-06-03 11:19:20 -0600 |
---|---|---|
committer | Jared Adams <jaxad0127@gmail.com> | 2011-06-03 12:08:26 -0600 |
commit | 3c0cb0e058324ee1d3116017f14387e9a6004442 (patch) | |
tree | b9c00c3fdf1dff7e4c07bf4f8c83c2e7bc03c0f7 /src/net/tmwa/messagein.h | |
parent | 894038adf52a3e2b42542239a147d6c1cc1ad204 (diff) | |
download | mana-client-3c0cb0e058324ee1d3116017f14387e9a6004442.tar.gz mana-client-3c0cb0e058324ee1d3116017f14387e9a6004442.tar.bz2 mana-client-3c0cb0e058324ee1d3116017f14387e9a6004442.tar.xz mana-client-3c0cb0e058324ee1d3116017f14387e9a6004442.zip |
Replace SDL_types.h with cstdint
This required moving to C++0x, so it does that too, and fixes a few errors with
that.
Reviewed-by: Thorbjørn Lindeijer <thorbjorn@lindeijer.nl>
Diffstat (limited to 'src/net/tmwa/messagein.h')
-rw-r--r-- | src/net/tmwa/messagein.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/net/tmwa/messagein.h b/src/net/tmwa/messagein.h index 21375257..38fbb139 100644 --- a/src/net/tmwa/messagein.h +++ b/src/net/tmwa/messagein.h @@ -24,7 +24,6 @@ #include "net/messagein.h" -#include <SDL_types.h> #include <string> namespace TmwAthena { @@ -39,8 +38,8 @@ namespace TmwAthena { public: MessageIn(const char *data, unsigned int length); - Uint16 readInt16(); /**< Reads a short. */ - Uint32 readInt32(); /**< Reads a "long". */ + uint16_t readInt16(); + uint32_t readInt32(); }; } |