diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-07-15 01:06:00 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-07-15 01:06:00 +0300 |
commit | 553ca65f60d72a12f1a579dc3948568d684ac950 (patch) | |
tree | ccf0e7b20ac1a76cde56a2a28fc269e5724131e4 /src/net/messagein.h | |
parent | 84e2a85c11eadd62572539d429c1de1d67223fae (diff) | |
download | manaverse-553ca65f60d72a12f1a579dc3948568d684ac950.tar.gz manaverse-553ca65f60d72a12f1a579dc3948568d684ac950.tar.bz2 manaverse-553ca65f60d72a12f1a579dc3948568d684ac950.tar.xz manaverse-553ca65f60d72a12f1a579dc3948568d684ac950.zip |
Add net function readInt8 and use it for item pixel offset.
Diffstat (limited to 'src/net/messagein.h')
-rw-r--r-- | src/net/messagein.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/net/messagein.h b/src/net/messagein.h index f9f2aceb0..932764b8c 100644 --- a/src/net/messagein.h +++ b/src/net/messagein.h @@ -60,6 +60,8 @@ class MessageIn notfinal virtual unsigned char readUInt8(); /**< Reads a byte. */ + virtual signed char readInt8(); /**< Reads a byte. */ + virtual int16_t readInt16() = 0; /**< Reads a short. */ virtual int readInt32() = 0; /**< Reads a long. */ |