Arachnoid GLESv1.1 plugin. Compile and run (a bit glitchy and no frameskip) on the...
[mupen64plus-pandora.git] / source / mupen64plus-video-arachnoid / src / m64p.h
CommitLineData
22726e4d 1/******************************************************************************
2 * Arachnoid Graphics Plugin for Mupen64Plus
3 * http://bitbucket.org/wahrhaft/mupen64plus-video-arachnoid/
4 *
5 * Copyright (C) 2009 Jon Ring
6 *
7 * This program is free software; you can redistribute it and/or
8 * modify it under the terms of the GNU General Public License
9 * as published by the Free Software Foundation; either version 2
10 * of the License, or (at your option) any later version.
11 *
12 * This program is distributed in the hope that it will be useful,
13 * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 * GNU General Public License for more details.
16 *
17 * You should have received a copy of the GNU General Public License
18 * along with this program; if not, write to the Free Software
19 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
20 *****************************************************************************/
21
22#ifndef M64P_H
23#define M64P_H
24
25#ifdef WIN32
26 #include <windows.h>
27#else
28 #include <stdlib.h>
29 #include <string.h>
30
31 #define BOOL int
32#endif
33
34#define M64P_PLUGIN_PROTOTYPES 1
35#include "m64p_types.h"
36#include "m64p_plugin.h"
37#include "m64p_config.h"
38#include "m64p_vidext.h"
39
40/* definitions of pointers to Core config functions */
41extern ptr_ConfigOpenSection ConfigOpenSection;
42extern ptr_ConfigSetParameter ConfigSetParameter;
43extern ptr_ConfigGetParameter ConfigGetParameter;
44extern ptr_ConfigGetParameterHelp ConfigGetParameterHelp;
45extern ptr_ConfigSetDefaultInt ConfigSetDefaultInt;
46extern ptr_ConfigSetDefaultFloat ConfigSetDefaultFloat;
47extern ptr_ConfigSetDefaultBool ConfigSetDefaultBool;
48extern ptr_ConfigSetDefaultString ConfigSetDefaultString;
49extern ptr_ConfigGetParamInt ConfigGetParamInt;
50extern ptr_ConfigGetParamFloat ConfigGetParamFloat;
51extern ptr_ConfigGetParamBool ConfigGetParamBool;
52extern ptr_ConfigGetParamString ConfigGetParamString;
53
54extern ptr_ConfigGetSharedDataFilepath ConfigGetSharedDataFilepath;
55extern ptr_ConfigGetUserConfigPath ConfigGetUserConfigPath;
56extern ptr_ConfigGetUserDataPath ConfigGetUserDataPath;
57extern ptr_ConfigGetUserCachePath ConfigGetUserCachePath;
58
59/* definitions of pointers to Core video extension functions */
60extern ptr_VidExt_Init CoreVideo_Init;
61extern ptr_VidExt_Quit CoreVideo_Quit;
62extern ptr_VidExt_ListFullscreenModes CoreVideo_ListFullscreenModes;
63extern ptr_VidExt_SetVideoMode CoreVideo_SetVideoMode;
64extern ptr_VidExt_SetCaption CoreVideo_SetCaption;
65extern ptr_VidExt_ToggleFullScreen CoreVideo_ToggleFullScreen;
66extern ptr_VidExt_ResizeWindow CoreVideo_ResizeWindow;
67extern ptr_VidExt_GL_GetProcAddress CoreVideo_GL_GetProcAddress;
68extern ptr_VidExt_GL_SetAttribute CoreVideo_GL_SetAttribute;
69extern ptr_VidExt_GL_SwapBuffers CoreVideo_GL_SwapBuffers;
70
71#endif