aboutsummaryrefslogtreecommitdiff
path: root/engines/toon
diff options
context:
space:
mode:
authorD G Turner2017-07-30 17:26:04 +0100
committerEugene Sandulenko2017-07-30 22:03:29 +0200
commitd2a7c296a2dc7d3f7618acd5785f59ee8508a1f0 (patch)
tree069c3c1daa49cdd794293c28ec0f02419e198453 /engines/toon
parent06566151f92d2aa6d40b81972b3c342f038a2596 (diff)
downloadscummvm-rg350-d2a7c296a2dc7d3f7618acd5785f59ee8508a1f0.tar.gz
scummvm-rg350-d2a7c296a2dc7d3f7618acd5785f59ee8508a1f0.tar.bz2
scummvm-rg350-d2a7c296a2dc7d3f7618acd5785f59ee8508a1f0.zip
COMMON: Migrate Various Endian Functions to Common from Engine Code.
Thanks to N.E.C <beholdnec@gmail.com> for this.
Diffstat (limited to 'engines/toon')
-rw-r--r--engines/toon/tools.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/engines/toon/tools.h b/engines/toon/tools.h
index d80ec006b0..1ba8cebdb7 100644
--- a/engines/toon/tools.h
+++ b/engines/toon/tools.h
@@ -36,12 +36,6 @@ const uint32 kCompSPCN = 0x5350434E;
const uint32 kCompRNC1 = 0x524E4301;
const uint32 kCompRNC2 = 0x524E4302;
-#define READ_LE_INT16(x) (int16) READ_LE_UINT16(x)
-#define READ_LE_INT32(x) (int32) READ_LE_UINT32(x)
-
-#define WRITE_LE_INT16(x, y) WRITE_LE_UINT16(x, (int16)y)
-#define WRITE_LE_INT32(x, y) WRITE_LE_UINT32(x, (int32)y)
-
uint32 decompressSPCN(byte *src, byte *dst, uint32 dstsize);
uint32 decompressLZSS(byte *src, byte *dst, int dstsize);