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.
|
|
|
|
|
2016-06-24 08:43:46 +00:00
|
|
|
#include "VideoCommon/BoundingBox.h"
|
2015-09-24 07:19:43 +00:00
|
|
|
#include "Common/ChunkFile.h"
|
|
|
|
#include "Common/CommonTypes.h"
|
2014-09-14 16:52:51 +00:00
|
|
|
|
|
|
|
namespace BoundingBox
|
|
|
|
{
|
|
|
|
// External vars
|
|
|
|
bool active = false;
|
2016-06-24 08:43:46 +00:00
|
|
|
u16 coords[4] = {0x80, 0xA0, 0x80, 0xA0};
|
2014-09-14 16:52:51 +00:00
|
|
|
|
|
|
|
// Save state
|
2016-01-17 21:54:31 +00:00
|
|
|
void DoState(PointerWrap& p)
|
2014-09-14 16:52:51 +00:00
|
|
|
{
|
2016-06-24 08:43:46 +00:00
|
|
|
p.Do(active);
|
|
|
|
p.Do(coords);
|
2014-09-14 16:52:51 +00:00
|
|
|
}
|
|
|
|
|
2016-06-24 08:43:46 +00:00
|
|
|
} // namespace BoundingBox
|