Added basic file encryption to writeFile and readFile; Minor changes

This commit is contained in:
grayson committed 2021-08-26 13:17:29 -05:00
1 parent d74f808a17
commit bc5c17ebfb
15 files changed
+26 -29545

No files matched your search

+1 -1
View File
@@ -13,7 +13,7 @@ namespace nf {
virtual void onEnter();
virtual void update(double deltaTime);
virtual void render();
virtual void render(Renderer& renderer);
virtual void onExit();
protected:
+1 -1
View File
@@ -9,7 +9,7 @@ namespace nf {
void onEnter() override;
void update(double deltaTime) override;
void render() override;
void render(Renderer& renderer) override;
void onExit() override;
private:
+2 -2
View File
@@ -46,7 +46,7 @@ std::exit(-1);}
const wchar_t* toWide(const char* in);
const wchar_t* toWide(const std::string& in);
bool writeFile(const char* filename, const std::string& in);
std::string readFile(const char* filename);
bool writeFile(const char* filename, const std::string& in, bool encrypted = false);
std::string readFile(const char* filename, bool encrypted = false);
}