aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTravis Howell2005-04-08 23:32:30 +0000
committerTravis Howell2005-04-08 23:32:30 +0000
commit43278f9523b356b8badb0c38e8c3a31bb7215681 (patch)
tree6875c4b35c160f015ca129ed4833d49551d4394c
parentdbc4d13b3d003ac5225c9b18d7b4b86d01d8b735 (diff)
downloadscummvm-rg350-43278f9523b356b8badb0c38e8c3a31bb7215681.tar.gz
scummvm-rg350-43278f9523b356b8badb0c38e8c3a31bb7215681.tar.bz2
scummvm-rg350-43278f9523b356b8badb0c38e8c3a31bb7215681.zip
Set size of sprite fields
svn-id: r17460
-rw-r--r--scumm/sprite_he.h90
1 files changed, 45 insertions, 45 deletions
diff --git a/scumm/sprite_he.h b/scumm/sprite_he.h
index 5bd5060af9..ce950fc3f5 100644
--- a/scumm/sprite_he.h
+++ b/scumm/sprite_he.h
@@ -47,57 +47,57 @@ enum SpriteGroupFlags {
};
struct SpriteInfo {
- int id;
- int zorder;
- int flags;
- int resId;
- int resState;
- int groupNum;
- int paletteNum;
- int zorderPriority;
+ int32 id;
+ int32 zorder;
+ int32 flags;
+ int32 resId;
+ int32 resState;
+ int32 groupNum;
+ int32 paletteNum;
+ int32 zorderPriority;
Common::Rect bbox;
- int dx;
- int dy;
+ int32 dx;
+ int32 dy;
Common::Point pos;
- int tx;
- int ty;
- int field_44;
- int curImageState;
- int curResId;
- int imglistNum;
- int xmapNum;
- int res_wiz_states;
- int angle;
- int zoom;
- int delayCount;
- int curAngle;
- int curZoom;
- int imgFlags;
- int field_74;
- int delayAmount;
- int field_7C;
- int field_80;
- int classFlags;
- int field_88;
- int field_8C;
- int field_90;
- int field_94;
+ int32 tx;
+ int32 ty;
+ int32 field_44;
+ int32 curImageState;
+ int32 curResId;
+ int32 imglistNum;
+ int32 xmapNum;
+ int32 res_wiz_states;
+ int32 angle;
+ int32 zoom;
+ int32 delayCount;
+ int32 curAngle;
+ int32 curZoom;
+ int32 imgFlags;
+ int32 field_74;
+ int32 delayAmount;
+ int32 field_7C;
+ int32 field_80;
+ int32 classFlags;
+ int32 field_88;
+ int32 field_8C;
+ int32 field_90;
+ int32 field_94;
};
struct SpriteGroup {
Common::Rect bbox;
- int zorderPriority;
- int flags;
- int tx;
- int ty;
- int dstResNum;
- int scaling;
- int scaleX;
- int scaleY;
- int scale_x_ratio_mul;
- int scale_x_ratio_div;
- int scale_y_ratio_mul;
- int scale_y_ratio_div;
+ int32 zorderPriority;
+ int32 flags;
+ int32 tx;
+ int32 ty;
+ int32 dstResNum;
+ int32 scaling;
+ int32 scaleX;
+ int32 scaleY;
+ int32 scale_x_ratio_mul;
+ int32 scale_x_ratio_div;
+ int32 scale_y_ratio_mul;
+ int32 scale_y_ratio_div;
};
} // End of namespace Scumm