1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70
|
unit SDL_types;
{ Automatically converted by H2PAS.EXE from SDL_types.h
Utility made by Florian Klaempfl 25th-28th september 96
Improvements made by Mark A. Malakanov 22nd-25th may 97
Further improvements by Michael Van Canneyt, April 1998
define handling and error recovery by Pierre Muller, June 1998 }
{ ***Edited by Daniel F Moisset, dmoisset@grulic.org.ar*** }
interface
{ C default packing is dword }
{$PACKRECORDS 4}
{
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 }
{
/* The number of elements in a table */
#define SDL_TABLESIZE(table) (sizeof(table)/sizeof(table[0]))
}
{ Basic data types }
type
Uint8 = byte;
Sint8 = shortint;
Uint16 = word;
Sint16 = SmallInt;
Uint32 = cardinal;
Sint32 = Longint;
Uint64 = record
hi, lo: Uint32 ;
end ;
SDL_Bool = LongBool ;
{ General keyboard/mouse state definitions }
const
SDL_PRESSED = 1 ;
SDL_RELEASED = 0;
implementation
end.
|