mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-12-24 10:40:46 +00:00
git-svn-id: https://svn.eduke32.com/eduke32@681 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
parent
51fdffe93e
commit
d9500e18e0
4 changed files with 48 additions and 2 deletions
|
@ -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
|
||||||
|
|
|
@ -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--)
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue