git-svn-id: https://svn.eduke32.com/eduke32@681 1a8010ca-5511-0410-912e-c29ae57300e0

This commit is contained in:
terminx 2008-04-01 22:28:42 +00:00
parent 51fdffe93e
commit d9500e18e0
4 changed files with 48 additions and 2 deletions

View file

@ -18,6 +18,8 @@
//#include <GL/glext.h> //#include <GL/glext.h>
#if defined(__APPLE__) #if defined(__APPLE__)
# include <OpenGL/glext.h> # include <OpenGL/glext.h>
#elif defined(_MSC_VER)
# include "glext.h"
#else #else
# include "GL/glext.h" # include "GL/glext.h"
#endif #endif

View file

@ -2430,8 +2430,6 @@ int setpalette(int start, int num, char *dapal)
RGBQUAD *rgb; RGBQUAD *rgb;
//HPALETTE hPalPrev; //HPALETTE hPalPrev;
UNREFERENCED_PARAMETER(dapal);
struct logpal struct logpal
{ {
WORD palVersion; WORD palVersion;
@ -2439,6 +2437,8 @@ int setpalette(int start, int num, char *dapal)
PALETTEENTRY palPalEntry[256]; PALETTEENTRY palPalEntry[256];
} lpal; } lpal;
UNREFERENCED_PARAMETER(dapal);
copybuf(curpalettefaded, lpal.palPalEntry, 256); copybuf(curpalettefaded, lpal.palPalEntry, 256);
for (i=start, n=num; n>0; i++, n--) for (i=start, n=num; n>0; i++, n--)

View file

@ -1,3 +1,25 @@
//-------------------------------------------------------------------------
/*
Copyright (C) 2008 - EDuke32 developers
This file is part of EDuke32
EDuke32 is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License version 2
as published by the Free Software Foundation.
This program 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 General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*/
//-------------------------------------------------------------------------
#ifdef _WIN32 #ifdef _WIN32
#include "dsound.h" #include "dsound.h"
#endif #endif

View file

@ -1,3 +1,25 @@
//-------------------------------------------------------------------------
/*
Copyright (C) 2008 - EDuke32 developers
This file is part of EDuke32
EDuke32 is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License version 2
as published by the Free Software Foundation.
This program 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 General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*/
//-------------------------------------------------------------------------
#ifndef __OPENAL_H #ifndef __OPENAL_H
#define __OPENAL_H #define __OPENAL_H