REDRIVER2/src_rebuild/EMULATOR/EMULATOR_GLOBALS.H

30 lines
685 B
C++
Raw Normal View History

2020-03-31 18:55:57 +02:00
#ifndef EMULATOR_GLOBALS_H
#define EMULATOR_GLOBALS_H
#include <SDL_gamecontroller.h>
#include <EMULATOR.H>
2020-03-31 18:55:57 +02:00
#if defined(D3D9)
extern LPDIRECT3DVERTEXBUFFER9 g_vertexBufferObject;
#endif
2020-04-23 09:25:56 +02:00
extern TextureID whiteTexture;
extern TextureID vramTexture;
2020-03-31 18:55:57 +02:00
extern int screenWidth;
extern int screenHeight;
extern int windowWidth;
extern int windowHeight;
extern uint32_t DMAControlRegister;
extern int assetsLoaded;
2020-04-03 00:42:41 +02:00
extern int g_emulatorPaused;
extern int g_polygonSelected;
2020-03-31 18:55:57 +02:00
extern unsigned short UpdateGameControllerInput(SDL_GameController* pad);
extern unsigned short UpdateKeyboardInput();
extern SDL_GameController* padHandle[];
extern unsigned char* padData[];
#endif