Replaced VDPPlane structure by enum (refactoring)
#define GET_VCOUNTER (GET_HVCOUNTER >> 8)
-/**
- * Internal use
- */
-#define CONST_BG_A 0
-#define CONST_BG_B 1
-#define CONST_WINDOW 2
+///**
+// * Internal use
+// */
+//#define CONST_BG_A 0
+//#define CONST_BG_B 1
+//#define CONST_WINDOW 2
/**
* \brief
* Type used to define on which plane to work (used by some methods).
*/
-typedef struct
+typedef enum
{
- u16 value;
+ BG_A = 0, BG_B = 1, WINDOW = 2
} VDPPlane;
@@ -460,21 +460,21 @@ extern u16 planeHeightSft;
extern u16 windowWidthSft;
-/**
- * \brief
- * Constant to represent VDP background A plane (used by some methods)
- */
-extern const VDPPlane BG_A;
-/**
- * \brief
- * Constant to represent VDP background B plane (used by some methods)
- */
-extern const VDPPlane BG_B;
-/**
- * \brief
- * Constant to represent VDP window plane (used by some methods)
- */
-extern const VDPPlane WINDOW;
+///**
+// * \brief
+// * Constant to represent VDP background A plane (used by some methods)
+// */
+//extern const VDPPlane BG_A;
+///**
+// * \brief
+// * Constant to represent VDP background B plane (used by some methods)
+// */
+//extern const VDPPlane BG_B;
+///**
+// * \brief
+// * Constant to represent VDP window plane (used by some methods)
+// */
+//extern const VDPPlane WINDOW;
/**
