From 4490340a47ff7a40c35b6d3cab03ec2cbfd53f38 Mon Sep 17 00:00:00 2001 From: Juliano Leal Goncalves Date: Sat, 5 Jun 2021 21:23:15 -0300 Subject: [PATCH] =?UTF-8?q?=F0=9F=9A=9A=20Move=20'RECT32'=20type=20to=20'e?= =?UTF-8?q?ngine.h'=20alongside=20other=20core=20types?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Source/control.h | 7 ------- Source/engine.h | 7 +++++++ 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/Source/control.h b/Source/control.h index bee3dede6..59ab36058 100644 --- a/Source/control.h +++ b/Source/control.h @@ -28,13 +28,6 @@ namespace devilution { #define RIGHT_PANEL (gnScreenWidth - SPANEL_WIDTH) #define RIGHT_PANEL_X RIGHT_PANEL -struct RECT32 { - int x; - int y; - int w; - int h; -}; - extern bool drawhpflag; extern bool dropGoldFlag; extern bool chrbtn[4]; diff --git a/Source/engine.h b/Source/engine.h index 63f809d55..087528f7a 100644 --- a/Source/engine.h +++ b/Source/engine.h @@ -224,6 +224,13 @@ struct Size { } }; +struct RECT32 { + int x; + int y; + int w; + int h; +}; + struct ActorPosition { Point tile; /** Future tile position. Set at start of walking animation. */