Mercurial > repos > blastem
comparison render.h @ 1688:395f684c5379
Fixed the most glaring issues in libretro build
author | Mike Pavone <pavone@retrodev.com> |
---|---|
date | Sun, 20 Jan 2019 16:24:22 -0800 |
parents | b500e971da75 |
children | 3a8c4ee68568 |
comparison
equal
deleted
inserted
replaced
1687:6c54bb5fe3b3 | 1688:395f684c5379 |
---|---|
4 BlastEm is free software distributed under the terms of the GNU General Public License version 3 or greater. See COPYING for full license text. | 4 BlastEm is free software distributed under the terms of the GNU General Public License version 3 or greater. See COPYING for full license text. |
5 */ | 5 */ |
6 #ifndef RENDER_H_ | 6 #ifndef RENDER_H_ |
7 #define RENDER_H_ | 7 #define RENDER_H_ |
8 | 8 |
9 //TODO: Throw an ifdef in here once there's more than one renderer | 9 #ifndef IS_LIB |
10 #include <SDL.h> | 10 #include <SDL.h> |
11 #define RENDERKEY_UP SDLK_UP | 11 #define RENDERKEY_UP SDLK_UP |
12 #define RENDERKEY_DOWN SDLK_DOWN | 12 #define RENDERKEY_DOWN SDLK_DOWN |
13 #define RENDERKEY_LEFT SDLK_LEFT | 13 #define RENDERKEY_LEFT SDLK_LEFT |
14 #define RENDERKEY_RIGHT SDLK_RIGHT | 14 #define RENDERKEY_RIGHT SDLK_RIGHT |
59 #define RENDER_DPAD_UP SDL_HAT_UP | 59 #define RENDER_DPAD_UP SDL_HAT_UP |
60 #define RENDER_DPAD_DOWN SDL_HAT_DOWN | 60 #define RENDER_DPAD_DOWN SDL_HAT_DOWN |
61 #define RENDER_DPAD_LEFT SDL_HAT_LEFT | 61 #define RENDER_DPAD_LEFT SDL_HAT_LEFT |
62 #define RENDER_DPAD_RIGHT SDL_HAT_RIGHT | 62 #define RENDER_DPAD_RIGHT SDL_HAT_RIGHT |
63 #define render_relative_mouse SDL_SetRelativeMouseMode | 63 #define render_relative_mouse SDL_SetRelativeMouseMode |
64 #endif | |
64 | 65 |
65 #define MAX_JOYSTICKS 8 | 66 #define MAX_JOYSTICKS 8 |
66 #define MAX_MICE 8 | 67 #define MAX_MICE 8 |
67 #define MAX_MOUSE_BUTTONS 8 | 68 #define MAX_MOUSE_BUTTONS 8 |
68 | 69 |