diff options
author | RichieSams | 2015-01-07 07:00:13 -0600 |
---|---|---|
committer | RichieSams | 2015-01-07 07:00:13 -0600 |
commit | 4c64f7e194e5ce74a9213ef09648e615f3661de6 (patch) | |
tree | 6097966936dc511dcb7857444d235a23f05b23f8 /engines/sword25/util/double_serialization.h | |
parent | 4ffaf4df376e6d93c1b5c4c820c975fdee64ec8f (diff) | |
download | scummvm-rg350-4c64f7e194e5ce74a9213ef09648e615f3661de6.tar.gz scummvm-rg350-4c64f7e194e5ce74a9213ef09648e615f3661de6.tar.bz2 scummvm-rg350-4c64f7e194e5ce74a9213ef09648e615f3661de6.zip |
SWORD25: Remove unused code
The original idea was to keep the code variation and pick the best one. However,
these two methods we're portable enough for our needs.
Diffstat (limited to 'engines/sword25/util/double_serialization.h')
-rw-r--r-- | engines/sword25/util/double_serialization.h | 37 |
1 files changed, 0 insertions, 37 deletions
diff --git a/engines/sword25/util/double_serialization.h b/engines/sword25/util/double_serialization.h index a910a66f20..af58d03c17 100644 --- a/engines/sword25/util/double_serialization.h +++ b/engines/sword25/util/double_serialization.h @@ -56,43 +56,6 @@ SerializedDouble encodeDouble(double value); */ double decodeDouble(SerializedDouble value); -#if 0 -/** - * Encodes a double as a uint64 - * - * Does NOT support denormalized numbers. Does NOT support NaN, or Inf - * - * @param value The value to encode - * @return The encoded value - */ -uint64 encodeDouble_64(double value); -/** - * Decodes a previously encoded double - * - * @param value The value to decode - * @return The decoded value - */ -double decodeDouble_64(uint64 value); - -/** - * Encodes a double as two uint32 - * - * Does NOT support denormalized numbers. Does NOT support NaN, or Inf - * - * @param value The value to encode - * @return The encoded value - */ -CompactSerializedDouble encodeDouble_Compact(double value); -/** - * Decodes a previously encoded double - * - * @param value The value to decode - * @return The decoded value - */ -double decodeDouble_Compact(CompactSerializedDouble value); - -#endif - } // End of namespace Sword25 #endif |