MercuryDisplayEE.h

Go to the documentation of this file.
00001 #ifndef MERCURYDISPLAYEE_H
00002 #define MERCURYDISPLAYEE_H
00003 
00004 #include "MercuryWindow.h"
00005 
00006 #if defined (WIN32)
00007 #include "Win32Window.h"
00008 #include <GL/glaux.h>
00009 #endif
00010 
00011 #include <math3d.h>
00012 
00013 #include "MercuryDisplaySoftwareC.h"
00014 #include "MercuryModel.h"
00015 #include "MercuryMath.h"
00016 
00018 class MercuryDisplayEE : public MercuryDisplaySoftwareC
00019 {
00020 public:
00021     MercuryDisplayEE();
00022     virtual void DrawNoGeometry(const MercuryMesh& mesh, DRAWTYPES drawtype);
00023 protected:
00024     virtual void InternalDrawPoly( const InternalPoint * points, int verts = 3, int mode = 0 );
00025     MATRIX current_matrix;
00026     unsigned int m_pixelFormat;
00027 };
00028 
00029 #endif
00030 
00031 /* 
00032  * Copyright (c) 2005-2006, Joshua Allen, Charles Lohr
00033  * All rights reserved.
00034  *
00035  * Redistribution and use in source and binary forms, with or
00036  * without modification, are permitted provided that the following
00037  * conditions are met:
00038  *  -   Redistributions of source code must retain the above
00039  *      copyright notice, this list of conditions and the following disclaimer.
00040  *  -   Redistributions in binary form must reproduce the above copyright
00041  *      notice, this list of conditions and the following disclaimer in
00042  *      the documentation and/or other materials provided with the distribution.
00043  *  -   Neither the name of the Mercury Engine nor the names of its
00044  *      contributors may be used to endorse or promote products derived from
00045  *      this software without specific prior written permission.
00046  *
00047  * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
00048  * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
00049  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
00050  * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE
00051  * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
00052  * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
00053  * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
00054  * CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
00055  * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE
00056  * USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
00057  */

Hosted by SourceForge.net Logo