return SDL_NUM_SCANCODES;
}
-Boolean Input::MouseClicked()
+bool Input::MouseClicked()
{
return isKeyPressed(SDL_NUM_SCANCODES + SDL_BUTTON_LEFT);
}
static bool isKeyPressed(int k);
static const char* keyToChar(unsigned short which);
static unsigned short CharToKey(const char* which);
- static Boolean MouseClicked();
+ static bool MouseClicked();
};
#endif
# endif
#endif
-typedef bool Boolean;
-
-
struct Point {
short v;
short h;
set<pair<int,int>> resolutions;
-Boolean SetUp ();
+bool SetUp ();
void DoUpdate ();
void CleanUp (void);
int kContextWidth;
int kContextHeight;
-Boolean gDone = false;
+bool gDone = false;
static int _argc = 0;
static char **_argv = NULL;
static Point gMidPoint;
-Boolean SetUp ()
+bool SetUp ()
{
LOGFUNC;
// disable warning about unreferenced local variables
#pragma warning(disable:4101)
-typedef bool Boolean;
-
struct Point {
short v;
short h;