summaryrefslogtreecommitdiff
path: root/System.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'System.cpp')
-rw-r--r--System.cpp36
1 files changed, 20 insertions, 16 deletions
diff --git a/System.cpp b/System.cpp
index 7961512..512d2b5 100644
--- a/System.cpp
+++ b/System.cpp
@@ -1,13 +1,13 @@
-/* *************************************
+/* *******************************************************************
* Includes
- * *************************************/
+ * ******************************************************************/
#include <Arduino.h>
#include <Gamebuino.h>
-/* *************************************
+/* *******************************************************************
* Defines
- * *************************************/
+ * ******************************************************************/
#define mCHECK_COLLISION(x1, y1, w1, h1, x2, y2, w2, h2) \
(!( ((x1) >= (x2) + (w2)) \
@@ -18,13 +18,13 @@
|| \
((y2) >= (y1) + (h1)) )
-/* *************************************
- * Structs and enums
- * *************************************/
+/* *******************************************************************
+ * Types definition
+ * ******************************************************************/
-/* *************************************
- * Global Variables
- * *************************************/
+/* *******************************************************************
+ * Global variables definition
+ * ******************************************************************/
/*****************************************************************//**
*
@@ -33,13 +33,17 @@
*********************************************************************/
Gamebuino gb;
-/* *************************************
- * Local Variables
- * *************************************/
+/* *******************************************************************
+ * Local variables definition
+ * ******************************************************************/
-/* *************************************
- * Local Prototypes
- * *************************************/
+/* *******************************************************************
+ * Local prototypes declaration
+ * ******************************************************************/
+
+/* *******************************************************************
+ * Functions definition
+ * ******************************************************************/
/*****************************************************************//**
*