From a87c4809f59a778b05e715d74ad4ebb83c3ac4c4 Mon Sep 17 00:00:00 2001 From: Christoph Oelckers Date: Thu, 29 Sep 2022 13:11:01 +0200 Subject: [PATCH] - deleted unused mulscale30r functions. --- source/games/blood/src/common_game.h | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/source/games/blood/src/common_game.h b/source/games/blood/src/common_game.h index cd96969e7..63404b222 100644 --- a/source/games/blood/src/common_game.h +++ b/source/games/blood/src/common_game.h @@ -613,22 +613,6 @@ inline int mulscale16r(int a, int b) // do not delete! acc += ((int64_t)a) * b; return (int)(acc >> 16); } - -inline int mulscale30r(int a, int b) -{ - int64_t acc = 1 << (30 - 1); - acc += ((int64_t)a) * b; - return (int)(acc >> 30); -} - -inline int dmulscale30r(int a, int b, int c, int d) -{ - int64_t acc = 1 << (30 - 1); - acc += ((int64_t)a) * b; - acc += ((int64_t)c) * d; - return (int)(acc >> 30); -} - class Rect { public: int x0, y0, x1, y1;