2014-09-14 16:52:51 +00:00
|
|
|
// Copyright 2014 Dolphin Emulator Project
|
2015-05-17 23:08:10 +00:00
|
|
|
// Licensed under GPLv2+
|
2014-09-14 16:52:51 +00:00
|
|
|
// Refer to the license.txt file included.
|
|
|
|
|
|
|
|
#pragma once
|
|
|
|
|
2016-01-17 21:54:31 +00:00
|
|
|
#include "Common/CommonTypes.h"
|
2014-09-14 16:52:51 +00:00
|
|
|
|
2016-01-17 21:54:31 +00:00
|
|
|
class PointerWrap;
|
2014-09-14 16:52:51 +00:00
|
|
|
|
2016-01-17 21:54:31 +00:00
|
|
|
// Bounding Box manager
|
2014-09-14 16:52:51 +00:00
|
|
|
namespace BoundingBox
|
|
|
|
{
|
|
|
|
// Determines if bounding box is active
|
|
|
|
extern bool active;
|
|
|
|
|
|
|
|
// Bounding box current coordinates
|
|
|
|
extern u16 coords[4];
|
|
|
|
|
|
|
|
enum
|
|
|
|
{
|
|
|
|
LEFT = 0,
|
|
|
|
RIGHT = 1,
|
|
|
|
TOP = 2,
|
|
|
|
BOTTOM = 3
|
|
|
|
};
|
|
|
|
|
|
|
|
// Save state
|
2016-01-17 21:54:31 +00:00
|
|
|
void DoState(PointerWrap& p);
|
2014-09-14 16:52:51 +00:00
|
|
|
|
|
|
|
}; // end of namespace BoundingBox
|