2020-03-31 18:55:57 +02:00
|
|
|
#ifndef EMULATOR_GLOBALS_H
|
|
|
|
#define EMULATOR_GLOBALS_H
|
|
|
|
|
|
|
|
#include <SDL_gamecontroller.h>
|
2020-03-31 19:09:22 +02:00
|
|
|
#include <EMULATOR.H>
|
2020-03-31 18:55:57 +02:00
|
|
|
|
|
|
|
#if defined(D3D9)
|
|
|
|
extern LPDIRECT3DVERTEXBUFFER9 g_vertexBufferObject;
|
2020-03-31 19:09:22 +02:00
|
|
|
#endif
|
|
|
|
|
2020-04-23 09:25:56 +02:00
|
|
|
|
2020-03-31 19:09:22 +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
|