Another checkpoint. Compiling/building/running - Python API tests from in-engine REPL are not passing, though
This commit is contained in:
parent
1e9fd77a13
commit
f23dfbe4ba
12 changed files with 127 additions and 22 deletions
|
|
@ -5,6 +5,7 @@
|
|||
#include "EntityManager.h"
|
||||
#include "Scene.h"
|
||||
#include "McRFPy_API.h"
|
||||
#include "IndexTexture.h"
|
||||
|
||||
class GameEngine
|
||||
{
|
||||
|
|
@ -16,7 +17,6 @@ class GameEngine
|
|||
bool paused = false;
|
||||
int currentFrame = 0;
|
||||
sf::View visible;
|
||||
//McRFPy_API* api;
|
||||
|
||||
public:
|
||||
GameEngine();
|
||||
|
|
@ -30,4 +30,12 @@ public:
|
|||
void sUserInput();
|
||||
int getFrame() { return currentFrame; }
|
||||
sf::View getView() { return visible; }
|
||||
|
||||
// global textures for scripts to access
|
||||
std::vector<IndexTexture> textures;
|
||||
|
||||
// global audio storage
|
||||
std::vector<sf::SoundBuffer> sfxbuffers;
|
||||
sf::Music music;
|
||||
sf::Sound sfx;
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue