[Scummvm-git-logs] scummvm master -> 110b4f09916d366574e5eb62114e68b68510a7a4
sev-
sev at scummvm.org
Mon Sep 4 23:57:22 CEST 2017
This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .
Summary:
110b4f0991 COMMON: Add helper macro for printing rects
Commit: 110b4f09916d366574e5eb62114e68b68510a7a4
https://github.com/scummvm/scummvm/commit/110b4f09916d366574e5eb62114e68b68510a7a4
Author: Colin Snover (github.com at zetafleet.com)
Date: 2017-09-04T23:57:19+02:00
Commit Message:
COMMON: Add helper macro for printing rects
Changed paths:
common/rect.h
engines/sci/graphics/helpers.h
diff --git a/common/rect.h b/common/rect.h
index e6534e5..6c4292c 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 52699c6..38da280 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;
More information about the Scummvm-git-logs
mailing list