diff options
author | Bendegúz Nagy | 2016-08-09 10:39:08 +0200 |
---|---|---|
committer | Bendegúz Nagy | 2016-08-26 23:02:22 +0200 |
commit | d69c2d12fa026a6c5fbea587376cf0ce8fba4fe9 (patch) | |
tree | b5c0476cff902217c1140fd0df453d5b652dbf0d | |
parent | ead63373ca38626ff977c8b09ff2fe3c34b85da2 (diff) | |
download | scummvm-rg350-d69c2d12fa026a6c5fbea587376cf0ce8fba4fe9.tar.gz scummvm-rg350-d69c2d12fa026a6c5fbea587376cf0ce8fba4fe9.tar.bz2 scummvm-rg350-d69c2d12fa026a6c5fbea587376cf0ce8fba4fe9.zip |
DM: Change Box's member fields from uint16 to int16
-rw-r--r-- | engines/dm/gfx.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/engines/dm/gfx.h b/engines/dm/gfx.h index 563e1294ac..e5f477dccd 100644 --- a/engines/dm/gfx.h +++ b/engines/dm/gfx.h @@ -290,12 +290,12 @@ extern uint16 g21_PalDungeonView[6][16]; // @ G0021_aaui_Graphic562_Palette_Dung // in all cases, where a function takes a Box, it expects it to contain inclusive boundaries class Box { public: - uint16 _x1; - uint16 _x2; - uint16 _y1; - uint16 _y2; + int16 _x1; + int16 _x2; + int16 _y1; + int16 _y2; - Box(uint16 x1, uint16 x2, uint16 y1, uint16 y2) : _x1(x1), _x2(x2), _y1(y1), _y2(y2) {} + Box(int16 x1, int16 x2, int16 y1, int16 y2) : _x1(x1), _x2(x2), _y1(y1), _y2(y2) {} Box() {} template <typename T> explicit Box(T *ptr) { |