BoundingBox.h 477 B

1234567891011121314151617181920212223242526272829303132
  1. // Copyright 2014 Dolphin Emulator Project
  2. // Licensed under GPLv2+
  3. // Refer to the license.txt file included.
  4. #pragma once
  5. #include "VideoCommon/VertexLoader.h"
  6. // Bounding Box manager
  7. namespace BoundingBox
  8. {
  9. // Determines if bounding box is active
  10. extern bool active;
  11. // Bounding box current coordinates
  12. extern u16 coords[4];
  13. enum
  14. {
  15. LEFT = 0,
  16. RIGHT = 1,
  17. TOP = 2,
  18. BOTTOM = 3
  19. };
  20. // Save state
  21. void DoState(PointerWrap &p);
  22. }; // end of namespace BoundingBox