- Main Page
- Classes
- Files
- Directories
- Related Pages

# kyrabuild.h

Go to the documentation of this file.

    00001 /*--License:
    00002         Kyra Sprite Engine
    00003         Copyright Lee Thomason (Grinning Lizard Software) 2001-2005
    00004         www.grinninglizard.com/kyra
    00005         www.sourceforge.net/projects/kyra
    00006
    00007         Kyra is provided under the LGPL.
    00008
    00009         I kindly request you display a splash screen (provided in the HTML documentation)
    00010         to promote Kyra and acknowledge the software and everyone who has contributed to it,
    00011         but it is not required by the license.
    00012
    00013 --- LGPL License --
    00014
    00015     This library is free software; you can redistribute it and/or
    00016     modify it under the terms of the GNU Lesser General Public
    00017     License as published by the Free Software Foundation; either
    00018     version 2.1 of the License, or (at your option) any later version.
    00019
    00020     This library is distributed in the hope that it will be useful,
    00021     but WITHOUT ANY WARRANTY; without even the implied warranty of
    00022     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
    00023     Lesser General Public License for more details.
    00024
    00025     You should have received a copy of the GNU Lesser General Public
    00026     License along with this library; if not, write to the Free Software
    00027     Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
    00028
    00029         The full text of the license can be found in lgpl.txt
    00030 */
    00031
    00032
    00039 #ifndef KYRA_BUILD_INCLUDED
    00040 #define KYRA_BUILD_INCLUDED
    00041
    00042 // Shows the dirty rectangles.
    00043 //#define DRAWDEBUG_BLTRECTS
    00044
    00045 // Asserts if the engine draws a scaled image that isn't
    00046 // cached. Very useful if you expect everything (expect
    00047 // canvases) to be draw cached.
    00048 // #define ASSERT_IF_NOT_CACHED
    00049
    00050 const int KR_MAX_WINDOWS = 6;
    00051
    00052
    00053 #ifdef DEBUG
    00054         // Turns on a higher (and slower) level of debugging.
    00055         //      #define VALIDATE_DEBUG
    00056 #endif
    00057
    00058 // Constants to control OpenGL.
    00059 // max # of images = kKrOglDistance
    00060 //const int kKrOglDistance = 50000;
    00061
    00062 #endif
    00063