#pragma once #include /// Checks whether a result code indicates success. #define R_SUCCEEDED(res) ((res)>=0) /// Checks whether a result code indicates failure. #define R_FAILED(res) ((res)<0) /// Returns the level of a result code. extern int SCE_CTRL_ENTER, SCE_CTRL_CANCEL; extern unsigned int pressed; namespace Utils { int InitAppUtil(void); int EndAppUtil(void); SceCtrlData ReadControls(void); int GetEnterButton(void); int GetCancelButton(void); void GetSizeString(char *string, double size); }