HDNes/Rewrite/emu/gameFile.h
2016-10-14 18:19:05 +08:00

36 lines
717 B
C++

#ifndef GAMEFILE_H
#define GAMEFILE_H
#include "../classList.h"
#include "emuPart.h"
class gameFile : public emuPart{
public:
//variables
string romPath;
int currentStateSlot;
int lastSavedSlot;
bool rotateState;
bool overwriteBat;
//functions
gameFile();
virtual ~gameFile();
string partName();
void saveConfigLines(fstream* fs);
void saveGameConfigLines(fstream* fs);
void loadConfigVal(const string& hdr, const string& value);
void initGameConfig();
void startGame();
void endGame();
protected:
private:
};
#endif // GAMEFILE_H