Browse Source

🚚 Move 'RECT32' type to 'engine.h' alongside other core types

pull/2203/head
Juliano Leal Goncalves 5 years ago committed by Anders Jenbo
parent
commit
4490340a47
  1. 7
      Source/control.h
  2. 7
      Source/engine.h

7
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];

7
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. */

Loading…
Cancel
Save