update readme.md
This commit is contained in:
@@ -21,8 +21,6 @@ InfoAppMenu::InfoAppMenu(std::shared_ptr<MenuStack> menuStack, std::shared_ptr<S
|
||||
sectionsContent(
|
||||
"This game is written in C++,\n"
|
||||
"using SFML 3 for the GUI.\n"
|
||||
"It's just a solo project made\n"
|
||||
"for fun and for polyominos.\n"
|
||||
"It has been inspired by other\n"
|
||||
"stacker games, such as\n"
|
||||
"Techmino, jstris, tetr.io, etc.\n"
|
||||
|
||||
@@ -4,20 +4,6 @@
|
||||
#include <fstream>
|
||||
|
||||
|
||||
#ifdef __JMINOS_RELEASE__
|
||||
|
||||
int main() {
|
||||
std::srand(std::time(NULL));
|
||||
|
||||
GraphApp UI;
|
||||
UI.run();
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
#else
|
||||
|
||||
void resetConfigFiles();
|
||||
void resetSettingsFile();
|
||||
void resetKeybindFile(int layout);
|
||||
|
||||
@@ -43,9 +29,6 @@ int main() {
|
||||
}
|
||||
}
|
||||
|
||||
// do this before compiling release version
|
||||
//resetConfigFiles();
|
||||
|
||||
GraphApp UI;
|
||||
UI.run();
|
||||
|
||||
@@ -53,13 +36,6 @@ int main() {
|
||||
}
|
||||
|
||||
|
||||
void resetConfigFiles() {
|
||||
resetSettingsFile;
|
||||
for (int i = 0; i < NUMBER_OF_KEYBINDS; i++) {
|
||||
resetKeybindFile(i);
|
||||
}
|
||||
}
|
||||
|
||||
void resetSettingsFile() {
|
||||
std::ofstream settingsFile("data/config/settings.bin", std::ios::trunc | std::ios::binary);
|
||||
char byte;
|
||||
@@ -183,5 +159,3 @@ void resetKeybindFile(int layout) {
|
||||
layoutFile.write(&byte, 1);
|
||||
}
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user