-
-/*static KeyMap g_theKeys;
-
-void SetKey( int key)
-{
- g_theKeys[ key >> 3] |= (1 << (key & 7));
-}
-
-void ClearKey( int key)
-{
- g_theKeys[ key >> 3] &= (0xff ^ (1 << (key & 7)));
-}
-
-void GetKeys( unsigned char theKeys[16])
-{
- memcpy( theKeys, &g_theKeys, 16);
-}*/
-
-Boolean Button()
-{
- return SDL_GetMouseState(NULL,NULL)&SDL_BUTTON(SDL_BUTTON_LEFT);
-}
-