Moved SFML vars to main file
This commit is contained in:
parent
80dfbb3d0a
commit
945f5e679c
@ -8,7 +8,6 @@
|
|||||||
#include <SFML/Graphics.h>
|
#include <SFML/Graphics.h>
|
||||||
#include <SFML/Window.h>
|
#include <SFML/Window.h>
|
||||||
|
|
||||||
#include "ls7emulator.h"
|
|
||||||
#include "config.h"
|
#include "config.h"
|
||||||
#include "events.c"
|
#include "events.c"
|
||||||
#include "cpu.c"
|
#include "cpu.c"
|
||||||
@ -17,6 +16,10 @@
|
|||||||
#include "keyboard.c"
|
#include "keyboard.c"
|
||||||
|
|
||||||
|
|
||||||
|
sfVertexArray *renderArray;
|
||||||
|
sfRenderWindow *window;
|
||||||
|
sfRenderStates renderStates;
|
||||||
|
|
||||||
|
|
||||||
void openFile(const char *inputFile){
|
void openFile(const char *inputFile){
|
||||||
FILE *file = fopen(inputFile, "rb");
|
FILE *file = fopen(inputFile, "rb");
|
||||||
|
Loading…
Reference in New Issue
Block a user