blob: 6359fda7c5f7f90716026549a3730a453f51c23a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
|
#ifndef SAVEDIT_H
#define SAVEDIT_H
#include <iostream>
#include <vector>
class SavEdit
{
public:
SavEdit();
void open();
void read();
void save(std::string fname);
std::string getFilename();
void setFilename(std::string fname);
void backup();
int checksum();
int convert(char given);
void modMem(int offset, char val);
void saveNewFile();
void setLang(int i);
void greeting();
void languageForm();
void textOT();
void modify(const int BEGIN, const int END);
void cashModify();
bool select();
void clear();
void debug();
void displayItems();
void printMovelist();
int selectStat();
void modMainMenu();
void modStats(int, int, int);
private:
std::string filename;
std::vector<int> mem;
enum language{en_US=0, ie_gle=1, ja_jp=2};
int lang;
int m_changes = 0;
};
#endif
|