Main Page | Alphabetical List | Data Structures | File List | Data Fields | Globals

agl.h

Go to the documentation of this file.
00001 
00002 /*
00003      ______     __                     ___     __
00004     /\  _  \   /\ \                   /\_ \   /\_\
00005     \ \ \_\ \  \ \ \      __     ___  \//\ \  \/_/_
00006      \ \  __ \ `/__ \   /'__`\  / __`\  \ \ \   /\ \
00007       \ \ \/\ \/\\_\ \_/\ \_\ \/\ \_\ \_ \_\ \_ \_\ \_
00008        \ \_\ \_\ \_____\ \___\ \ \______\/\____\/\____\
00009         \/_/\/_/\/_____/\/___L\ \/______/\/____/\/____/
00010                           /\____/
00011                           \_/__/
00012 
00013 
00014 
00015 
00016                   An advanced game library
00017 
00018                  (c) Stephane APIOU 2003
00019 
00020 
00021     This program is free software; you can redistribute it and/or modify
00022     it under the terms of the GNU General Public License as published by
00023     the Free Software Foundation; either version 2 of the License, or
00024     (at your option) any later version.
00025 
00026     This program is distributed in the hope that it will be useful,
00027     but WITHOUT ANY WARRANTY; without even the implied warranty of
00028     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00029     GNU General Public License for more details.
00030 
00031     You should have received a copy of the GNU General Public License
00032     along with this program; if not, write to the Free Software
00033     Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
00034 
00035 
00036 
00037 */
00038 
00046 #ifndef _adgali_h
00047 #define _adgali_h
00048 
00049 
00050 /* Set up for C function definitions, even when using C++ */
00051 #ifdef __cplusplus
00052 extern "C"
00053 {
00054 #endif
00055 
00056 #ifndef _AGL_PRIVATE
00057 
00058         typedef void *agl_handle;
00059 
00060 #endif
00061 
00062 /* initialization */
00063 
00064         extern int agl_init(agl_handle *);
00065         extern int agl_exit(agl_handle);
00066 
00067 /* errors management */
00068 
00069 #ifndef agl_assert
00070 #define agl_assert(expr)        ((void)0)
00071 #endif
00072 
00073         extern char *agl_geterror(void);
00074         extern char *agl_getlasterror(void);
00075 
00076 #include "agl_endian.h"
00077 #include "agl_object.h"
00078 #include "agl_ios.h"
00079 #include "agl_video.h"
00080 #include "agl_gui.h"
00081 
00082         extern int agl_sublayerblit(agl_handle handle, agl_pix * pix, agl_rect * srcrect, agl_rect * dstrect, agl_pos * pos);
00083 
00084 /* Ends C function definitions when using C++ */
00085 #ifdef __cplusplus
00086 };
00087 #endif
00088 
00089 #endif /* _agl_h */

Doc generated at 1 Jul 2003 for, adgali 0.2.3 written by Stephane APIOU, © 2001 Generated by doxygen 1.3.2 ,