diff options
author | Colin Snover | 2017-09-02 16:08:35 -0500 |
---|---|---|
committer | Eugene Sandulenko | 2017-09-04 23:57:19 +0200 |
commit | 110b4f09916d366574e5eb62114e68b68510a7a4 (patch) | |
tree | 31d79c7a12d024c51f09b379fcbccac0bcef49a5 | |
parent | 9d42bea857e23b66fd2e12a94fb4947acd7de029 (diff) | |
download | scummvm-rg350-110b4f09916d366574e5eb62114e68b68510a7a4.tar.gz scummvm-rg350-110b4f09916d366574e5eb62114e68b68510a7a4.tar.bz2 scummvm-rg350-110b4f09916d366574e5eb62114e68b68510a7a4.zip |
COMMON: Add helper macro for printing rects
-rw-r--r-- | common/rect.h | 2 | ||||
-rw-r--r-- | engines/sci/graphics/helpers.h | 4 |
2 files changed, 2 insertions, 4 deletions
diff --git a/common/rect.h b/common/rect.h index e6534e55d3..6c4292c7af 100644 --- a/common/rect.h +++ b/common/rect.h @@ -27,6 +27,8 @@ #include "common/util.h" #include "common/debug.h" +#define PRINT_RECT(x) (x).left,(x).top,(x).right,(x).bottom + namespace Common { /** diff --git a/engines/sci/graphics/helpers.h b/engines/sci/graphics/helpers.h index 52699c6242..38da280701 100644 --- a/engines/sci/graphics/helpers.h +++ b/engines/sci/graphics/helpers.h @@ -52,10 +52,6 @@ typedef int16 TextAlignment; #define PORTS_FIRSTWINDOWID 2 #define PORTS_FIRSTSCRIPTWINDOWID 3 -#ifdef ENABLE_SCI32 -#define PRINT_RECT(x) (x).left,(x).top,(x).right,(x).bottom -#endif - struct Port { uint16 id; int16 top, left; |