diff options
author | Gregory Montoir | 2005-04-15 08:34:18 +0000 |
---|---|---|
committer | Gregory Montoir | 2005-04-15 08:34:18 +0000 |
commit | 7c2e66df0e546083d92223514befa9c475ecba30 (patch) | |
tree | a09c052ed17ca58effea5ae8d36e4b65a63f0671 /scumm/sprite_he.h | |
parent | 4cd1104317b3b1fbb9a01a5b91aeb7091053bc27 (diff) | |
download | scummvm-rg350-7c2e66df0e546083d92223514befa9c475ecba30.tar.gz scummvm-rg350-7c2e66df0e546083d92223514befa9c475ecba30.tar.bz2 scummvm-rg350-7c2e66df0e546083d92223514befa9c475ecba30.zip |
Got rid of scaleX and scaleY, previous code was relying on overflow and to get it right, we would have to introduce floating point numbers. Easier, yet less efficient, is just to get rid of those 2 temporary variables and do the multiplications and divisions when needed.
svn-id: r17605
Diffstat (limited to 'scumm/sprite_he.h')
-rw-r--r-- | scumm/sprite_he.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scumm/sprite_he.h b/scumm/sprite_he.h index 5c0af87ebd..6a6500c5ba 100644 --- a/scumm/sprite_he.h +++ b/scumm/sprite_he.h @@ -92,8 +92,8 @@ struct SpriteGroup { int32 ty; int32 dstResNum; int32 scaling; - int32 scaleX; - int32 scaleY; +// int32 scaleX; +// int32 scaleY; int32 scale_x_ratio_mul; int32 scale_x_ratio_div; int32 scale_y_ratio_mul; |