From f0b654b9bf3bc2a93c1f89d4cc3edcf77b948555 Mon Sep 17 00:00:00 2001 From: XaviDCR92 Date: Mon, 9 Jul 2018 19:26:13 +0200 Subject: Game has been restructured in favor of OOP --- Pad.h | 34 +++++++++++++++++----------------- 1 file changed, 17 insertions(+), 17 deletions(-) (limited to 'Pad.h') diff --git a/Pad.h b/Pad.h index a89b308..a9f3ea7 100644 --- a/Pad.h +++ b/Pad.h @@ -1,40 +1,40 @@ -#ifndef __PAD_HEADER__ -#define __PAD_HEADER__ +#ifndef PAD_H__ +#define PAD_H__ /* ************************************** - * Includes * + * Includes * * **************************************/ #include "Global_Inc.h" /* ************************************** - * Defines * + * Defines * * **************************************/ /* ************************************** - * Structs and enums * + * Structs and enums * * **************************************/ - //BTN_A, BTN_B, BTN_C, BTN_UP, BTN_RIGHT, BTN_DOWN, BTN_LEFT + /* BTN_A, BTN_B, BTN_C, BTN_UP, BTN_RIGHT, BTN_DOWN, BTN_LEFT. */ #ifdef __cplusplus extern "C" { -#endif //__cplusplus +#endif /* cplusplus. */ typedef enum t_padbuttons { - PAD_A = BTN_A, - PAD_B = BTN_B, - PAD_C = BTN_C, - PAD_LEFT = BTN_LEFT, - PAD_RIGHT = BTN_RIGHT, - PAD_UP = BTN_UP, - PAD_DOWN = BTN_DOWN, + PAD_A = BTN_A, + PAD_B = BTN_B, + PAD_C = BTN_C, + PAD_LEFT = BTN_LEFT, + PAD_RIGHT = BTN_RIGHT, + PAD_UP = BTN_UP, + PAD_DOWN = BTN_DOWN, }PAD_BUTTONS; /* ************************************** - * Global prototypes * + * Global prototypes * * **************************************/ bool PadButtonReleased(PAD_BUTTONS btn); @@ -45,6 +45,6 @@ bool PadAnyKeyPressed(void); #ifdef __cplusplus } -#endif //__cplusplus +#endif /* cplusplus. */ -#endif //__PAD_HEADER__ +#endif /* PAD_H__. */ -- cgit v1.2.3