Logo Search packages:      
Sourcecode: a7xpg version File versions  Download package

SDL_types.d

/*
    SDL - Simple DirectMedia Layer
    Copyright (C) 1997, 1998, 1999, 2000, 2001  Sam Lantinga

    This library is free software; you can redistribute it and/or
    modify it under the terms of the GNU Library General Public
    License as published by the Free Software Foundation; either
    version 2 of the License, or (at your option) any later version.

    This library is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
    Library General Public License for more details.

    You should have received a copy of the GNU Library General Public
    License along with this library; if not, write to the Free
    Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA

    Sam Lantinga
    slouken@devolution.com
*/

/* General data types used by the SDL library */

/* Basic data types */
alias int SDL_bool;
enum {
      SDL_FALSE = 0,
      SDL_TRUE  = 1
}
alias ubyte Uint8;
alias byte  Sint8;
alias ushort      Uint16;
alias short Sint16;
alias uint  Uint32;
alias int         Sint32;

alias ulong Uint64;
alias long  Sint64;

/* General keyboard/mouse state definitions */
enum { SDL_PRESSED = 0x01, SDL_RELEASED = 0x00 };


Generated by  Doxygen 1.6.0   Back to index