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