summaryrefslogtreecommitdiff
path: root/atari/gemtk/utils.c
diff options
context:
space:
mode:
Diffstat (limited to 'atari/gemtk/utils.c')
-rw-r--r--atari/gemtk/utils.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/atari/gemtk/utils.c b/atari/gemtk/utils.c
index 82f74f965..d365aefb5 100644
--- a/atari/gemtk/utils.c
+++ b/atari/gemtk/utils.c
@@ -1,5 +1,6 @@
#include <stdlib.h>
#include <stdint.h>
+#include <stdbool.h>
#include <gem.h>
#include "gemtk.h"
@@ -38,3 +39,12 @@ unsigned short _systype (void)
return _systype_v;
}
+bool rc_intersect_ro(GRECT *a, GRECT *b)
+{
+ GRECT r1, r2;
+
+ r1 = *a;
+ r2 = *b;
+
+ return((bool)rc_intersect(&r1, &r2));
+}